[Libav-user] Please help me about transcoding to TS stream: H.264 bitstream malformed, no startcode found, use the h264_mp4toannexb bitstream filter (-bsf h264_mp4toannexb)
Alex Cohn
alexcohn at netvision.net.il
Wed Mar 14 11:47:25 CET 2012
On Wed, Mar 14, 2012 at 11:24, Li Zhang <lizhang at utelisys.com> wrote:
> Thanks for your sharing about your experience.
>
> But for my situation, I have configure the flag before open h264 encoder like this: oVcc->flags |= CODEC_FLAG_GLOBAL_HEADER.
>
> That is very strange. It works well when I put the video and audio into mp4 and mkv container.
>
> Waiting for someone can give out the final explanation.
>
> Best regards,
>
> Li
Please share your code, otherwise it is not clear what oVcc stands for.
BR,
Alex
More information about the Libav-user
mailing list