Alain Lemerre | 4 Aug 2010 22:02
Picon

Changes in FFmeg. Export scripts would need to be fixed

Hi everybody,

I have installed the last svn of FFmeg and there is some changes that cause Kino not to detect the right installed codecs.

The installed codecs are detected using ffmpeg -formats. But FFmpeg version SVN-r24648 give information about codecs with ffmpeg -codecs and not ffmpeg -formats

So, in Kino exports scripts, ffmpeg -formats need to be changed with ffmpeg -codecs

For example:

current: aac=`ffmpeg -formats 2> /dev/null | egrep "(Encoders:)|(.*EA.*aac)" | grep aac | wc -l`

correct version: aac=`ffmpeg -codecs 2> /dev/null | egrep "(Encoders:)|(.*EA.*aac)" | grep aac | wc -l`

Regards,

Alain

------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
Kino-dev mailing list
Kino-dev <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kino-dev
Gene Heskett | 5 Aug 2010 12:25
Picon

Re: Changes in FFmeg. Export scripts would need to be fixed

On Thursday, August 05, 2010 06:23:04 am Alain Lemerre did opine:

> Hi everybody,
> 
> I have installed the last svn of FFmeg and there is some changes that
> cause Kino not to detect the right installed codecs.
> 
> The installed codecs are detected using ffmpeg -formats. But FFmpeg
> version SVN-r24648 give information about codecs with ffmpeg -codecs
> and not ffmpeg -formats
> 
> So, in Kino exports scripts, ffmpeg -formats need to be changed with
> ffmpeg -codecs
> 
> For example:
> 
> current: aac=`ffmpeg -formats 2> /dev/null | egrep
> "(Encoders:)|(.*EA.*aac)"
> 
> | grep aac | wc -l`
> 
> correct version: aac=`ffmpeg -codecs 2> /dev/null | egrep
> "(Encoders:)|(.*EA.*aac)" | grep aac | wc -l`
> 
> Regards,
> 
> Alain

I see there are at least a dozen cases of this in 
/usr/share/kino/scripts/exports

I assume when ffmpeg gets updated again, these edits will be required?

Thanks Alain.

--

-- 
Cheers, Gene
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Yow!  Is my fallout shelter termite proof?

------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
Travis Larson | 9 Aug 2010 22:26
Picon
Gravatar

Capture - dropped frames, SATA drives, CPU fine

I'm getting dropped frames from both Digital8 & MiniDV camcorders. My
CPU doesn't seem to be spiking. I've made sure compiz is disabled and
no memory/cpu hungry apps are running. I'm using SATA drives so DMA
shouldn't be the issue.

The video and audio that is captured seems to be fine.

I'm not sure what else would be causing the problem. I would
appreciate it if someone could point me in the right direction.

Thanks!
Travis

Hardware info:

CPU - AMD 64 FX-55 Processor
Mobo -  GA-K8NXP-SLI
01:07.0 FireWire (IEEE 1394): Texas Instruments TSB12LV23 IEEE-1394 Controller
01:0a.0 FireWire (IEEE 1394): Texas Instruments TSB82AA2 IEEE-1394b
Link Layer Controller (rev 01)

------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
Johannes Jahnel | 12 Aug 2010 09:26
Picon

Kino problem / bug - trying to sign up

Hello,

I would like to post a problem I am having with Kino on the forum or to 
report that problem as a bug. How can I sign up?

Johannes

------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
Dan Dennedy | 12 Aug 2010 19:49
Favicon

Re: Kino problem / bug - trying to sign up

On Thu, Aug 12, 2010 at 12:26 AM, Johannes Jahnel <j.jahnel <at> web.de> wrote:
> Hello,
>
> I would like to post a problem I am having with Kino on the forum or to
> report that problem as a bug. How can I sign up?
>
> Johannes

The forums are closed due to low activity and my unwillingness to
continue moderation. I did not like the idea of leaving open a place
for people to ask questions when I know they would not get answered.

As for bug, there is a bug tracker on SourceForge. Kino is no longer
maintained, however. You are best off to figure out how to live with
it, fix it yourself, or workaround it. Feel free to ask your question
here though. Sometimes, we respond.

--

-- 
+-DRD-+

------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
Johannes Jahnel | 13 Aug 2010 08:41
Picon

Kino problem: Playback speed when making changes

Thank you Dan, for inviting me to ask my question. Here it comes:

I am using Kino under Ubuntu Studio 10.04 and whenever I try to make any 
changes on my movies or even just try to play a movie from somewhere in 
the middle, when I click on "play" the playback speed is way too high.

If I save changes then and restart Kino, I can play the movie back 
normally again - but only from the beginning. If I start from somewhere 
in the middle, the playback speed is too high again.

I would highly appreciate any ideas/suggestions.

Thanks,

Johannes

------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
Dan Dennedy | 14 Aug 2010 07:51
Favicon

Re: Kino problem: Playback speed when making changes

On Thu, Aug 12, 2010 at 11:41 PM, Johannes Jahnel <j.jahnel <at> web.de> wrote:
> Thank you Dan, for inviting me to ask my question. Here it comes:
>
> I am using Kino under Ubuntu Studio 10.04 and whenever I try to make any
> changes on my movies or even just try to play a movie from somewhere in
> the middle, when I click on "play" the playback speed is way too high.
>
> If I save changes then and restart Kino, I can play the movie back
> normally again - but only from the beginning. If I start from somewhere
> in the middle, the playback speed is too high again.
>
> I would highly appreciate any ideas/suggestions.

I did some testing on KXStudio, which has a complex pulse, jack, and
alsa setup. However, I turned off and reconfigured things to simplify
and try out different scenarios. For me, the ALSA output (Kino
preferences audio device = 'default' or other pcm) seems to always
misbehave now. It will play ~600 frames very quickly and then start
playing normal. It makes no difference if pulseaudio is running or not
or if I use pasuspender. Jack was not running, but when it is Kino
will deadlock.

When I set Kino preferences audio device = '/dev/dsp' then it works
whether pulseaudio is running or not. In this mode, it is using the
ALSA OSS emulation modules. 'padsp kino' does not succeed to route the
audio through pulseaudio. It might be that some hardware/drivers
permit multiple apps to open the audio device and others not. If
multiple opens is not supported, then this will probably not work
without stopping pulseaudio ('pulseaudio --kill', 'pulseaudio --start'
to restart) or perhaps using pasuspender ('pasuspender -- kino').

--

-- 
+-DRD-+

------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
Dan Dennedy | 14 Aug 2010 10:11
Favicon

Re: Kino problem: playback speed after making changes

On Sat, Aug 14, 2010 at 12:05 AM, Johannes Jahnel <j.jahnel <at> web.de> wrote:
> Dear Dan,
>
> thank you so much for your help!
>
> My audio preferences are actually set to /dev/dsp already.

Did you try 'default' as well as 'front' for ALSA output instead of OSS?

> I tried stopping and restarting pulseaudio - which unfortunately didn't make
> a difference.

Did you run Kino while it was stopped, before restarting? The restart
command was a hint on how to restore it.

> Pasuspender didn't allow me to use the flag --kino; so I tried pasuspender

There is supposed to be a space between -- and kino. man pasuspender.
If it works, this would only help.

> --server=kino and pasuspender -s kino but each time I simply got an output
> with all the options of pasuspender and no changed in Kino. I tried both
> commands with Kino running and without it but the problem still persists.
>
> I even tried running Jack in the background which just made the problem
> worse: Now the playback was too fast all the time.
>
> Is there something else that could be changed in the audio setup to make
> this work?
>
> Thanks again,
>
> Johannes
>
> Am 13.08.2010 23:34, schrieb Dan Dennedy:
>>
>> In the Audio Preferences, try changing the device to "default" and see
>> if it helps.
>>
>> On Thu, Aug 12, 2010 at 11:42 PM, Johannes Jahnel<j.jahnel <at> web.de>  wrote:
>>
>>>
>>> Thank you Dan, for inviting me to ask my question. Here it comes:
>>>
>>> I am using Kino under Ubuntu Studio 10.04 and whenever I try to make any
>>> changes on my movies or even just try to play a movie from somewhere in
>>> the
>>> middle, when I click on "play" the playback speed is way too high.
>>>
>>> If I save changes then and restart Kino, I can play the movie back
>>> normally
>>> again - but only from the beginning. If I start from somewhere in the
>>> middle, the playback speed is too high again.
>>>
>>> I would highly appreciate any ideas/suggestions.
>>>
>>> Thanks,
>>>
>>> Johannes
>>>
>>>
>>
>>
>
>

--

-- 
+-DRD-+

------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
Atte André Jensen | 17 Aug 2010 13:29
Picon

jerky movements with .MTS files

Hi

I know next to nothing about video but was pleased to find that I could 
easily edit the files of my canon hf200 into a "real movie" with kino. I 
then made a DVD with mandvd, but watching the result on my 42" HD LCD tv 
was quite a disappointment, unfortunately. When there's movement in the 
video, it's quite jerly, like the movement goes a bit in the right 
direction, a tiny bit back, a bit in the right direction, a tiny bit 
back and so on. It's doesn't look like camera shake, esp since 1) the 
camera has image stabilizer and 2) the videos play back just great with 
the camera connected directly to the tv via hdmi.

Although the result seems worse on the final dvd on the tv, there seems 
to be already traces of the problem in the .MTS.dv files made by kino 
upon import. This leads me to believe that the problem is in fact in the 
import process, handled by /usr/share/kino/scripts/import/media.sh. I 
looked and it seems that media.sh converts the video to either 25 fps or 
30000/1001 fps. I looked in the camera menus and the camera is set to it 
default frame rate of 50i, setting it to "pf25" (I asume this means 
non-interlaced 25 fps). A quick test suggests that setting this to 
"pf25" gets rid of the problem, but that was a really quick test, so...

In any case, it doesn't help with my 400+ files already recorded on 50i. 
So, I'm looking for any advice on how to get rid of this annoying 
problem. Any thoughts or anything I should try? I could mail a 
problematic .MTS file, it that would help in tracking down the problem.

NB: I noticed that when exporting the video (at least with "YUV 
film-like") kino outputs "Stream is interlaced, bottom-field-first" in 
the terminal, dunno if this information is relevant... However using 
"YUV film-like" when exporting (to mpeg/0-DVD) doesn't remove the 
problem on the resulting dvd :-(

Any input would be highly appreciated!

--

-- 
Atte

http://atte.dk   http://modlys.dk

------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
Dan Dennedy | 17 Aug 2010 19:25
Favicon

Re: jerky movements with .MTS files

On Tue, Aug 17, 2010 at 4:29 AM, Atte André Jensen <atte <at> email.dk> wrote:
> Hi
>
> I know next to nothing about video but was pleased to find that I could
> easily edit the files of my canon hf200 into a "real movie" with kino. I
> then made a DVD with mandvd, but watching the result on my 42" HD LCD tv
> was quite a disappointment, unfortunately. When there's movement in the
> video, it's quite jerly, like the movement goes a bit in the right
> direction, a tiny bit back, a bit in the right direction, a tiny bit
> back and so on. It's doesn't look like camera shake, esp since 1) the

You very well described incorrect field order in interlaced output.

> camera has image stabilizer and 2) the videos play back just great with
> the camera connected directly to the tv via hdmi.
>
> Although the result seems worse on the final dvd on the tv, there seems
> to be already traces of the problem in the .MTS.dv files made by kino
> upon import. This leads me to believe that the problem is in fact in the
> import process, handled by /usr/share/kino/scripts/import/media.sh. I

The import script makes no attempt to properly handle field order and
transcode with interlace signaling in tact. In fact, since you are
scaling down the video resolution, you do not want to mix interlace
fields during scaling interpolation.

> looked and it seems that media.sh converts the video to either 25 fps or
> 30000/1001 fps. I looked in the camera menus and the camera is set to it
> default frame rate of 50i, setting it to "pf25" (I asume this means
> non-interlaced 25 fps). A quick test suggests that setting this to
> "pf25" gets rid of the problem, but that was a really quick test, so...
>
> In any case, it doesn't help with my 400+ files already recorded on 50i.
> So, I'm looking for any advice on how to get rid of this annoying
> problem. Any thoughts or anything I should try? I could mail a
> problematic .MTS file, it that would help in tracking down the problem.

Edit media.sh. It takes one of 2 routes based on whether you have
mencoder in your path or not. If mencoder is available, then you need
to lookup mencoder options. You then need to decide whether to
deinterlace or find a field-aware scaler in mencoder (does it have
one?). If it has one, then you would also add interlaced-dct and
-motion-compensation (ildct, ilme) flags to the ffmpeg command.
However, there is still another aspect to consider: field order. There
are raw pipes used between mencoder and ffmpeg, so field order
signaling is lost. You would need to make sure it comes out of
mencoder as bottom-field-first as DV is bottom-first. If mencoder is
not available, then ffmpeg lacks many of the options you need like a
good deinterlacer, field-aware scaler, and field-order correction.

With that said, nearly all of that is automatic and built into MLT,
which is the backend to Kdenlive and OpenShot. The one thing it does
not have is a field-aware scaler. Instead, it will coerce a
deinterlace since you are changing the vertical resolution. For PAL,
the following would work:

$ melt some.mts -consumer avformat:some.dv pix_fmt=yuv420p

Another thing to consider is using Avidemux or gmerlin to transcode
and process your files instead of letting import try to do the work.

> NB: I noticed that when exporting the video (at least with "YUV
> film-like") kino outputs "Stream is interlaced, bottom-field-first" in
> the terminal, dunno if this information is relevant... However using
> "YUV film-like" when exporting (to mpeg/0-DVD) doesn't remove the
> problem on the resulting dvd :-(
>
> Any input would be highly appreciated!
>
> --
> Atte
>
> http://atte.dk   http://modlys.dk
>

--

-- 
+-DRD-+

------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 

Gmane