[gst-devel] Problem with rtspsrc->rtph264depay->qtmux->filesink
thiagossantos at gmail.com
thiagossantos at gmail.com
Thu Nov 26 12:27:10 CET 2009
On Tue, Nov 24, 2009 at 7:19 PM, Yiliang Bao <yiliangb at gmail.com> wrote:
> Hi Florian,
>
> Thanks for replying to my message. ffmux_mp4 did not work for me either
> when I posted the original message. All I got are access unit delimiter
> RBSP's. An acces unit delimiter RBSP is something like 000000010910 for the
> I frame, and 000000010030 for the non-I frame.
>
> Since the AU delimiter has the same timestamp as the following NAL, I was
> wondering whether that was a problem. And indeed it was. In the function
> compute_pkt_fields2() in file:
> /gst-ffmpeg-0.10.9/gst-libs/ext/ffmpeg/libavformat/utils.c
>
> I changed the following line to allow two consecutive packets have same
> time stamp:
>
> #if 1
>
> if(st->cur_dts && st->cur_dts != AV_NOPTS_VALUE && st->cur_dts > pkt->dts){
>
> #else
>
> if(st->cur_dts && st->cur_dts != AV_NOPTS_VALUE && st->cur_dts >=
> pkt->dts){
>
> #endif
>
>
> Now I can capture video correctly. I am wondering if anyone working on
> ffmpeg can verify whether this fix is a valid solution. Maybe I should post
> a separate message on ffmux_mp4.
>
> However, this does not solve my problem. I still need to make qtmux work
> since it supports the audio codec which ffmux_mp4 does not support.
>
> Thanks,
> Yiliang
>
>
> On Tue, Nov 24, 2009 at 12:05 AM, florian iragne <
> florian.iragne at viewsurf.com> wrote:
>
>> Hi,
>>
>> Yiliang Bao a écrit :
>> > I got this error:
>> >
>> > gstqtmux.c(1347): gst_qt_mux_add_buffer ():
>> > /GstPipeline:pipeline0/GstQTMux:qtmux0:
>> > Failed to determine time to mux.
>>
>> i got the same error and have had no success using qtmux or mp4mux.
>>
>
Some fixes were pushed to qtmux/mp4mux for improving timestamps and
durations handling yesterday. Could you retry and check if it works now?
>
>> > I also tried ffmux_mp4. The pipeline can continue, but it looks like
>> that
>> > only the access unit delimiter RBSP is captured.
>>
>> I use ffmux_mp4 with success in my pipeline. Could you provide yours to
>> check what's wrong?
>>
>>
>> Florian
>>
>>
>> ------------------------------------------------------------------------------
>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008
>> 30-Day
>> trial. Simplify your report design, integration and deployment - and focus
>> on
>> what you do best, core application coding. Discover what's new with
>> Crystal Reports now. http://p.sf.net/sfu/bobj-july
>> _______________________________________________
>> gstreamer-devel mailing list
>> gstreamer-devel at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>>
>
>
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and focus
> on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now. http://p.sf.net/sfu/bobj-july
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>
>
--
Thiago Sousa Santos
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20091126/7aa8b085/attachment.htm>
More information about the gstreamer-devel
mailing list