I'm using mplayer on a Mac to extract a video from a DVD, but the result contains black bars all around.
If I play the DVD itself using VLC, the video is in the correct 16:9 aspect ratio, BUT it has black bars on both sides AND top/bottom. In other words, both the video and the VLC window are 16:9, but the video is smaller then the window.
If I use mplayer to extract the video, eg:
mplayer dvd://1 -dumpstream -dumpfile video.vob
and then play video.vob in VLC, the result has the black bars on the sides cropped, but the bars on the top/bottom are still there. In other words, the video is still 16:9, but the VLC window is now 4:3.
When I transfer video.vob to my TiVo (without doing any transcoding), it's back to black bars on the sides and top/bottom. In other words, the aspect ratio is correct (16:9), but it's a small video with respect to the size of the TV screen which is also 16:9.
Is there a way I can run the above mplayer command to extract the video, but also crop all the black bars so I end up with just the 16:9 video and no black bars anywhere?
+ Reply to Thread
Results 1 to 4 of 4
-
-
I'm sorry I can't comment on mPlayer, but I know what I would do if you haven't tried it - rip with MacTheRipper or RipIt. Or, if it doesn't have copy protection - just drag and drop the desired VOBs to a folder on your hard drive! I hope that helps... : )
-
Does this happen for one particular DVD, or for many/every DVD you've tried?
It is possible, but weird, that the person who encoded the DVD, made it with black all around.
It is also possible to encode a DVD with letterboxing (non-anamorphic widescreen; 16:9 in a 4:3 frame), with the black as part of the video. This happened a lot when 16:9 tvs weren't as common as they are now, and/or the author didn't understand the benefits of anamorphic widescreen.
Many modern tvs have a zoom function to enlarge the video, so that this particular content will fit the screen. (Do not expect a software scaler to perform any better than a hardware scaler in a tv.)
Software cropping would make the frame likely too small for a valid VOB file, so you would need to transcode into a new file. If you want to stay with the VOB file format, you would need to crop AND scale up again with an MPEG-2 encoder. -
Originally Posted by dizzie
Originally Posted by Case
Originally Posted by Case
Originally Posted by Case
In order to get it to 1.77 (ie 16:9), it would need to be 720x405, correct? Which means I would need to crop say 37 off the top and 38 off the bottom. First, if I did that, would it still need to be scaled? Is that too small for a valid VOB file?
And, if not... exactly how would you crop the top/bottom using mplayer?
I've tried using this to play the vob in mplayer:
Code:mplayer -vf crop=720:405:: video.vob
At any rate, the "-vf crop..." command only seems to work when PLAYING the video via mplayer. If I try to extract the video using that option it doesn't do any cropping, eg:
Code:mplayer dvd://1 -vf crop=720:352:: -dumpstream -dumpfile video.vob
Similar Threads
-
Mplayer image extract: my TGA is blue!
By RogerTango in forum Video ConversionReplies: 0Last Post: 30th Apr 2011, 13:11 -
Improve MPlayer performance / video smoothness
By alexandre_fs in forum Software PlayingReplies: 2Last Post: 15th Jan 2009, 15:38 -
CROP DVD-Video files
By mingul in forum EditingReplies: 0Last Post: 24th Apr 2008, 13:04 -
mplayer/encoder speed up video
By crazychicken in forum LinuxReplies: 0Last Post: 20th Apr 2008, 19:54 -
Extracting video data with mplayer
By Michael447 in forum LinuxReplies: 1Last Post: 26th Jul 2007, 17:00