[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)
Li Zhang
lizhang at utelisys.com
Thu Mar 15 10:15:11 CET 2012
Hi, here the oVcc is the AVCodecContext for my video encoder, which with the type of AVCodecContext *.
Hope you can have interesting suggestion for this problem.
Best regards,
Li
________________________________________
From: libav-user-bounces at ffmpeg.org [libav-user-bounces at ffmpeg.org] On Behalf Of Alex Cohn [alexcohn at netvision.net.il]
Sent: Wednesday, March 14, 2012 11:47 AM
To: This list is about using libavcodec, libavformat, libavutil, libavdevice and libavfilter.
Subject: Re: [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)
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
_______________________________________________
Libav-user mailing list
Libav-user at ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user
More information about the Libav-user
mailing list