[FFmpeg-trac] #2350(ffmpeg:reopened): PTS adjustment in FFmpeg

FFmpeg trac at avcodec.org
Tue Sep 30 06:48:56 CEST 2014


#2350: PTS adjustment in FFmpeg
-------------------------------------+-------------------------------------
             Reporter:  ubitux       |                    Owner:
                 Type:  enhancement  |                   Status:  reopened
             Priority:  wish         |                Component:  ffmpeg
              Version:  git-master   |               Resolution:
             Keywords:  dts          |               Blocked By:
  bitstream                          |  Reproduced by developer:  0
             Blocking:               |
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
Changes (by pickles):

 * keywords:  dts => dts bitstream
 * status:  closed => reopened
 * resolution:  invalid =>


Comment:

 This would still be a very useful addition. In my case, for example, I
 need to change the PTS to a fixed rate of 25 frames per second and also
 change the audio timestamps by counting samples. I achieve this with ''-vf
 'setpts=N/(25*TB)' -af 'asetpts=N/SR/TB' '' which works great, but, of
 course, it needs re-encoding, which is unnecessary and time consuming,
 especially as this is used via a server-side script.

 A bitstream filter version of setpts/asetpts would be ideal. Is it even
 technically possible?

--
Ticket URL: <https://trac.ffmpeg.org/ticket/2350#comment:4>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list