[FFmpeg-trac] #47(avformat:new): mpegts muxer doesn't override time base, but assumes 1/90000
FFmpeg
trac at avcodec.org
Thu Apr 7 21:47:39 CEST 2011
#47: mpegts muxer doesn't override time base, but assumes 1/90000
-----------------------+---------------------
Reporter: divVerent | Type: defect
Status: new | Priority: normal
Component: avformat | Version: git
Keywords: mpeg | Blocked By:
Blocking: | Reproduced: 0
Analyzed: 0 |
-----------------------+---------------------
The subject says all: the mpegts muxer does not set the stream time base
using av_set_pts_info, but expects it to have the default value of
1/90000. If the calling code changes stream pts before writing the header,
other muxers override the time base at that point (like mpegenc.c).
mpegtsenc.c does not, causing this issue.
In my code, I had to work around this by not setting the stream time base
at all.
I attached a patch that adds the missing function call to mpegtsenc.c.
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/47>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list