View previous topic :: View next topic |
Author |
Message |
atoz n00b
Joined: 31 Mar 2007 Posts: 54 Location: Boston, MA, USA
|
Posted: Thu Apr 12, 2007 12:08 am Post subject: Transcode fails intermittently |
|
|
I'm trying to rip a few of my DVDs for convenience, but ran into some strange behavior with transcode.
Using dvd::rip 0.98.2 as a front end, ripping works fine and the .vob files play fine. However, during the transcoding step, transcode seems to silently fail to produce any output in many cases.
This occurs during the second phase of 2-pass encoding, or immediately for 1-pass. Transcode will immediately exit (without an error), processing 0 frames, and producing a useless .avi file, about 2kB in size (probably just an AVI header), and dvd::rip reports that it's done - no error.
Running it from the command line produces the same result, e.g:
Code: |
lars@saturn ~/misc/dvdrip-data/where-eagles-dare/tmp $ transcode -H 10 -a 0 -x v
ob -i /home/lars/misc/dvdrip-data/where-eagles-dare/vob/003/ -w 9000,50 -F mpeg4
-b 96,0,2 --a52_drc_off -f 25.000 -y ffmpeg -E 44100 -o /home/lars/misc/dvdrip-
data/where-eagles-dare/avi/003/where-eagles-dare-003.avi
transcode v1.0.2 (C) 2001-2003 Thomas Oestreich, 2003-2004 T. Bitterberg
[transcode] (probe) suggested AV correction -D 0 (0 ms) | AV 0 ms | 0 ms
[transcode] auto-probing source /home/lars/misc/dvdrip-data/where-eagles-dare/vo
b/003/ (ok)
[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: bits/pixel | 0.868
[transcode] V: decoding fps,frc | 25.000,0
[transcode] V: Y'CbCr | YV12/I420
[transcode] A: import format | 0x2000 AC3 [48000,16,2]
[transcode] A: export format | 0x55 MPEG layer-3 [44100,16,2] 96 kbps
[transcode] V: encoding fps,frc | 25.000,3
[transcode] A: bytes per frame | 7680 (7680.000000)
[transcode] A: adjustment | 0@1000
[transcode] V: IA32/AMD64 accel | sse (sse 3dnowext 3dnow mmxext mmx asm C)
tc_memcpy: using sse for memcpy
[transcode] V: video buffer | 10 @ 720x576
[import_vob.so] v0.6.0 (2003-10-02) (video) MPEG-2 | (audio) MPEG/AC3/PCM | (sub
title)
[export_ffmpeg.so] v0.3.13 (2004-08-03) (video) Lavc51.29.0 | (audio) MPEG/AC3/P
CM
[import_vob.so] tccat -i "/home/lars/misc/dvdrip-data/where-eagles-dare/vob/003/
" -t vob -d 0 -S 0 | tcdemux -a 0 -x ac3 -S 0 -M 1 -d 0 | tcextract -t vob -a 0
-x ac3 -d 0 | tcdecode -x ac3 -d 0 -s 1.000000,1.000000,1.000000 -A 1
[import_vob.so] tccat -i "/home/lars/misc/dvdrip-data/where-eagles-dare/vob/003/
" -t vob -d 0 -S 0 | tcdemux -s 0x80 -x mpeg2 -S 0 -M 1 -d 0 | tcextract -t vob
-a 0 -x mpeg2 -d 0 | tcdecode -x mpeg2 -d 0 -y yv12
[export_ffmpeg.so] Using FFMPEG codec 'mpeg4' (FourCC 'DIVX', MPEG4 compliant vi
deo).
[export_ffmpeg.so]: WARNING: Interlacing parameters unknown, use --encode_fields
[export_ffmpeg.so]: INFO: No profile selected
[export_ffmpeg.so] Neither './ffmpeg.cfg' nor '~/.transcode/ffmpeg.cfg'
[export_ffmpeg.so] found. Default settings will be used instead.
[export_ffmpeg.so]: INFO: Starting 1 thread(s)
[export_ffmpeg.so]: INFO: Set display aspect ratio to input
tc_memcpy: using sse for memcpy
[decode_mpeg2.c] libmpeg2 0.4.0b loop decoder
[decode_mpeg2.c] libmpeg2 acceleration: 3dnow
[mpeg4 @ 0xb537f6e8]removing common factors from framerate
Audio: using new version
Audio: using lame-3.97
tc_memcpy: using sse for memcpy
clean up | frame threads | unload modules | cancel signal | internal threads | d
one
[transcode] encoded 0 frames (0 dropped, 0 cloned), clip length 0.00 s
|
Using different video encoders, or different container formats, doesn't seem to help. Some input works, and produces output, however.
Additionally, removing the audio track from the transcoding seems to fix the problem in many cases. E.g:
Code: |
lars@saturn ~/misc/dvdrip-data/where-eagles-dare/tmp $ transcode -H 10 -x vob -i
/home/lars/misc/dvdrip-data/where-eagles-dare/vob/003/ -w 9000,50 -F mpeg4 -b 9
6,0,2 --a52_drc_off -f 25.000 -y ffmpeg -E 44100 -o /home/lars/misc/dvdrip-data/
where-eagles-dare/avi/003/where-eagles-dare-003.avi
...
[transcode] warning : requested audio track 0 not found - using 'null' module
...
encoding frames [000000-001702], 34.89 fps, EMT: 0:01:08, ( 0| 0| 0)
clean up | frame threads | unload modules | cancel signal | internal threads | done
[transcode] encoded 1703 frames (0 dropped, 0 cloned), clip length 68.12 s
|
Transcode is built with USE="3dnow X a52 dv dvdread fame jpeg mmx mp3 mpeg ogg sse truetype vorbis xvid (-altivec) -extrafilters -gtk -imagemagick -lzo -mjpeg -network -quicktime -sdl -sse2 -theora -v4l2 -xml"
Ffmpeg is built with USE="a52 aac encode mmx ogg truetype vorbis x264 xvid zlib (-altivec) -amr -debug -doc -dts -ieee1394 -imlib -network -oss -sdl -test -theora -threads -v4l"
Has anyone else experienced this and/or found any workaround? |
|
Back to top |
|
|
atoz n00b
Joined: 31 Mar 2007 Posts: 54 Location: Boston, MA, USA
|
Posted: Fri Apr 13, 2007 1:05 am Post subject: |
|
|
After doing some more testing, the problem seems related to the audio track indeed. Here's an example where the transcoding (pass 2 in a 2-pass) fails with audio track 1 but succeeds with track 3:
Code: |
lars@saturn ~/misc/dvdrip-data/transcode $ transcode -i ../where-eagles-dare/vob/003 -w 4357,250,100 -a 1 -b 128,0,0 -f 25 -R 2 -x vob -o eagles-ch3.avi -y xvid
...
[transcode] A: import format | 0x2000 AC3 [48000,16,2]
[transcode] A: export format | 0x55 MPEG layer-3 [48000,16,2] 128 kbps
...
clean up | frame threads | unload modules | cancel signal | internal threads | done
[transcode] encoded 0 frames (0 dropped, 0 cloned), clip length 0.00 s
|
Nothing. However...
Code: |
lars@saturn ~/misc/dvdrip-data/transcode $ transcode -i ../where-eagles-dare/vob/003 -w 4357,250,100 -a 3 -b 128,0,0 -f 25 -R 2 -x vob -o eagles-ch3.avi -y xvid
...
[transcode] A: import format | 0x2000 AC3 [48000,16,2] 192 kbps
[transcode] A: export format | 0x55 MPEG layer-3 [48000,16,2] 128 kbps
...
encoding frames [000000-003402], 12.08 fps, EMT: 0:02:16, ( 0| 0| 2)
clean up | frame threads | unload modules | cancel signal | internal threads | done
[transcode] encoded 3403 frames (0 dropped, 0 cloned), clip length 136.12 s
|
Again, no output that indicates an actual error, although in the first case, no bitrate is displayed for the audio stream, which may indicate that it is broken in some way (in transcode's opinion).
I'm quite puzzled... |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|