Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 Doom9's Forum How to crop the video size when I remux a mp4
 Register FAQ Calendar Search Today's Posts Mark Forums Read

 2nd September 2012, 10:05 #1  |  Link sdf Registered User   Join Date: Aug 2012 Posts: 1 How to crop the video size when I remux a mp4 I am using GPAC 0.50 currently the command is: "mp4box.exe" -add "f:\in.mp4#video" -add "f:\in.mp4#audio" "f:\out.mp4" Now I have a mp4 file (1920x1080 H.264/AVC AAC) In fact, the actual video size is 1440x1080, that means two black blank at left and right sides are encoded in video so I want to set the display to 1440x1080 when I remux the mp4, I think mp4 container have such function, may I know what the command is? besides, the two blanks are 240x1080, 240px is times of 16px, so I guess it is possible to crop the actual size to 1440 without losing any quality rather than set the display size. am I right? if yes, may I know how?
 6th September 2012, 12:22 #2  |  Link Kurtnoise Swallowed in the Sea     Join Date: Oct 2002 Location: Aix-en-Provence, France Posts: 5,191 Hi, Your command line seems odd. #video & #audio switches are dedicated to AVI files. You should use #ID where ID is the stream number from your input file that you want to keep... Then, you cannot crop video size without reencoding. However, you can specify the Pixel Aspect Ratio value in your video stream. So, something like this : Code: mp4box -add input_video_stream.mp4#ID:par=X:Y -add input_audio_stream.mp4#ID output.mp4 You can find IDs from this command : Code: mp4box -info input.mp4
 13th September 2012, 19:27 #3  |  Link Simon88 Registered User   Join Date: Jan 2012 Posts: 91 MP4Box 0.50 crashes when cropping video size using large par= values. I have some AVC/AAC files & they are 848x480p, so (16/9)/(848/480) = (160/159) in order to display precisely on a 16:9 display. For par=160:159 , Mp4Box crashes every time. Even using latest test builds... Using values less than a hundred, eg par=1:1 works perfectly, or par=8:9 to scale 720x480p onto 4:3 works great! Are others having this issue? thanx...

 Tags mp4, remux