[FFmpeg-user] Change aspect ratio of MPEG-PS without re-encoding?
llarevo at gmx.net
llarevo at gmx.net
Thu Aug 9 18:57:18 CEST 2012
I don't know much about ffmpeg, because I still use mainly mencoder.
With this, you can achieve aspect ratio change with:
mencoder ${file} -fps 25 -oac copy -ovc copy -of mpeg -mpegopts
format=dvd:tsaf:vaspect=4/3 -forceidx -o ${file}.newaspect
Set vaspect according to your needs.
fps is the framrate and optional, as well as the parameters forceidx and
format=dvd:tsaf. See also the mencoder manpage.
Regards
--
Felix
Am Donnerstag, den 09.08.2012, 15:37 +0200 schrieb Peter B.:
> Quoting Nicolas George <nicolas.george at normalesup.org>:
>
> > Le tridi 23 thermidor, an CCXX, Peter B. a écrit :
> >> Could anyone please tell me if it's possible to change the aspect
> >> ratio of an MPEG *without* re-encoding it?
> >
> > The aspect ratio is not stored in the MPEG-PS format, so the information in
> > the bitstream is the only source for it. It could be changed with a
> > bitstream filter, but that is not currently implemented.
>
> Oh. Thanks.
>
> Pb
>
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
More information about the ffmpeg-user
mailing list