Jump to content

best options for video post-processing?


theYinYeti
 Share

Recommended Posts

Hello,

 

My aim is to get the most of my old VHS tapes.

 

My PC is not powerfull enough to clean and encode video from Composite1 in real-time.

So I thought I should first get the "raw" video and sound (real time), and then post-process this video.

 

So, here's what I do:

FIRST PASS (line splitted for better readability)

mencoder -tv
driver=v4l2:device=/dev/v4l/video0:input=1:fps=25:norm=SECAM:alsa:amode=1:decimation=2:
quality=75:width=384:height=288 -o /local/tmp/test3.avi -oac copy -ovc copy -ofps 25 tv://

This way, I get a half-size video (384*288) very near the quality I get from Composite1/xawtv.

There is one drawback: each minute of video is roughly 250MB big !!

That's why I don't use the full size (768*576)... even though I wish I could...

 

The post-processing must be done to reduce the file-size, and I also hope to clean it; indeed, here is a screenshot of the video (that's how the VHS is...); I'm sorry, it is a big file, I don't have the tools on this PC to reduce it: http://yves.gablin.club.fr/test3-1.png

 

SECOND PASS

So I tried to clean and reduce the video this way, getting the general look of this command from what "File2DIVX3Pass" is trying (and failing) to execute, and refining it from what I understand from mencoder manual page. (splitted for better readability)

mencoder -noskip -fps 25 -ofps 25 -vf hqdn3d,pp=hb/vb/dr,cropdetect
-oac mp3lame -lameopts cbr:br=128 -ovc lavc
-lavcopts vcodec=mpeg4:vhq:vqmin=2:vqmax=31:keyint=25:vbitrate=29232:vpass=1
-o test3p1.avi  test3.avi

 

The result is awful !

 

Are the optons I use wrong? Or is there an entirely better method?

Thanks for any help,

 

Yves.

Link to comment
Share on other sites

I always use this:

 

mencoder *.mpeg -ovc lavc -lavcopts vcodec=mpeg4:vpass=1 -oac copy -o outputfile.avi

mencoder *.mpeg -ovc lavc -lavcopts vcodec=mpeg4:vpass=2 -oac copy -o outputfile.avi

 

Looks good enough. Then there are various kommander scripts (look on kde-apps.org) that provide a gui for morst of the mencoder options. That might be usefull.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...