[I edited the title of this thread. Please read post #5 for my crop-related question and post #13 for my latest question, again about aspect ratio change]
Hello everybody.
Do you know if it's possible to modify the pixel aspect ratio of an MP4 (h.264) movie without totally re-encoding it?
I'm not talking about setting this parameter in the movie player during the playback of the movie.
I'd just like to change the aspect ratio information inside the MP4 file without touching anything else. Almost a video stream copy: no recalculation of pixels, no recompression and bitrate changes. Just the aspect ratio.
Is it possible?
Thank you very much for your help.
PS: the movie is encoded with constant quality (i.e.: variable bitrate).
+ Reply to Thread
Results 1 to 15 of 15
-
Last edited by falco2000; 26th Mar 2013 at 05:16.
Falco2000, video newbie.
Let's everyone help each other. -
Falco2000, video newbie.
Let's everyone help each other. -
A new problem came up: is it possible to also crop the movie without re-encoding it?
I mean the same as above, almost a video stream copy: no recalculation of pixels, no recompression and bitrate changes. Just discarding the pixels that don't belong to the area that I want to crop.
Can any program do that?Falco2000, video newbie.
Let's everyone help each other. -
You can try this modifed ffmpeg build . But in my experience it's buggy, most operations don't work as advertised - but it does have a "lossless" crop parameter
http://forum.doom9.org/showthread.php?t=152419
So basically what Baldrick said ^ -
But in my experience it's buggy, most operations don't work as advertised
-
-
Didn't know that you could change crop flags....but it looks like it isn't that useful yet.
-
problem is, it's just a flag that most decoders simply ignore,..
(btw. mkv also has such a flag on the container level which might be more supported,..) -
Ok thanks you all anyway
Falco2000, video newbie.
Let's everyone help each other. -
MMG (part of MkvToolNix) lets you set the AR flags in the MKV header. But not all players obey the flags in the header, MP4 or MKV.
h264 AR Changer lets you change the SAR flags in the h.264 stream. But it can't add SAR flags to a stream that doesn't already have them. It's not hosted at this site because several malware scanners flag it.Last edited by jagabo; 26th Mar 2013 at 07:12.
Similar Threads
-
Video aspect ratio and Pixel aspect ratio
By LeoKac in forum Newbie / General discussionsReplies: 3Last Post: 1st Sep 2012, 15:15 -
changing aspect ratio flag inside xvid avi's, flexibly
By vhelp in forum ProgrammingReplies: 5Last Post: 1st Feb 2012, 19:56 -
Changing pixel aspect ratio of video clip?
By Real Ramona in forum Newbie / General discussionsReplies: 7Last Post: 23rd Jan 2012, 10:20 -
Need a Tool to read Pixel Aspect ratio of a file
By mlong30 in forum DVD RippingReplies: 4Last Post: 17th Oct 2010, 23:38 -
Coverting Video File to DVD without changing Aspect Ratio
By dwpoze in forum Newbie / General discussionsReplies: 3Last Post: 11th Dec 2009, 03:35