Actual video content is 2.35:1. Captured content is 4:3 (black bars at top and bottom). File is 29.97 fps mpeg program stream (.mpg). I want to crop to anamorphic proportions to burn as a 16X9 DVD. I don't want to re-encode, just to crop. Here are my steps.
1. Drag .mpg file to ffmpegX window with summary segment tab selected.
2. Select DVD ffmpeg preset.
3. Select Passthrough in Video segment tab.
4. Select Autosize: DVD 16:9 in Video segment tab.
5. Set Video Bitrate to match that of original file in Video segment tab.
6. Select Passthrough in Audio segment tab.
7. Add "60" to 1st and 2nd Autocrop fields in Filters segment tab.
8. Select Deinterlace in Filters segment tab.
9. Deselect "Author as..." checkbox in Options segment tab. (I will author using a method that adds chapter menus)
An .avi file results. This file can be played successfully using VLC with the proper aspect ratio.
Even though Passthrough is selected, video bitrate is severely deprecated (more than would seem to be a result
of the cropping) if I don't include step 5. Why?
The file won't play in QuickTime Player with mpeg 2 playback component installed unless I rename it with the .mpg
name extension. Why?
Whether or not I rename the file with the .mpg name extension, it won't be recognized as a video file by Toast (8.0.1) unless
I edit the beginning of the file with a hex editor (I used Hex Fiend) so that the first 44 bytes of the file consist of the hex values
00 00 01 BA
followed by zeros.
Why is editing the first 44 bytes of the file in this manner necessary to make it compatible with Toast?
Thanks.
Results 1 to 7 of 7
-
-
If you want your end result on dvd as anamorphic, the source needs to be 5:4, 720x576. If you would calculate anamorphic from 576 height you'd end up with 1024 wide which does not comply to the dvd standard. Anamorphic dvd's are nice, but a little bit fake because the player stretches the 720 image to 1024 for playback, or letter boxes it on 5:4 displays. Check this article.
I tried to figure this out but I don't think its possible to truly passthough, I think the best you can do is select the same bitrate and hope for the best.
But what I really don't get is if you want the end result to be DVD, is why you first go to AVI mpeg4? That extra step will degrade quality, no matter how high a bitrate you choose. I would go from mpeg to mpeg, crop it and scale it to 720x576, ready to be moved to dvd, which I think ffmpegx can do for you under tools. One step, with the least loss in quality.
-
Originally Posted by ingemar
-
I am sure that "passthrough" is not really passing through. The fact that your video bitrate changes sort of reveals that. So, first abandon the notion that you can get by without reencoding.
Just go directly to the final target format, as the previous poster wisely suggested. I am not aware of any way to crop losslessly, given the way mpeg works, unfortunately. I'd love to learn otherwise, but I just don't see how. The standard does not allow for a simple XOR mask to overlay on top of your video to produce the effect of a crop. Given how the value of every encoded pixel depends on groups of other pixels, the cropping of any pixels will have a global ripple effect. This means that you can't just "passthrough" and crop simultaneously.
-
OK, so I'm trying this:
/Users/me/Applications/ffmpegX_0.0.9x/ffmpegX.app//Contents/Resources/ffmpeg -i '/Users/me/Desktop/clip.mpg' -y -threads 2 -map 0.0:0.0 -deinterlace -target ntsc-dvd -b 7600 -aspect 16:9 -croptop 60 -cropbottom 60 -cropleft 0 -cropright 0 -s 852X480 -r ntsc -g 12 -me epzs -qmin 1 -qmax 11 -intra -acodec copy -map 0.1:0.1 /Users/me/Desktop/cropped_clip.ff.mpg
-
Originally Posted by Case
Originally Posted by Case
Similar Threads
-
Crop/Remove black bars without re-encoding?
By agent154 in forum Blu-ray RippingReplies: 55Last Post: 22nd Aug 2015, 20:06 -
--
By MGadAllah in forum EditingReplies: 33Last Post: 25th Sep 2011, 19:53 -
Which ffdshow version for avchd encoding is best
By kukkamies in forum Video ConversionReplies: 3Last Post: 27th Jun 2011, 20:29 -
Program to crop MP4 files without re-encoding
By milatchi in forum Video ConversionReplies: 3Last Post: 20th Aug 2010, 10:13 -
Encoding problem- Version 2.5
By Jikchung in forum SVCD2DVD & VOB2MPGReplies: 7Last Post: 25th May 2007, 20:23