[FFmpeg-trac] #4037(undetermined:new): [Transcoding] Duration and frame number changed after transcoding

FFmpeg trac at avcodec.org
Tue Oct 21 09:46:02 CEST 2014


#4037: [Transcoding] Duration and frame number changed after transcoding
-------------------------------------+-------------------------------------
             Reporter:  hungnv       |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:
              Version:  git-master   |  undetermined
             Keywords:  mpegts       |               Resolution:
             Blocking:               |               Blocked By:
Analyzed by developer:  0            |  Reproduced by developer:  0
-------------------------------------+-------------------------------------

Comment (by hungnv):

 Replying to [comment:21 cehoyos]:
 > Replying to [comment:17 hungnv]:
 > > In our environment, when ts files is produced, we don't have .mp4 file
 anymore. To make adaptive bitrate works, we have to transcode ts -> ts
 with different bitrate, and size.
 >
 > Why don't you use the m3u8 file as input (or the concat protocol or the
 concat filter or the concat demuxer)?

 I don't get your idea. What I have is simple, we receive mp4 file, then
 the normal way to do adaptive bitrate is:
 1. Convert that mp4 file into 720p, 480p, 360p... files
 2. Split every of these files into ts segments
 3. Generate m3u8 playlist for every resolution.

 Now instead of convert mp4 file into several mp4 file, we split original
 file first, then transcode ts to ts instead of mp4 to mp4.
 Say the segment list will have segment0000.ts, segment0001.ts, 360p ts
 will have name segment0000_360p.ts, segment0001_36p.ts...

 Contat is not what I want to do.

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


More information about the FFmpeg-trac mailing list