#3811: Misleading error when segmenting H.264 bitstream to MPEG-TS with wrong segment muxer -------------------------------------+------------------------------------- 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): Replying to [comment:1 heleppkes]:
You're re-encoding the video, you don't need the bitstream filter at all. The encoding step will already output the video as you need it for TS.
True, I don't need the filter, but If I leave it out, I get {{{ $ ffmpeg -i input.mp4 -c:v libx264 -an -f segment -segment_format mpegts -map 0 test%05d.ts ... [mpegts @ 0x25ded20] H.264 bitstream malformed, no startcode found, use the h264_mp4toannexb bitstream filter (-bsf h264_mp4toannexb) }}} Which is the point of this bug report: The error message is misleading. It's telling me to use the filter when I don't need to; and if I use the filter it's still telling me to use it. The actual solution would be to tell me to use the right muxer. {{{ }}} -- Ticket URL: <https://trac.ffmpeg.org/ticket/3811#comment:2> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker