You are not logged in.

#1 2013-05-04 13:11:43

phunni
Member
From: Bristol, UK
Registered: 2003-08-13
Posts: 668

Failing to transcode a DVD to mpeg4 using transcode

I'm trying to transcode my video using dvd::rip (and, obviously, transcode) with the container set to avi and the codec set to mpeg4.  When I hit "transcode", however, I get the following error:

EXEC_FLOW_JOB_PID=30282
transcode v1.1.7 (C) 2001-2003 Thomas Oestreich, 2003-2010 Transcode Team
libdvdread: Using libdvdcss version 1.2.13 for DVD access
libdvdread: Couldn't find device name.
libdvdnav:DVDOpenFilePath:findDVDFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdnav:DVDOpenFilePath:findDVDFile /VIDEO_TS/VIDEO_TS.BUP failed
libdvdread: Can't open file VIDEO_TS.BU.
libdvdread: Using libdvdcss version 1.2.13 for DVD access
libdvdread: Couldn't find device name.
libdvdnav:DVDOpenFilePath:findDVDFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdnav:DVDOpenFilePath:findDVDFile /VIDEO_TS/VIDEO_TS.BUP failed
libdvdread: Can't open file VIDEO_TS.BU.
[transcode] V: auto-probing     | /home/paul/dvdrip-data/big_bang_theory/vob/006/ (OK)
[transcode] V: import format    | MPEG 2 program stream in  (module=vob)
[transcode] A: auto-probing     | /home/paul/dvdrip-data/big_bang_theory/vob/006/ (OK)
[transcode] A: import format    | AC3 in  (module=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: zoom             | 768x432  1.78:1 (Lanczos3)
[transcode] V: bits/pixel       | 0.500
[transcode] V: decoding fps,frc | 25.000,0
[transcode] V: video format     | YUV420 (4:2:0) aka I420
[transcode] A: import format    | 0x2000  AC3          [48000,16,2]  192 kbps
[transcode] A: export format    | 0x2000  AC3          [48000,16,2]  192 kbps
[transcode] V: export format    | unknown (module dependant)
[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 | sse42 sse41 ssse3 sse3 sse2 sse mmx cmove asm 
[transcode] V: video buffer     | 10 @ 768x576 [0x2]
[transcode] A: audio buffer     | 10 @ 48000x2x16
[import_vob.so] v0.6.1 (2006-05-02) (video) MPEG-2 | (audio) MPEG/AC3/PCM | (subtitle)
[export_ffmpeg.so] v0.3.18 (2008-11-29) (video) Lavc54.86.100 | (audio) MPEG/AC3/PCM
[import_vob.so] tccat -i "/home/paul/dvdrip-data/big_bang_theory/vob/006/" -t vob -d 0 -S 0 | tcdemux -M 1 -a 0 -x ac3 -S 0 -d 0 | tcextract -t vob -a 0 -x ac3 -d 0 | tcextract -t raw -x ac3 -d 0
[import_vob.so] tccat -i "/home/paul/dvdrip-data/big_bang_theory/vob/006/" -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 yuv420p
[export_ffmpeg.so] Using FFMPEG codec 'mpeg4' (FourCC 'DIVX', MPEG4 compliant video).
[export_ffmpeg.so] No profile selected
[export_ffmpeg.so] warning: Error opening configuration file ./ffmpeg.cfg: No such file or directory
[export_ffmpeg.so] Starting 1 thread(s)
transcode: symbol lookup error: /usr/lib/transcode/export_ffmpeg.so: undefined symbol: avcodec_thread_init
[decode_mpeg2.c] libmpeg2 acceleration: mmxext

I've tried googling this and found suggestions that it's something to do with a missing codec.  I have all the "common codecs" listed in the codecs wiki page.

Any ideas?

Last edited by phunni (2013-05-05 17:58:54)

Offline

#2 2013-05-05 14:12:46

teckk
Member
Registered: 2013-02-21
Posts: 196

Re: Failing to transcode a DVD to mpeg4 using transcode

I don't use transcode. Since you haven't got an answer I'll give my 2 cents.

If you have transcode installed then you have ffmpeg installed. Use ffmpeg or transcode directly. It looks like you want mpeg4 video and aac audio. Dump the title that you want off of the DVD. You can see the titles with lsdvd. Use vobcopy, mplayer dvd://1 -dumpstream -dumpfile video.vob, or tccat -i /dev/sr0 -T 1 > video.vob
Then find the crop area of the video, use the video codec and bitrate that you want and make your mp4 file.

ffmpeg -i video.vob -c:a copy -c:v libx264 -b:v 2500k -vf crop=716:476:0:2 output.mp4

Looks like transcode can do all that too.
http://www.transcoding.org/
http://linux.die.net/man/1/tccat
http://docs.huihoo.com/transcode/0.6.14/dvd.html
http://linux.die.net/man/1/tcextract
http://linux.die.net/man/1/ffmpeg
http://linux.die.net/man/1/tcdemux

If you can't make transcode work for you and want further instruction with ffmpeg or mencoder , say so.

Last edited by teckk (2013-05-05 14:13:50)

Offline

#3 2013-05-05 14:17:03

phunni
Member
From: Bristol, UK
Registered: 2003-08-13
Posts: 668

Re: Failing to transcode a DVD to mpeg4 using transcode

Thank you - I'll give that a go. The only reason I've been using transcode is because of dvd:: rip which is an excellent front end for transcode.

Edit:

I used that ffmpeg command and it would need some serious tweaking to get what I need.  The scaling was wrong and the langauge track (or at least the default one) was wrong.

The transcode command that dvd::rip actually produces is:

mkdir -m 0775 -p '/home/paul/dvdrip-data/big_bang_theory/tmp' && cd /home/paul/dvdrip-data/big_bang_theory/tmp && mkdir -p /home/paul/dvdrip-data/big_bang_theory/avi/006 && execflow -n 19 transcode -H 10 -a 0 -x vob -i \/home\/paul\/dvdrip\-data\/big_bang_theory\/vob\/006\/ -w 4147,50 -F mpeg4 -A -N 0x2000 -f 25.000 -Z 768x432 -y ffmpeg -o /home/paul/dvdrip-data/big_bang_theory/avi/006/big_bang_theory-006.avi --progress_meter 2 --progress_rate 25 && echo EXECFLOW_OK

This is what produces the error above. Looking at this post: http://forums.archlinux.fr/topic13189.html suggests (with translation!) that the problem is some sort of 32/64 bit conflict.

Unfortunately, I can't make out from that post, exactly what I should do to fix it if that is, in fact, the problem.

Last edited by phunni (2013-05-05 17:57:01)

Offline

Board footer

Powered by FluxBB