I use the composite input on the USB capture and a LR RCA to 1/8" line in adapter plugged into the PowerMac. (The capture device's audio is a bit noisy.) VHS NTSC should be recorded at 352x480 with YUV422 compression. Audio source should be confirmed as G3 line input. After a successful capture, the file is transferred to the AppleShare network.
The raw video as saved by VideoGlide is recognized by mplayer and ffmpeg as
VIDEO: [yuvs] 352x480 24bpp 29.970 fps 51959.7 kbps (6342.7 kbyte/s) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this part is variable between captures Movie-Aspect is 0.73:1 - prescaling to correct movie aspect. VO: [xv] 352x480 => 352x480 Packed YUY2 $ ffmpeg -i 'originalrip.mov' Seems stream 0 codec frame rate differs from container frame rate: 30000.00 (30000/1) -> 29.97 (30000/1001) Input #0: Metadata: major_brand: qt Duration: 00:01:23.19, start: 0.000000, bitrate: 53397 kb/s Stream #0.0(eng): Video: rawvideo, yuyv422, 352x480, 51959 kb/s, PAR 1:1 DAR 11:15, 19.22 fps, 29.97 tbr, 30k tbn, 30k tbc Stream #0.1(eng): Audio: pcm_s16be, 44100 Hz, 2 channels, s16, 1411 kb/s
-aspect 4/3 gives us
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect. VO: [xv] 352x480 => 640x480 Packed YUY2
-aspect 4/3 -vf pp=lb gives us
[swscaler @ 0x976be00] using unscaled yuyv422 -> yuv420p special converter VO: [xv] 352x480 => 640x480 Planar YV12
The (large) raw video file is then deinterlaced and converted to a modern format with ffmpeg, since I can't find an equivalent mplayer command line.
# try 1 % ffmpeg -i $INPUT \ -vcodec mpeg4 -s 640x480 -b 600k -r 24 \ -aspect 4:3 -f avi \ converted.avi # try 2 % ffmpeg -i $INPUT \ -aspect 4:3 \ -vcodec mpeg2video -b:v 2000k \ -acodec libmp3lame \ -filter:v yadif \ $OUTPUT.avi Use try1 vcodec with try2 values
Try1: A nice difference in filesize, and yields passable (interlaced) output..
-r--r--r-- 1 mouse mouse 530M Nov 25 01:49 originalrip.mov -rw-r--r-- 1 mouse mouse 6.6M Nov 27 03:26 converted.avi
Try2 better, does deinterlacing (-deinterlace doesn't work?) but wrong (larger) video format.
Everything I've done for mplayer has encoded the audio properly but the video rate is chipmunk speed and ends early while the audio plays on. And my mencoder and ffmpeg installations on this Ubuntu machine seem to be old and do not support some of these advanced filters that I need. To be continued..