[Libav-user] Keeping all frames in mp4 with h264 codec

orestesb orestesb at comcast.net
Thu Feb 11 00:14:20 CET 2016


    

Somebody know how can i add black frames with some text to obtain a output video.
Thank you

Juan
Sent from my T-Mobile 4G LTE Device

-------- Original message --------
From: salsaman <salsaman at gmail.com> 
Date: 2/10/2016  7:47 AM  (GMT-05:00) 
To: "This list is about using libavcodec, libavformat, libavutil, libavdevice and libavfilter." <libav-user at ffmpeg.org> 
Subject: Re: [Libav-user] Keeping all frames in mp4 with h264 codec 

Arthur,
missing last frame may be related to this:
https://ffmpeg.org/pipermail/libav-user/2016-January/008781.html

Also, just a guess but 18 is half of 36. Is it possible you need to set some interlacing option ?

Regards,
Salsaman.




http://lives-video.com
https://www.openhub.net/accounts/salsaman


On Wed, Feb 10, 2016 at 8:30 AM, Max Vlasov <max.vlasov at gmail.com> wrote:


On Wed, Feb 10, 2016 at 1:32 AM, Arthur Muller <muller at vki.com> wrote:


I also noticed that the call to avcodec_encode_video2 returns got_packet=0 about half the time. I suspect this is related. But other than setting max_b_frames to zero I'm not sure what else I need to do to recover all my frames all the time.



As long as I remember I solved a similar problem after providing the last frame of the sequence by calling avcodec_encode_video2  with frame parameter being NULL in a loop while got_packet returns true. 



_______________________________________________

Libav-user mailing list

Libav-user at ffmpeg.org

http://ffmpeg.org/mailman/listinfo/libav-user




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20160210/14237ddc/attachment.html>


More information about the Libav-user mailing list