[FFmpeg-user] Changing PTS without re-encoding an h264/avc stream

Alton Patrick APatrick at siginnovations.com
Thu May 29 14:18:04 CEST 2014


I did try -r, specifically the command below. Unfortunately that didn't work either, but I don't understand why. It did change the timebase, but according to ffprobe the timestamps in the output are still at 25Hz intervals, not 30Hz. 

This is what I tried:

ffmpeg -r 30 -i in.mp4 -c:v copy out.mp4



> -----Original Message-----
> From: ffmpeg-user-bounces at ffmpeg.org [mailto:ffmpeg-user-
> bounces at ffmpeg.org] On Behalf Of Carl Eugen Hoyos
> Sent: Thursday, May 29, 2014 4:15 AM
> To: ffmpeg-user at ffmpeg.org
> Subject: Re: [FFmpeg-user] Changing PTS without re-encoding an h264/avc
> stream
> 
> Alton Patrick <APatrick <at> siginnovations.com> writes:
> 
> > In other words, I would like to do something like:
> > fmpeg -i in.mp4 -c:v copy -vf setpts=N/30*TB out.mp4
> 
> > If my understanding is correct, I can't do what I want
> > with ffmpeg.
> 
> Did you try the input option -r?
> 
> Carl Eugen
> 
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user


More information about the ffmpeg-user mailing list