Thank you for your help. The DVD player has two settings: one for TV type, another for format type. The format was set to 16:9, but the TV was set on 4:3. When I set TV to 16:9 I could see the full correct image. Apparently, while set to a 4:3 TV, the DVD player decided to crop the image on the left and right sides to help me against my will.
The command I used:
496 is calculated this way (everything in pixels): 544/256 (original size) = 720/x (new size) => x~=482. The smallest multiple of 16 bigger than 482 is 496.Code:time ffmpeg -i concat:file1.avi\|file2.avi -vf scale=720:496,pad=720:576:"(out_w-in_w)/2":"(out_h-in_h)/2" -target pal-dvd -c:a ac3 -b:a 384k -aspect 16:9 file.mpg
720x576 and other format parameters are defined here: http://mplayerhq.hu/DOCS/HTML/en/menc-feat-vcd-dvd.html.
A few notes on ffmpeg (the ffmpeg.org version, not libav):
- definitions of sar and dar in the manual and documentation seem to be wrong. Wikipedia is right: http://en.wikipedia.org/wiki/Pixel_aspect_ratio.
- for bit rates, 448kb is 448000 bits, because we are talking about serially transmitted data.
- -ss and -t work with seconds only, no minutes or hours.
- mplayer, the default player on Ubuntu, ceases to work after ffmpeg.org is installed (some libraries conflict). vlc is good and works.
- I have received some error messages about frames, one at the joint of the two files, several towards the end of the second file. Still, the video looks fine at its low resolution.
Thank you all, especially intracube and FulciLives.
+ Reply to Thread
Results 61 to 67 of 67
-
Last edited by doru001; 1st Sep 2012 at 09:19.
-
Well FitCD can adjust itself to add extra black around the image to account for TV overscan but really, these days, that's not a good idea. Just turn it off on your TV. New TV's don't need it. They only have it for legacy purposes. For example you want it on if watching a VHS tape. If watching a Blu-Ray then you want it off.
"The eyes are the first thing that you have to destroy ... because they have seen too many bad things" - Lucio Fulci
EXPLORE THE FILMS OF LUCIO FULCI - THE MAESTRO OF GORE
-
There's usually an option on DVD players for choosing how to view 16:9 video. The options are often labelled 'letterbox' and 'pan-scan'. It sounds like your player is set to pan-scan.
The command I used:
Code:time ffmpeg -i concat:file1.avi\|file2.avi -vf scale=720:496,pad=720:576:"(out_w-in_w)/2":"(out_h-in_h)/2" -target pal-dvd -c:a ac3 -b:a 384k -aspect 16:9 file.mpg
- for bit rates, 448kb is 448000 bytes, because we are talking about serially transmitted data.
-ss and -t work with seconds only, no minutes or hours. -
The dvd player went crazy when I used 482 instead of 496. Or maybe it was caused by that automatic cropping? No problem with ffmpeg.
Indeed, I corrected this, thank you. Big mistake.
Yeah, that's why it is funny that it does not work and it fails with no clear message. -
-
The dvd player was wrongly set for a 4:3 TV screen. Zoom was on 16:9 and TV zoom on Full, no problem here. The 720x482 image was shown touching the top and bottom margins (padding disappeared), with huge padding on left and right borders, cropped on left and right borders, and very distorted (compressed horizontally). That was so bad that I went to do the 720x496 format, even though this change only increased the vertical dimension, therefore presumably increasing the distortion. The 720x496 looked well, padding top and bottom, touching left and right, only that it was cropped left and right. Then I discovered the wrong 4:3 TV screen setting in the dvd player. Correcting this to 16:9 solved all issues. Now, I don't know how would have the 720x482 video looked with a correct 16:9 setting on dvd player, but I stick with the multiple of 16 vertical resolution.
Similar Threads
-
How to convert MKV to AVI or OGM to AVI using mencoder
By Baldrick in forum User guidesReplies: 75Last Post: 17th Dec 2013, 11:19 -
How To: Choose Your Own Adventure Film?
By morari in forum Authoring (DVD)Replies: 2Last Post: 3rd Mar 2010, 23:18 -
Mencoder line help for trekstor i.beat move player [linux] - (solved)
By tolostoi in forum Video ConversionReplies: 0Last Post: 2nd Jul 2009, 02:10 -
Vegas 8: Overlay text in multimcamera mode?
By stantheman1976 in forum EditingReplies: 0Last Post: 4th Feb 2008, 13:08 -
Worse video quality on Linux than Windows with mencoder
By chiun in forum Video ConversionReplies: 1Last Post: 19th Dec 2007, 03:29