Hi
I have several mpeg2 video files in 704X576(PAL) with an aspect ratio of 16:9.
I want to convert them to flv to upload to youtube.
To do this I also need to convert them to 4:3 by adding black bars on top and bottom of video(letterboxing).
Can I do this with mencoder? How?
The final flv should be 320X240 in 4:3 with added balck bars.
Thanks for any hints on this.
Regards
Sektionschef
+ Reply to Thread
Results 1 to 4 of 4
-
-
You can modify this script to prepare your video. I know very little about PAL A/R, so I don't know what it will look like, but give it a try.
youtube_emulate.zip -
There's a youtube upload guide, with a sample mencoder command here:
https://forum.videohelp.com/topic336882.html
aside from other parameters you might want to change,
here's the exact video filter line you want:
Code:-vf scale=320:-3,expand=320:240
-
Many Thanks for your fast answers!!!
I don't know why but
-vf scale=320:-3,expand=320:240
did not add the black bars, instead the video got stretched vertically.
I found out that the parameters
-vf scale=320:180,expand=320:240
did the job!!!
Don't know why because using -3 should preserve the original(16:9) aspect ratio but -3 didn't work.
I double checked my source mpeg2 files , they are defenitely 16:9
However, my problem seems to be solved!
Regards
Sektionschef
Similar Threads
-
SOS! I have output file from convert by mencoder but i don't know conmand
By zerround in forum Video ConversionReplies: 0Last Post: 24th Feb 2012, 01:38 -
Unhandled exception error mencoder convert opendivx video - How to solve?
By melaos in forum Newbie / General discussionsReplies: 1Last Post: 8th Jul 2009, 04:43 -
Using mencoder to crop and convert .avi to .flv - errors
By brandox in forum Video ConversionReplies: 0Last Post: 26th Jan 2009, 10:09 -
Here is a Basic Python Script to convert video via Mencoder
By aguydude in forum MacReplies: 0Last Post: 17th Aug 2008, 20:42 -
mencoder, convert mkv to avi + ac3. sound issues
By clavain in forum Video ConversionReplies: 1Last Post: 29th Jan 2008, 17:02