INDEX  F.A.Q.  SEARCH  LATEST POSTS     Rules  Register  Profile  Private messages  Login


Search all forums or this forum: Advanced search
compressing mpeg2 5 times with acceptable quality

Forum Index -> Video -> Linux Printer-friendly version
Reply to topic
Author Message
lagu2653
Member


Joined: 01 Nov 2005
Location: Sweden

Post Posted: Dec 23, 2005 17:13 Posts Comp View users profile Send private message Reply with quote

I want to migrate my VHS collection to DVD5. I have a Hauppauge PVR 350 card in my SuSE PC. I can capture video through a regular cat-command (cat /dev/video0 > /mnt/hdb1/TV/recordings/tmp.mpg). But the file is app. 5 times too large. How can I shrink it 5 times in order to be able to fit 8 hours of VHS-video onto a 4.37 GB DVD5 without too much loss of video- and audio-quality? I want to be able to play the video-files (mpeg, avi, divx, xvid... which ever format offers the best quality at a 5:1 compression ratio) both on Linux and Windows.
_________________
SuSE 9.3 Pro


lumis
Member


Joined: 18 Jan 2005
Location: the remnants of pangea

Post Posted: Jan 01, 2006 01:47 Posts Comp View users profile Send private message Reply with quote

expecting good quality at 8 hours on a dvd5 is asking too much..

you should probably shoot for 3 dvd's, maybe even 4.. 2 would be stretching it quite a bit..
_________________


disturbed1
Member


Joined: 22 Apr 2001
Location: init 4

Post Posted: Jan 01, 2006 06:13 Posts Comp View users profile Send private message Reply with quote

Xvid would be your best option for 8 hours -> 4.35GB, but even that's a stretch. 4 hours per DVD in Xvid would be ideal.

hkl8324
Member


Joined: 09 Dec 2005
Location: Hong Kong

Post Posted: Jan 25, 2006 01:17 Posts Comp View users profile Send private message Reply with quote

Use H.264 with 1Mb/s

It is more than enough for VHS quality video...


redtux
Member


Joined: 21 Dec 2006
Location: United Kingdom

Post Posted: Dec 21, 2006 09:50 Posts Comp View users profile Send private message Reply with quote

I can get around 4-5 hours as DVD format (not avi/divx) that should play on (nearly) any dvd

try this command
ffmpeg -i inputfile -target dvd -qscale 3 -acodec mp2 -ac 2 ab 224k -ar 44100 outputfile


wzrlpy
Member


Joined: 03 Dec 2006
Location: Europe

Post Posted: Dec 26, 2006 05:11 Posts Comp View users profile Send private message Reply with quote

Hi,

The previous command will work better using 48KHz audio (standard for DVD) instead of 44.1KHz (standard for SVCD):

Code:
ffmpeg -i inputfile -target dvd -acodec mp2 -ac 2 -ab 224k -ar 48000 outputfile


Also since your source is VHS, you may consider using less resolution (Half-D1: PAL 352 x 576 or NTSC 352x480):

Code:
ffmpeg -i inputfile -target dvd-pal -s 352x576 -size -acodec mp2 -ac 2 -ab 224k -ar 48000 outputfile


Code:
ffmpeg -i inputfile -target dvd-ntsc -s 352x480 -size -acodec mp2 -ac 2 -ab 224k -ar 48000 outputfile


Reply to topic All times are GMT - 6 Hours
Forum Index -> Video -> Linux Page 1 of 1





You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Jump to:  
Display:   
About   Advertise   Forum Archive   RSS Feeds   Statistics