[gst-devel] gst-ffmpeg-0.10.5: ffmux_* can not be restarted

Irfan Shaikh irfanshaikh at tataelxsi.co.in
Tue Oct 7 07:55:15 CEST 2008


Hi try using asfdemux instead instead ffdemux_asf,
It should work..

Inform me if it works

Regards,
Irfan


-----Original Message-----
From: Pavel Zeldin [mailto:pzeldin at gmail.com]
Sent: Tue 10/7/2008 4:57 AM
To: Discussion of the development of GStreamer
Subject: Re: [gst-devel] gst-ffmpeg-0.10.5: ffmux_* can not be restarted
 
On Mon, Oct 6, 2008 at 10:34 AM, Irfan Shaikh
<irfanshaikh at tataelxsi.co.in> wrote:
>
> hi,
> Can you just explain in brief, watz the problem you are facing with
> ffmux_asf.If you explain with the pipeline i would be more clear.
For the pipeline like this:
videotestsrc ! ffmpegcolorspace ! timeoverlay ! ffenc_msmpeg4 !
ffmux_asf ! ffdemux_asf ! ffdec_msmpeg4 ! ffmpegcolorspace !
ximagesink
When the pipeline goes NULL->PLAYING .. PLAYING->NULL .. NULL->PLAYING
I expect to see the timestamps reset to zero on second NULL->PLAYING
transition. It does not happen. If the pipeline
does not have 'fmux_asf ! ffdemux_asf' it works as expected.

I tried avimux as well, but there are bugs in gstavidemux.c that
prevent it from working :-(

What I really need to do is to create a recording application that
quikly rotates the file (close, open new). I am using
filesink and when size or time limit is exceeded set pipeline to
READY, change "location", set to "PLAYING" again.
Works with avimux, but not with ffmux.

I attached a test program to the bug. The program runs a pipeline and
does PLAYING->NULL->PLAYING on HUP  signal.

>
> There are 2 muxer plugins for asf.
> 1)ffmpeg's ASF muxer (ffmux_asf)
> 2)There is gstasfmux.c file in gst-plugins-ugly and gst-plugins
>
> In the second approach you need to port the .c file to the current
> gstreamer.
>
> Porting of these .c file to gstreamer would be appreciated,
>
> Regards,
> Irfan
>
>
>
>
>
> -----Original Message-----
> From: Stefan Kost [mailto:ensonic at hora-obscura.de]
> Sent: Mon 10/6/2008 7:45 PM
> To: Discussion of the development of GStreamer
> Subject: Re: [gst-devel] gst-ffmpeg-0.10.5: ffmux_* can not be restarted
>
> hi,
>
> asf plugin code (in gst-plugins-ugly) has a muxer that could be ported
> to 0.10. Reusing ffmpeg components seems to be a bit tricky.
>
> Stefan
>
> Pavel Zeldin schrieb:
>> Ignorance.
>> What muxer should I use for ASF and mpeg?
>> And what's the deal with ffmux?
>> -Pavel.
>>
>> On Sun, Oct 5, 2008 at 5:49 AM, Felipe Contreras
>> <felipe.contreras at gmail.com> wrote:
>>
>>> On Fri, Oct 3, 2008 at 1:35 AM, Pavel Zeldin <pzeldin at gmail.com> wrote:
>>>
>>>> I have a pipeline with ffmux (ffmux_mpeg or ffmux_asf) which I need to
>>>> stop and restart (PLAYING->PAUSED->READY->NULL;
>>>> NULL->READY->PAUSED->PLAYING) repeatedly. It does not work because the
>>>> streams are not reset, and after restart mux sees buffers with timestamp
>>>> earlier than what it expects, outputs "error, non monotone timestamps"
>>>> and returns an error.
>>>> The same pipeline works with avimux.
>>>>
>>> FFmpeg muxers aren't properly supported, why are you trying them?
>>>
>>> --
>>> Felipe Contreras
>>>
>>> -------------------------------------------------------------------------
>>> This SF.Net email is sponsored by the Moblin Your Move Developer's
>>> challenge
>>> Build the coolest Linux based applications with Moblin SDK & win great
>>> prizes
>>> Grand prize is a trip for two to an Open Source event anywhere in the
>>> world
>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>> _______________________________________________
>>> gstreamer-devel mailing list
>>> gstreamer-devel at lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>>>
>>>
>>
>> -------------------------------------------------------------------------
>> This SF.Net email is sponsored by the Moblin Your Move Developer's
>> challenge
>> Build the coolest Linux based applications with Moblin SDK & win great
>> prizes
>> Grand prize is a trip for two to an Open Source event anywhere in the
>> world
>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>> _______________________________________________
>> gstreamer-devel mailing list
>> gstreamer-devel at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>>
>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>
> This message (including any attachment) is confidential and may be legally
> privileged. Access to this message by anyone other than the intended
> recipient(s) listed above is unauthorized. If you are not the intended
> recipient you are hereby notified that any disclosure, copying, or
> distribution of the message, or any action taken or omission of action by
> you in reliance upon it, is prohibited and may be unlawful. Please
> immediately notify the sender by reply e-mail and permanently delete all
> copies of the message if you have received this message in error.
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>
>

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
gstreamer-devel mailing list
gstreamer-devel at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel


This message (including any attachment) is confidential and may be legally privileged.  Access to this message by anyone other than the intended recipient(s) listed above is unauthorized.  If you are not the intended recipient you are hereby notified that any disclosure, copying, or distribution of the message, or any action taken or omission of action by you in reliance upon it, is prohibited and may be unlawful.  Please immediately notify the sender by reply e-mail and permanently delete all copies of the message if you have received this message in error.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20081007/ac5d865f/attachment.htm>


More information about the gstreamer-devel mailing list