Problem with the latest ffmpeg from nerim.net
Hi, Christian:
I've been using the nerim.net repository ever since I started to use
Debian long time ago, and had never had any problem before.
I was happy to find out that the transcode and ffmpeg all updated to the
latest version recently, however, I found that the latest ffmpeg package
is unusable -- it causes problem in many aspects.
The ffmpeg that I'm talking about is:
ffmpeg version CVS, build 3277056, Copyright (c) 2000-2004 Fabrice Bellard
configuration: --prefix=/usr --libdir=${prefix}/lib --enable-shared --enable-mp3lame --enable-gpl --enable-faad --mandir=${prefix}/share/man --enable-vorbis --enable-pthreads --enable-faac --enable-xvid --enable-dts --enable-amr_nb --enable-amr_wb --enable-pp --enable-shared-pp --enable-libogg --enable-a52 --enable-a52bin --enable-x264 --enable-theora
built on Dec 30 2005 15:07:33, gcc: 3.3.5 (Debian 1:3.3.5-13)
First of all, the -target dvd can't be used any more. I have to specify
-target pal-dvd or -target ntsc-dvd explicitly. Yeah this is not a big
deal, but IIRC, it worked before.
Secondly, -target xxx-dvd can't produced the correct DVD format any
more. This is the biggest problem of all:
$ ffmpeg -i "test-src.avi" -y -target pal-dvd -r 25.000 "test-src.mpg"
$ tcprobe -i test-src.mpg
[tcprobe] MPEG program stream (PS)
[tcprobe] summary for test-src.mpg, (*) = not default, 0 = not detected
import frame size: -g 720x576 [720x576]
aspect ratio: 2.21:1 (*)
frame rate: -f 25.000 [25.000] frc=3
PTS=0.5000, frame_time=40 ms, bitrate=9000 kbps
audio track: -a 0 [0] -e 48000,16,2 [48000,16,2] -n 0x2000 [0x2000]
PTS=0.5000, bitrate=448 kbps
-D 0 --av_fine_ms 0 (frames & ms) [0] [0]
The result, although sized at 720x576, is even wider than my 1024 screen
when played on my PC, with no top/bottom black bars. The generated mpeg file
cause problem with dvdauthor:
$ dvdauthor -o dvdauth -t test-src.mpg
WARN: unknown mpeg2 aspect ratio 4
[...]
WARN: unknown mpeg2 aspect ratio 4
The dvdauthor result has distorted aspect.
Thirdly, it does not work with transcode properly. The following is the
correspondents between Erik Slagter and me:
,-----
| > >> [transcode] V: decoding fps,frc | 23.976,1 [transcode] V: encoding
| > >> fps,frc | 23.976,1 [mpeg2video @ 0xb5d2c110]removing common factors
| > >> from framerate [mpeg2video @ 0xb5d2c110]MPEG1/2 does not support
| > >> 2997/125 fps [export_ffmpeg.so] could not open FFMPEG codec
| > >
| > >> what's wrong?
| > >
| > > Looks like a bug in transcode. [...]
| > >
| > > What happens if you specify import and/or export frame rates
| > > explicitly on the command line?
| >
| > hmm, I don't know how to do it correctly. I've tried all the following,
| > all of them yield the same error:
| >
| > transcode -i test-src.avi -f 1 -y ffmpeg,ffmpeg --export_prof dvd -o
| > test-out-ffmpeg transcode -i test-src.avi -f 23.976,1 -y ffmpeg,ffmpeg
| > --export_prof dvd -o test-out-ffmpeg transcode -i test-src.avi -f
| > 24000/1001.0,1 -y ffmpeg,ffmpeg --export_prof dvd -o test-out-ffmpeg
| > transcode -i test-src.avi -f 24000/1001,1 -y ffmpeg,ffmpeg --export_prof
| > dvd -o test-out-ffmpeg transcode -i test-src.avi -f 24000/1001,1 -y
| > ffmpeg,ffmpeg --export_prof dvd --export_fps 24000/1001,1 -o
| > test-out-ffmpeg
|
| In that case I am afraid someone will have to dig into the
| transcode/ffmpeg source code.
`-----
Forth, the ffplay can't work with .vob files, it used to work before:
$ ffplay VTS_01_1.VOB
Fatal signal: Segmentation Fault (SDL Parachute Deployed)
Lastly, I also get "Segmentation Fault" when I try to get clip images from
mpeg file:
$ ffmpeg -ss 0:0:23 -t 1 -i test-out.mpg out.png
ffmpeg version CVS, build 3277056, Copyright (c) 2000-2004 Fabrice Bellard
configuration: --prefix=/usr --libdir=${prefix}/lib --enable-shared --enable-mp3lame --enable-gpl --enable-faad --mandir=${prefix}/share/man --enable-vorbis --enable-pthreads --enable-faac --enable-xvid --enable-dts --enable-amr_nb --enable-amr_wb --enable-pp --enable-shared-pp --enable-libogg --enable-a52 --enable-a52bin --enable-x264 --enable-theora
built on Dec 30 2005 15:07:33, gcc: 3.3.5 (Debian 1:3.3.5-13)
Segmentation fault
Could you use a newer one, or the cvs20050918-5 one that is current in
testing/unstable?
thanks a lot
tong
Reply to: