#3811: Misleading error when segmenting H.264 bitstream to MPEG-TS
-------------------------------------+-------------------------------------
             Reporter:  slhck        |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:
              Version:  git-master   |  undetermined
             Keywords:               |               Resolution:
             Blocking:               |               Blocked By:
Analyzed by developer:  0            |  Reproduced by developer:  0
-------------------------------------+-------------------------------------

Comment (by slhck):

 The original command is problematic, because how should I know that (frmo
 the original report)

 {{{
 ffmpeg -i input.mp4 -c:v libx264 -map 0 -f
 segment -bsf h264_mp4toannexb -segment_time 5 -segment_format mpegts
 test%05d.ts
 }}}

 does not work, when

 {{{
 ffmpeg -i input.mp4 -c:v libx264 -an -f segment -segment_format mpegts
 -map 0 test%05d.ts
 }}}

 explicitly tells me to use `-bsf h264_mp4toannexb`?

 Either way, obviously there are confusing messages, so how could they be
 improved to have users figure out what needs to be done?

 Maybe

 > Packet header is not contained in global extradata, try using -flags
 global_extradata

 would work?

--
Ticket URL: <https://trac.ffmpeg.org/ticket/3811#comment:11>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
_______________________________________________
FFmpeg-trac mailing list
[email protected]
http://avcodec.org/mailman/listinfo/ffmpeg-trac

Reply via email to