Redmondman
4th January 2007, 10:21
This is one of those posts that could go anywhere, due to the combination of tools. I'll start here and you should feel free to point me in the right direction.
Goal: main title (movie) rip from DVD transcoded to MPEG with video at ~2Mbps.
Two scenarios, both start exactly the same (second scenario has the additional eventual goal of adding subtitles): RipIt4Me->DVD Shrink to create a single VOB containing a movie. This movie VOB is the input to the two processes below.
Process 1: Direct transcode of VOB to MPEG with FFMPEG (I'll supply full commands and output below). Very good quality output video.
Process 2: VOB->DGIndex, d2v goes in AviSynth script as DGDecode/Mpeg2source, ac3 goes in AviSynth script as NicAudio/NicAC3source. AVS script is fed to FFMPEG. Quality of output video noticeably worse than process #1.
Question: something I'm doing wrong? Natural artifact of the extra processing in step 2? Also, what's the deal with the 59.94 fps reported by ffmpeg in process #1?
Process #1:
C:\apps>ffmpeg.exe -y -i "C:\Movie 2 ch\VIDEO_TS\vts_01_1.vob" -vcodec mpeg2video -s 720x480 -r 29.97 -b 2097152 -aspect 16:9 -ac 2 -ab 192 -f vob "C:\outputdir\test-vob.mpg"
FFmpeg version SVN-r7375, Copyright (c) 2000-2006 Fabrice Bellard, et al.
built on Dec 26 2006 18:15:30, gcc: 4.0.3
Seems stream 0 codec frame rate differs from container frame rate: 29.97 (30000/1001) -> 59.94 (60000/1001)
Input #0, mpeg, from 'C:\Movie 2 ch\VIDEO_TS\vts_01_1.vob':
Duration: 01:19:40.2, start: 0.233567, bitrate: 6681 kb/s
Stream #0.0[0x1e0]: Video: mpeg2video, yuv420p, 720x480, 9800 kb/s, 59.94 fps(r)
Stream #0.1[0x82]: Audio: ac3, 48000 Hz, stereo, 192 kb/s
Output #0, vob, to 'C:\outputdir\test-vob.mpg':
Stream #0.0: Video: mpeg2video, yuv420p, 720x480, q=2-31, 2097 kb/s, 29.97 fps(c)
Stream #0.1: Audio: mp2, 48000 Hz, stereo, 192 kb/s
Process 2:
C:\apps>ffmpeg.exe -y -i "C:\Movie 2 ch\VIDEO_TS\movie.avs" -vcodec mpeg2video -s 720x480 -r 29.97 -b 2097152 -aspect 16:9 -ac 2 -ab 192 -f vob "C:\outputdir\test-avs.mpg"
FFmpeg version SVN-r7375, Copyright (c) 2000-2006 Fabrice Bellard, et al.
built on Dec 26 2006 18:15:30, gcc: 4.0.3
Input #0, avs, from 'C:\Movie 2 ch\VIDEO_TS\movie.avs':
Duration: 01:19:43.8, start: 0.000000, bitrate: N/A
Stream #0.0: Video: rawvideo, yuv420p, 720x480, 124291 kb/s, 29.97 fps(r)
Stream #0.1: Audio: pcm_s16le, 48000 Hz, stereo, 1536 kb/s
Output #0, vob, to 'C:\outputdir\test-avs.mpg':
Stream #0.0: Video: mpeg2video, yuv420p, 720x480, q=2-31, 2097 kb/s, 29.97 fps(c)
Stream #0.1: Audio: mp2, 48000 Hz, stereo, 192 kb/s
I can't put my finger on it, but I have the feeling that the AviSynth/DGDecode codepath is, in reality, providing half the video information as compared with the direct VOB; that the 59.94 fps framerate being reported by ffmpeg in Process #1 is somehow relevant, and that it has something to do with interlacing on the input side. But I admit I'm speculating.
Goal: main title (movie) rip from DVD transcoded to MPEG with video at ~2Mbps.
Two scenarios, both start exactly the same (second scenario has the additional eventual goal of adding subtitles): RipIt4Me->DVD Shrink to create a single VOB containing a movie. This movie VOB is the input to the two processes below.
Process 1: Direct transcode of VOB to MPEG with FFMPEG (I'll supply full commands and output below). Very good quality output video.
Process 2: VOB->DGIndex, d2v goes in AviSynth script as DGDecode/Mpeg2source, ac3 goes in AviSynth script as NicAudio/NicAC3source. AVS script is fed to FFMPEG. Quality of output video noticeably worse than process #1.
Question: something I'm doing wrong? Natural artifact of the extra processing in step 2? Also, what's the deal with the 59.94 fps reported by ffmpeg in process #1?
Process #1:
C:\apps>ffmpeg.exe -y -i "C:\Movie 2 ch\VIDEO_TS\vts_01_1.vob" -vcodec mpeg2video -s 720x480 -r 29.97 -b 2097152 -aspect 16:9 -ac 2 -ab 192 -f vob "C:\outputdir\test-vob.mpg"
FFmpeg version SVN-r7375, Copyright (c) 2000-2006 Fabrice Bellard, et al.
built on Dec 26 2006 18:15:30, gcc: 4.0.3
Seems stream 0 codec frame rate differs from container frame rate: 29.97 (30000/1001) -> 59.94 (60000/1001)
Input #0, mpeg, from 'C:\Movie 2 ch\VIDEO_TS\vts_01_1.vob':
Duration: 01:19:40.2, start: 0.233567, bitrate: 6681 kb/s
Stream #0.0[0x1e0]: Video: mpeg2video, yuv420p, 720x480, 9800 kb/s, 59.94 fps(r)
Stream #0.1[0x82]: Audio: ac3, 48000 Hz, stereo, 192 kb/s
Output #0, vob, to 'C:\outputdir\test-vob.mpg':
Stream #0.0: Video: mpeg2video, yuv420p, 720x480, q=2-31, 2097 kb/s, 29.97 fps(c)
Stream #0.1: Audio: mp2, 48000 Hz, stereo, 192 kb/s
Process 2:
C:\apps>ffmpeg.exe -y -i "C:\Movie 2 ch\VIDEO_TS\movie.avs" -vcodec mpeg2video -s 720x480 -r 29.97 -b 2097152 -aspect 16:9 -ac 2 -ab 192 -f vob "C:\outputdir\test-avs.mpg"
FFmpeg version SVN-r7375, Copyright (c) 2000-2006 Fabrice Bellard, et al.
built on Dec 26 2006 18:15:30, gcc: 4.0.3
Input #0, avs, from 'C:\Movie 2 ch\VIDEO_TS\movie.avs':
Duration: 01:19:43.8, start: 0.000000, bitrate: N/A
Stream #0.0: Video: rawvideo, yuv420p, 720x480, 124291 kb/s, 29.97 fps(r)
Stream #0.1: Audio: pcm_s16le, 48000 Hz, stereo, 1536 kb/s
Output #0, vob, to 'C:\outputdir\test-avs.mpg':
Stream #0.0: Video: mpeg2video, yuv420p, 720x480, q=2-31, 2097 kb/s, 29.97 fps(c)
Stream #0.1: Audio: mp2, 48000 Hz, stereo, 192 kb/s
I can't put my finger on it, but I have the feeling that the AviSynth/DGDecode codepath is, in reality, providing half the video information as compared with the direct VOB; that the 59.94 fps framerate being reported by ffmpeg in Process #1 is somehow relevant, and that it has something to do with interlacing on the input side. But I admit I'm speculating.