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: [email protected] [[email protected]] On Behalf 
Of Alex Cohn [[email protected]]
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 <[email protected]> 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
[email protected]
http://ffmpeg.org/mailman/listinfo/libav-user
_______________________________________________
Libav-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/libav-user

Reply via email to