transcode: can't encode using ffmpeg's h264
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
transcode (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: transcode
When I try to encode a DVD with DVD:RIP by choosing ffmpeg/h264 in transcode I receive the following error:
Output: transcode v1.0.2 (C) 2001-2003 Thomas Oestreich, 2003-2004 T. Bitterberg
[transcode] (probe) suggested AV correction -D 0 (0 ms) | AV -31 ms | -31 ms
[transcode] auto-probing source /home/adrian/
[transcode] V: import format | MPEG-2 (V=vob|A=vob)
[transcode] V: AV demux/sync | (1) sync AV at initial MPEG sequence
[transcode] V: import frame | 720x576 1.25:1 encoded @ 16:9
[transcode] V: new aspect ratio | 1024x576 1.78:1 (-X)
[transcode] V: clip frame (->) | 608x480
[transcode] V: bits/pixel | 0.143 (low)
[transcode] V: decoding fps,frc | 25.000,0
[transcode] V: Y'CbCr | YV12/I420
[transcode] A: import format | 0x2000 AC3 [48000,16,3] 192 kbps
[transcode] A: downmix | 3 channels -> 2 channels
[transcode] A: export format | 0x55 MPEG layer-3 [48000,16,2] 128 kbps
[transcode] V: encoding fps,frc | 25.000,3
[transcode] A: bytes per frame | 7680 (7680.000000)
[transcode] A: adjustment | 0@1000
[transcode] A: rescale stream | 2.083
[transcode] A: AV shift | -31 tc_memcpy: using sse for memcpy
[import_vob.so] v0.6.0 (2003-10-02) (video) MPEG-2 | (audio) MPEG/AC3/PCM | (subtitle)
Xv: NV17 Video Texture: ports 280 - 311
Xv: grabbed port 280
Using Xv for display
[export_ffmpeg.so] v0.3.13 (2004-08-03) (video) Lavc1d.51.38.0 | (audio) MPEG/AC3/PCM
[export_ffmpeg.so] Could not find a FFMPEG codec for 'h264'.
[transcode] warning : (encoder.c) video export module error: init failed
ms [ 0 (A) | -31 ms ]
[transcode] V: IA32/AMD64 accel | sse2 (sse2 sse mmxext mmx asm C)
[transcode] V: video buffer | 10 @ 1024x576
[filter_
[filter_
[filter_preview.so] v0.1.4 (2002-10-08) xv/sdl/gtk preview plugin
[filter_preview.so] options=xv
[filter_preview.so] preview window 608x480
[transcode] critical: failed to init encoder
I don't know if it's ffmpeg's ar transcode's fault, but ffmepg says that it has h264:
ffmpeg -formats | grep 264
FFmpeg version SVN-rUNKNOWN, Copyright (c) 2000-2007 Fabrice Bellard, et al.
configuration: --enable-gpl --enable-pp --enable-swscaler --enable-pthreads --enable-libvorbis --enable-libtheora --enable-libogg --enable-libgsm --enable-dc1394 --disable-debug --enable-shared --prefix=/usr
libavutil version: 1d.49.3.0
libavcodec version: 1d.51.38.0
libavformat version: 1d.51.10.0
built on Sep 26 2008 12:56:27, gcc: 4.2.4 (Ubuntu 4.2.4-1ubuntu1)
DE h264 raw H264 video format
D V DT h264
I'm using Ubuntu 8.04.1, transcode Version: 2:1.0.2-0.8ubuntu7.
Thank you.
Adrian Fita <email address hidden> writes:
> Public bug reported:
>
> Binary package hint: transcode
>
> When I try to encode a DVD with DVD:RIP by choosing ffmpeg/h264 in
> transcode I receive the following error:
>
> I don't know if it's ffmpeg's ar transcode's fault, but ffmepg says that
> it has h264:
>
> ffmpeg -formats | grep 264
> FFmpeg version SVN-rUNKNOWN, Copyright (c) 2000-2007 Fabrice Bellard, et al.
> configuration: --enable-gpl --enable-pp --enable-swscaler --enable-pthreads --enable-libvorbis --enable-libtheora --enable-libogg --enable-libgsm --enable-dc1394 --disable-debug --enable-shared --prefix=/usr
> libavutil version: 1d.49.3.0
> libavcodec version: 1d.51.38.0
> libavformat version: 1d.51.10.0
> built on Sep 26 2008 12:56:27, gcc: 4.2.4 (Ubuntu 4.2.4-1ubuntu1)
> DE h264 raw H264 video format
> D V DT h264
FFmpeg does only have an h264 decoder, not an encoder. Encoding to h264
is only possible using x264 AFAIUI
transcode btw correctly notices that:
> [export_ffmpeg.so] v0.3.13 (2004-08-03) (video) Lavc1d.51.38.0 | (audio) MPEG/AC3/PCM
> [export_ffmpeg.so] Could not find a FFMPEG codec for 'h264'.
> [transcode] warning : (encoder.c) video export module error: init failed
> ms [ 0 (A) | -31 ms ]
Nothing to fix here, as far as I see.
--
Gruesse/greetings,
Reinhard Tartler, KeyID 945348A4