[Libav-user] h264 / Mpeg2 TS streaming problems

Ceir Coral ccoral at c2at.com
Mon Mar 2 14:35:38 CET 2015


I am trying to figure out some problems I am having using the API for ffmpeg.


Here is a post to my stack overflow post that contains the code base and some diagnostic info.


http://stackoverflow.com/questions/28727772/ffmpeg-c-api-h-264-encoding-mpeg2-ts-streaming-problems

[http://cdn.sstatic.net/stackoverflow/img/apple-touch-icon@2.png?v=ea71a5211a91]<http://stackoverflow.com/questions/28727772/ffmpeg-c-api-h-264-encoding-mpeg2-ts-streaming-problems>

c++11 - FFMPEG C api h.264 encoding / MPEG2 ts streaming problems - Stack Overflow
Class prototype is as follows: #ifndef _FULL_MOTION_VIDEO_STREAM_H_ #define _FULL_MOTION_VIDEO_STREAM_H_ #include <memory> #include <string> #ifndef INT64_C # define INT64_C(c) (c ##...
Read more...<http://stackoverflow.com/questions/28727772/ffmpeg-c-api-h-264-encoding-mpeg2-ts-streaming-problems>

?The main two problems I am currently seeing, are large memory consumption(6gb if I try to increase video time to around a minute), and framing issues. I am writing many frames and only coming up with .04 seconds of video. I should have around 6 seconds of video being generated. Any help would be greatly appreciated!



?Ceir M Coral

Systems Engineer

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://ffmpeg.org/pipermail/libav-user/attachments/20150302/fc77d17d/attachment.html>


More information about the Libav-user mailing list