[FFmpeg-user] Error - HEVC bitstream malformed, no startcode found

Moritz Barsnick barsnick at gmx.net
Wed Jun 29 15:25:31 CEST 2016

On Fri, Jun 24, 2016 at 16:00:58 +0000, jaymat at epix.net wrote:
> Thanks for the info.
> I couldn't find a reference here to "git head" - FFmpeg Bitstream Filters Documentation

"Use git head" means to:
- either get sources from the "Get the Sources" section here:
  and compile ffmpeg yourself,
- or using one of the static builds from here:

> Can this be done via the cmd line ?

Yes. Apparently, that bitstream filter is not mentioned in the
documentation yet. If your ffmpeg supports is, executing
$ ffmpeg -bsfs
will include "hevc_mp4toannexb" in the output.

To use it, add "-bsf:v hevc_mp4toannexb" to your ffmpeg command line
(as on output option, i.e. after your input options and files, before
the output file).


More information about the ffmpeg-user mailing list