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

FFmpeg trac at avcodec.org
Mon Oct 20 11:07:35 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):

 Source file: http://14.0.20.10/Vetmua.mp4

 Command to split to ts in step 1 I mentioned:
 /usr/local/bin/ffmpeg -i Vetmua.mp4  -codec:v libx264 -b:v 750000 -g 25.0
 -keyint_min 50 -x264opts keyint=50:min-keyint=50:no-scenecut -codec:a aac
 -strict -2 -map 0:v -map 0:a -f ssegment -segment_list playlist.m3u8
 -segment_time 5 -segment_format mpegts streams/stream%4d.ts
 This playlist (playlist.m3u8) play well, no distortion.

 Go to step 2,
 2.1 # for i in *.ts; do /usr/local/bin/ffmpeg -y -i $i -vcodec libx264 -vb
 500000 -s 640x360 -f mpegts -aspect 16:9 -g 25 -keyint_min 50 -vf
 scale=640:-1 ../transcode_streams/$i ; done
 2.2 cp playlist.m3u8 ../transcode_streams/

 Now play playlist.m3u8 with transcoded stream --> distortion. Actually I
 dont know how to name it right, it means, in playlist 1, file was not
 transcode, stream0000.ts and stream0001.ts are continuous, bit if we
 transcode them, it's not continuous anymore.

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


More information about the FFmpeg-trac mailing list