Re: some operations very slow
Dave Plater <[email protected]> Wed, 11 May 2011 20:33:02 +0200
| Newsgroups | gmane.linux.suse.multimedia |
|---|---|
| Message-ID | <[email protected]> |
On 05/11/2011 06:05 PM, jdd wrote:
> Le 11/05/2011 17:57, Dave Plater a écrit :
>
>> When you create the dvd the log states what is happening and the
>> program that's used to do it. You can start it from the command line :
>> "dvdstyler -e" and it will write the log to standard error which can
>> be copied.
>
> here is the log just before the crash -(entry001.vob is empty):
>
> Transcodage�/ remultiplexage
> Add file to cache:/home/jdd/data/temp-data//dvd-cache/entry001.vob
> Transcodage du fichier vid�o�:/home/jdd/data/multimedia/videos-perso/jdd/dvd_2011/20110507-bapteme/dvd/00012.mpg
> Need encode: true, use mplex: false
> max_analyze_duration reached
> Input #0, mpeg, from '/home/jdd/data/multimedia/videos-perso/jdd/dvd_2011/20110507-bapteme/dvd/00012.mpg':
> Duration: 00:00:28.28, start: 1.000000, bitrate: 6476 kb/s
> Stream #0.0[0x1e0]: Video: mpeg2video (Main), yuv420p, 720x576 [PAR 64:45 DAR 16:9], 9000 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc
> Stream #0.1[0x80]: Audio: ac3, 48000 Hz, stereo, s16, 448 kb/s
> Invalid packet size 4
> Could not write header for output file #0 (incorrect codec parameters ?)
> Output #0, dvd, to '/home/jdd/data/temp-data//dvd-cache/entry001.vob':
> Metadata:
> encoder : Lavf52.108.0
> Stream #0.0: Video: mpeg2video, yuv420p, 720x576 [PAR 64:45 DAR 16:9], q=2-31, 8000 kb/s, 90k tbn, 25 tbc
> Stream #0.1: Audio: ac3, 48000 Hz, stereo, 448 kb/s
> Stream mapping:
> Stream #0.0 -> #0.0
> Stream #0.1 -> #0.1
>
> Erreur de segmentation
>
> thanks
> jdd
Well I tried a couple of small avi's and got an ffmpeg segfault which makes me think that dvdstyler is doing something to provoke it.
DVDStyler v1.8.2.1
Linux 2.6.38.5-25-desktop x86_64
FFmpeg: libavformat 52.104.0, libavcodec 52.117.0, libavutil 50.39.0
Prepare
Cleaning temporary directory
Search for transcoded files in cache
Generating menus
Generating menu 1 of 1
Prepare
Create menu mpeg
Output #0, dvd, to '/tmp/dvd-tmp/menu1-0.mpg_bg.mpg':
Stream #0.0: Video: mpeg2video, yuv420p, 720x576 [PAR 64:45 DAR 16:9], q=2-31, 6000 kb/s, 90k tbn, 25 tbc
Stream #0.1: Audio: ac3, 48000 Hz, 2 channels, 64 kb/s
[ac3 @ 0x1234120] Specified sample_fmt is not supported.
[mpeg2video @ 0x18d7e50] rc buffer underflow
Segmentation fault
I'll run it through a debugger and see what's going on and maybe I can make ffmpeg do it from the command line. I was confused about the
menu part but now I remember that the images for the menu have to be converted to the same format as the video. I used a plain button with
no background. I also have a different version of DVDStyler installed. Are your menus stock dvdstyler or do you use your own creations also
the background format is important. I'll try a video menu but I suspect that it won't segfault. My instinct says that it's libavformat
that's seg faulting and it's either getting overloaded with tasks or it's choking on the menu formats. I have a home built new dvdauthor
but dvdauthor is not in the picture and I've just checked and I still have a home built cpu optimized ffmpeg and libs
ffmpeg-0.6.201103092102git-1 and I've used it extensively since I built it from the latest git. I think the first thing to do is build
another from today's git check out. I've had some mplayer problems where I suspect it caused a bug with libpulse or something related. I
normally have pulse audio turned off but suddenly Thunderbird and Firefox started crashing when I right clicked or selected a menu or
certain tool bar items. With pulse audio turned on everything works a really difficult bug to track down, I originally filed a bug against
tbird and ffox but when I got a debugger on it, it turned out to be libpulse crashing.
Dave P