[Libav-user] Need some help!!!

김영환 wandb at naver.com
Sun Apr 13 18:07:17 CEST 2014

Thanks, Anshul.  
But, the key point of my question is that I can't update PTS/DTS when H.264 packets are remuxed to MPEGTS. 
Is there any API which generates a new PTS/DTS when H.264 packets are remuxed to MPEGTS ?
-----Original Message-----
From: "Anshul"<anshul.ffmpeg at gmail.com> 
To: "This list is about using libavcodec, libavformat, libavutil, libavdevice and libavfilter."<libav-user at ffmpeg.org>; 
Sent: 2014-04-10 (목) 23:43:20
Subject: Re: [Libav-user] Need some help!!!

"김영환" <wandb>@naver.com> wrote:
>Actually, This question may sound be very stupid, but Please understand
>me as I'm a novice for FFMPEG. 
>My problem is that with already-encoded H.264 frames, I watn to convert
>it a TS stream (muxing)
>That is, there are some packets encoded in H.264 in memory buffers, and
>I want to convert it to a TS stream and save it a file. 
>As you know, there is no time stamp such as PTS/DTS in H.264, when I
>tried, It displays some messages such as no pts. 
>How can I try to solve this problem?
>Actually, I've tried to solve this problem using AVIOContext but only
>to fail. 
>Libav-user mailing list
>Libav-user at ffmpeg.org

You may use file attached at #2716

For your requirement, you would notice that output  is also written in buffer. So u might want to change that.

An example muxing.c which comes with ffmpeg src can be refrenced for knowing how to output in file.


Top post are considered rude in this mailing list.

Libav-user mailing list
Libav-user at ffmpeg.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20140414/88760725/attachment.html>

More information about the Libav-user mailing list