PDA

View Full Version : [SOLVED] Help needed converting 720p video to 480p



tomdkat
June 11th, 2012, 10:20 PM
So, I used Imagination to create a HD 720p slide show. I saved the slideshow as a VOB file so I could retain the 720p resolution.

So, now I've got this 720p VOB file with MPEG-2 encoded video that I can't seem to downconvert to 480p. Neither Avidemux nor Handbrake will allow me to do the conversion.

Any ideas on how I could do this?

Thanks!

Peace...

Georgescu1
June 11th, 2012, 11:53 PM
you could try kdenlive

evilsoup
June 12th, 2012, 12:42 AM
The ffmpeg/avconv '-s' flag allows you to scale the frame size. From the terminal:

avconv -i input.vob -s hd480 output.vob

should do it. This will scale the video to 852x480. If you want other sizes, you can use the format wxh (e.g. 852x480); or you can find additional abbreviations in the avconv man page. Make sure you use the same aspect ratio, or you will end up with distorted images.

If you want a GUI, you can try out WINFF, though I've never used it so I don't know if it has these options

SeijiSensei
June 12th, 2012, 12:44 AM
Mencoder (http://www.mplayerhq.hu/DOCS/HTML/en/menc-feat-rescale.html) with the "-vf scale" option will do this.

MPEG2 is quite inefficient by modern standards. MPEG4 is a much better choice in terms of the tradeoff between quality and filesize.

tomdkat
June 12th, 2012, 11:10 PM
The ffmpeg/avconv '-s' flag allows you to scale the frame size. From the terminal:

avconv -i input.vob -s hd480 output.vob

should do it. This will scale the video to 852x480. If you want other sizes, you can use the format wxh (e.g. 852x480); or you can find additional abbreviations in the avconv man page. Make sure you use the same aspect ratio, or you will end up with distorted images.

If you want a GUI, you can try out WINFF, though I've never used it so I don't know if it has these optionsThanks for the info. I installed WINFF today, before I read your post, but I haven't used it yet. I was looking for a graphical option but your command line above is simple enough that I could use that as well.

Thanks!

Peace...

tomdkat
June 12th, 2012, 11:12 PM
Mencoder (http://www.mplayerhq.hu/DOCS/HTML/en/menc-feat-rescale.html) with the "-vf scale" option will do this.

MPEG2 is quite inefficient by modern standards. MPEG4 is a much better choice in terms of the tradeoff between quality and filesize.Thanks for the info. Fortunately, MPEG-2 vs MPEG-4 issues don't matter in this case. I actually use MPEG-4 for most of my video work these days. :)

Thanks!

Peace...

FakeOutdoorsman
June 13th, 2012, 06:55 PM
Mencoder (http://www.mplayerhq.hu/DOCS/HTML/en/menc-feat-rescale.html) with the "-vf scale" option will do this.

I also recommend "-vf scale" and ffmpeg also uses it:

ffmpeg -i input -vf scale=-1:480 -vcodec mpeg4 -qscale 3 output.mp4
The -1 tells ffmpeg to use an appropriate width that preserves the aspect ratio, which in your case would probably be 853.

tomdkat
June 14th, 2012, 12:42 AM
I also recommend "-vf scale" and ffmpeg also uses it:

ffmpeg -i input -vf scale=-1:480 -vcodec mpeg4 -qscale 3 output.mp4
The -1 tells ffmpeg to use an appropriate width that preserves the aspect ratio, which in your case would probably be 853.
Excellent! Thanks! :guitar:

Peace...