<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7653.38">
<TITLE>RE: [gst-devel] gst-ffmpeg-0.10.5: ffmux_* can not be restarted</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->
<BR>
<P><FONT SIZE=2>Hi try using asfdemux instead instead ffdemux_asf,<BR>
It should work..<BR>
<BR>
Inform me if it works<BR>
<BR>
Regards,<BR>
Irfan<BR>
<BR>
<BR>
-----Original Message-----<BR>
From: Pavel Zeldin [<A HREF="mailto:pzeldin@gmail.com">mailto:pzeldin@gmail.com</A>]<BR>
Sent: Tue 10/7/2008 4:57 AM<BR>
To: Discussion of the development of GStreamer<BR>
Subject: Re: [gst-devel] gst-ffmpeg-0.10.5: ffmux_* can not be restarted<BR>
<BR>
On Mon, Oct 6, 2008 at 10:34 AM, Irfan Shaikh<BR>
<irfanshaikh@tataelxsi.co.in> wrote:<BR>
><BR>
> hi,<BR>
> Can you just explain in brief, watz the problem you are facing with<BR>
> ffmux_asf.If you explain with the pipeline i would be more clear.<BR>
For the pipeline like this:<BR>
videotestsrc ! ffmpegcolorspace ! timeoverlay ! ffenc_msmpeg4 !<BR>
ffmux_asf ! ffdemux_asf ! ffdec_msmpeg4 ! ffmpegcolorspace !<BR>
ximagesink<BR>
When the pipeline goes NULL->PLAYING .. PLAYING->NULL .. NULL->PLAYING<BR>
I expect to see the timestamps reset to zero on second NULL->PLAYING<BR>
transition. It does not happen. If the pipeline<BR>
does not have 'fmux_asf ! ffdemux_asf' it works as expected.<BR>
<BR>
I tried avimux as well, but there are bugs in gstavidemux.c that<BR>
prevent it from working :-(<BR>
<BR>
What I really need to do is to create a recording application that<BR>
quikly rotates the file (close, open new). I am using<BR>
filesink and when size or time limit is exceeded set pipeline to<BR>
READY, change "location", set to "PLAYING" again.<BR>
Works with avimux, but not with ffmux.<BR>
<BR>
I attached a test program to the bug. The program runs a pipeline and<BR>
does PLAYING->NULL->PLAYING on HUP signal.<BR>
<BR>
><BR>
> There are 2 muxer plugins for asf.<BR>
> 1)ffmpeg's ASF muxer (ffmux_asf)<BR>
> 2)There is gstasfmux.c file in gst-plugins-ugly and gst-plugins<BR>
><BR>
> In the second approach you need to port the .c file to the current<BR>
> gstreamer.<BR>
><BR>
> Porting of these .c file to gstreamer would be appreciated,<BR>
><BR>
> Regards,<BR>
> Irfan<BR>
><BR>
><BR>
><BR>
><BR>
><BR>
> -----Original Message-----<BR>
> From: Stefan Kost [<A HREF="mailto:ensonic@hora-obscura.de">mailto:ensonic@hora-obscura.de</A>]<BR>
> Sent: Mon 10/6/2008 7:45 PM<BR>
> To: Discussion of the development of GStreamer<BR>
> Subject: Re: [gst-devel] gst-ffmpeg-0.10.5: ffmux_* can not be restarted<BR>
><BR>
> hi,<BR>
><BR>
> asf plugin code (in gst-plugins-ugly) has a muxer that could be ported<BR>
> to 0.10. Reusing ffmpeg components seems to be a bit tricky.<BR>
><BR>
> Stefan<BR>
><BR>
> Pavel Zeldin schrieb:<BR>
>> Ignorance.<BR>
>> What muxer should I use for ASF and mpeg?<BR>
>> And what's the deal with ffmux?<BR>
>> -Pavel.<BR>
>><BR>
>> On Sun, Oct 5, 2008 at 5:49 AM, Felipe Contreras<BR>
>> <felipe.contreras@gmail.com> wrote:<BR>
>><BR>
>>> On Fri, Oct 3, 2008 at 1:35 AM, Pavel Zeldin <pzeldin@gmail.com> wrote:<BR>
>>><BR>
>>>> I have a pipeline with ffmux (ffmux_mpeg or ffmux_asf) which I need to<BR>
>>>> stop and restart (PLAYING->PAUSED->READY->NULL;<BR>
>>>> NULL->READY->PAUSED->PLAYING) repeatedly. It does not work because the<BR>
>>>> streams are not reset, and after restart mux sees buffers with timestamp<BR>
>>>> earlier than what it expects, outputs "error, non monotone timestamps"<BR>
>>>> and returns an error.<BR>
>>>> The same pipeline works with avimux.<BR>
>>>><BR>
>>> FFmpeg muxers aren't properly supported, why are you trying them?<BR>
>>><BR>
>>> --<BR>
>>> Felipe Contreras<BR>
>>><BR>
>>> -------------------------------------------------------------------------<BR>
>>> This SF.Net email is sponsored by the Moblin Your Move Developer's<BR>
>>> challenge<BR>
>>> Build the coolest Linux based applications with Moblin SDK & win great<BR>
>>> prizes<BR>
>>> Grand prize is a trip for two to an Open Source event anywhere in the<BR>
>>> world<BR>
>>> <A HREF="http://moblin-contest.org/redirect.php?banner_id=100&url=/">http://moblin-contest.org/redirect.php?banner_id=100&url=/</A><BR>
>>> _______________________________________________<BR>
>>> gstreamer-devel mailing list<BR>
>>> gstreamer-devel@lists.sourceforge.net<BR>
>>> <A HREF="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</A><BR>
>>><BR>
>>><BR>
>><BR>
>> -------------------------------------------------------------------------<BR>
>> This SF.Net email is sponsored by the Moblin Your Move Developer's<BR>
>> challenge<BR>
>> Build the coolest Linux based applications with Moblin SDK & win great<BR>
>> prizes<BR>
>> Grand prize is a trip for two to an Open Source event anywhere in the<BR>
>> world<BR>
>> <A HREF="http://moblin-contest.org/redirect.php?banner_id=100&url=/">http://moblin-contest.org/redirect.php?banner_id=100&url=/</A><BR>
>> _______________________________________________<BR>
>> gstreamer-devel mailing list<BR>
>> gstreamer-devel@lists.sourceforge.net<BR>
>> <A HREF="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</A><BR>
>><BR>
><BR>
><BR>
> -------------------------------------------------------------------------<BR>
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge<BR>
> Build the coolest Linux based applications with Moblin SDK & win great<BR>
> prizes<BR>
> Grand prize is a trip for two to an Open Source event anywhere in the world<BR>
> <A HREF="http://moblin-contest.org/redirect.php?banner_id=100&url=/">http://moblin-contest.org/redirect.php?banner_id=100&url=/</A><BR>
> _______________________________________________<BR>
> gstreamer-devel mailing list<BR>
> gstreamer-devel@lists.sourceforge.net<BR>
> <A HREF="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</A><BR>
><BR>
> This message (including any attachment) is confidential and may be legally<BR>
> privileged. Access to this message by anyone other than the intended<BR>
> recipient(s) listed above is unauthorized. If you are not the intended<BR>
> recipient you are hereby notified that any disclosure, copying, or<BR>
> distribution of the message, or any action taken or omission of action by<BR>
> you in reliance upon it, is prohibited and may be unlawful. Please<BR>
> immediately notify the sender by reply e-mail and permanently delete all<BR>
> copies of the message if you have received this message in error.<BR>
><BR>
> -------------------------------------------------------------------------<BR>
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge<BR>
> Build the coolest Linux based applications with Moblin SDK & win great<BR>
> prizes<BR>
> Grand prize is a trip for two to an Open Source event anywhere in the world<BR>
> <A HREF="http://moblin-contest.org/redirect.php?banner_id=100&url=/">http://moblin-contest.org/redirect.php?banner_id=100&url=/</A><BR>
> _______________________________________________<BR>
> gstreamer-devel mailing list<BR>
> gstreamer-devel@lists.sourceforge.net<BR>
> <A HREF="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</A><BR>
><BR>
><BR>
<BR>
-------------------------------------------------------------------------<BR>
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge<BR>
Build the coolest Linux based applications with Moblin SDK & win great prizes<BR>
Grand prize is a trip for two to an Open Source event anywhere in the world<BR>
<A HREF="http://moblin-contest.org/redirect.php?banner_id=100&url=/">http://moblin-contest.org/redirect.php?banner_id=100&url=/</A><BR>
_______________________________________________<BR>
gstreamer-devel mailing list<BR>
gstreamer-devel@lists.sourceforge.net<BR>
<A HREF="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</A><BR>
<BR>
</FONT>
</P>
<p>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.</p>
</BODY>
</HTML>