Hi, | transcode -c 0-500 --import_with dvd -i ${SRCFILE} -title 1,-1 --export_with ffmpeg -F h264 -o ${DSTFILE}
Could you detailed please ? I don't know and I don't see in the documentation the commands following : --import_with dvd and --export_with ffmpeg And why you encode only a part of your file (i.e. -c 0-500 ) or it is an error of mine ? Could you join too the result of the command tcprobe for the file that you have created ? Thanks. 2011/3/26 Allan N. Snider <allansni...@istop.com> > John: > Check your /usr/share/ffmpeg directory. The hq profile (at least on my > gentoo box) no longer exists. The naming convention has changed from > veryslow, slow, ..., fast, veryfast, etc. The old "hq" is probably pretty > close to the "slow" profile, or "slower" profile. > > If that still doesn't work, (as I have had great difficulty using h264 > through transcode), just consider running ffmpeg directly. For example, do > the initial rip with "mplayer -dumpstream", and then "ffmpeg -t 20 -i > stream.dump -vcodec libx264 -vpre slow -b 2000k -acodec [whatever...] > out.mkv". The -t 20 (record 20s) should give around 500 frames. > > I still use dvdrip and transcode, (for the rip, scale, crop, and video > filters), but actually output raw,wav and do the final encoding with ffmpeg > now. (Lots of disk space required obviously). > > Allan > > > > On 03/26/11 11:58, John Roberts wrote: > > Hi, > > > > I’ve been struggling with this for hours and can’t make it work. > > > > transcode -c 0-500 --import_with dvd -i ${SRCFILE} -title 1,-1 > --export_with ffmpeg -F h264 -o ${DSTFILE} > > > > Output below… > > > > John > > > > johnr@conroe(~/Scripts) 1133$ cat ffmpeg.cfg > > [h264] > > threads = 1 > > [libx264] > > vpre = hq > > [mpeg4] > > profile = aac_main > > nr = 10 > > mbd = 2 > > cmp = 3 > > subcmp = 3 > > dia = 4 > > v4mv = 1 > > trell = 1 > > [mpeg1video] > > [mpeg2video] > > nr = 20 > > gray = 0 > > mbd = 2 > > mv0 = 1 > > trell = 1 > > cbp = 1 > > cmp = 3 > > subcmp = 3 > > vqcomp = 0.7 > > vqblur = 0.3 > > [ffv1] > > johnr@conroe(~/Scripts) 1134$ > > > > > > johnr@conroe(~/Scripts) 1133$ ./dvdiso.bash > > removed `/proj/DvdTranscode//Up.avi' > > transcode v1.1.5 (C) 2001-2003 Thomas Oestreich, 2003-2009 Transcode Team > > libdvdread: Encrypted DVD support unavailable. > > libdvdread: Encrypted DVD support unavailable. > > [dvd_reader.c] -- Unspecified Subs -- > > [dvd_reader.c] DVD title 1/96: 1 chapter(s), 1 angle(s), title set 1 > > [dvd_reader.c] title playback time: 00:00:00.12 1 sec > > libdvdread: Encrypted DVD support unavailable. > > libdvdread: Encrypted DVD support unavailable. > > [dvd_reader.c] -- Unspecified Subs -- > > [dvd_reader.c] DVD title 1/96: 1 chapter(s), 1 angle(s), title set 1 > > [dvd_reader.c] title playback time: 00:00:00.12 1 sec > > [transcode] V: auto-probing | /nas1/Media/Video/DvdKids/UP.iso (OK) > > [transcode] V: import format | MPEG 2 program stream in DVD NTSC > (module=dvd) > > [transcode] A: auto-probing | /nas1/Media/Video/DvdKids/UP.iso (OK) > > [transcode] A: import format | AC3 in DVD NTSC (module=dvd) > > [transcode] V: AV demux/sync | (2) initial MPEG sequence / enforce frame > rate > > [transcode] V: import frame | 720x480 1.50:1 encoded @ 4:3 > > [transcode] V: bits/pixel | 0.217 > > [transcode] V: decoding fps,frc | 23.976,1 > > [transcode] V: video format | YUV420 (4:2:0) aka I420 > > [transcode] A: import format | 0x2000 AC3 [ 0,16,0] > > [transcode] A: export format | 0x55 MPEG ES Layer 3 [ 0,16,0] 128 > kbps > > [transcode] V: export format | unknown (module dependant) > > [transcode] V: encoding fps,frc | 23.976,1 > > [transcode] A: bytes per frame | 0 (0.000000) > > [transcode] A: adjustment | 0@1000 > > [transcode] V: IA32/AMD64 accel | sse3 sse2 sse mmx cmove asm > > [transcode] V: video buffer | 10 @ 720x480 [0x2] > > [transcode] A: audio buffer | 10 @ 0x0x16 > > [import_dvd.so] v0.4.1 (2007-07-15) (video) DVD | (audio) MPEG/AC3/PCM > > [export_ffmpeg.so] v0.3.18 (2008-11-29) (video) Lavc52.66.0 | (audio) > MPEG/AC3/PCM > > libdvdread: Encrypted DVD support unavailable. > > [import_dvd.so] tccat -T 1,-1,1 -i "/nas1/Media/Video/DvdKids/UP.iso" -t > dvd -d 0 | tcdemux -a 0 -x ac3 -S 0 -M 2 -d 0 | tcextract -t vob -x ac3 -a 0 > -d 0 | tcdecode -x ac3 -d 0 -s 1.000000,1.000000,1.000000 -A 0 > > libdvdread: Encrypted DVD support unavailable. > > [import_dvd.so] tccat -T 1,-1,1 -i "/nas1/Media/Video/DvdKids/UP.iso" -t > dvd -d 0 | tcdemux -s 0x80 -x mpeg2 -S 0 -M 2 -f 23.976024 -P > /tmp/fileDieafy -d 0 | tcextract -t vob -a 0 -x mpeg2 -d 0 | tcdecode -x > mpeg2 -d 0 -y yuv420p > > [import_dvd.so] delaying DVD access by 3 seconds > > [import_dvd.so] waiting... > > No accelerated IMDCT transform found > > [import_dvd.so] waiting... > > [import_dvd.so] waiting... > > libdvdread: Encrypted DVD support unavailable. > > [decode_mpeg2.c] libmpeg2 acceleration: none (plain C) > > [export_ffmpeg.so] Using FFMPEG codec 'h264' (FourCC 'h264', H264 (avc)). > > [export_ffmpeg.so] No profile selected > > [export_ffmpeg.so] Starting 1 thread(s) > > [export_ffmpeg.so] Set display aspect ratio to input > > [libx264 @ 0xeafa40] broken ffmpeg default settings detected > > [libx264 @ 0xeafa40] use an encoding preset (e.g. -vpre medium) > > [libx264 @ 0xeafa40] preset usage: -vpre <speed> -vpre <profile> > > [libx264 @ 0xeafa40] speed presets are listed in x264 --help > > [libx264 @ 0xeafa40] profile is optional; x264 defaults to high > > [export_ffmpeg.so] warning: could not open FFMPEG codec > > [encoder.c] warning: video export module error: init failed > > [transcode] critical: failed to init encoder > > johnr@conroe(~/Scripts) 1133$ > > -- Olivier Cenwen un elfe sur la banquise/ an elve on the ice Mon blog perso sur le multimédia, Ubuntu, Linux et OpenShot : http://linuxevolution.wordpress.com/ Le forum d'Openshot où vous me trouverez : http://openshotusers.com/ http://openshotusers.com/forum/index.php