[FFmpeg-user] help : VHS, tapes, correct commands and parameters?

lm2 at netc.fr lm2 at netc.fr
Wed Jan 18 21:37:28 EET 2023


I was trying to thought about the old command line I was using few years ago do digitalize (or record) old VHS videotapes, to a common digital file (.avi/mp4)

Here is the old one:

    ffmpeg -f alsa -i hw:0,1 -f v4l2 -channel 1 -i /dev/video0 -standard 3 -vcodec mpeg1video -b 2500k -acodec mp2 -t 00:28:50 -vf yadif /home/user/output.mpg

And here is the new one:

    ffmpeg -f alsa -i hw:0,1 -f v4l2 -channel 1 -i /dev/video0 -r 25 -standard 3 -vcodec mpeg2video -standard PAL -b 2500k -acodec mp2 -t 00:25:20 -vf yadif /home/user/output.mp4 -y

I was trying to use libx264 with mkv, but it makes the computer running very slow to play it. It's an old computer with a RCA video input for recording. It runs old Linux of 2010's, but it's working well. No internet access on that PC.

Does the second command look right?

I also had a glance at this thread, but no more clue ..

I thank you vm for answers !
best regards

More information about the ffmpeg-user mailing list