<!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>FW: ffmux_asf Query</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->
<BR>

<P><FONT SIZE=2>Hi ved,<BR>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; As per ur suggestions i hav been trying to use ffmux_asf. I hav been<BR>
looking into the source code of ffmpegs muxer code.<BR>
<BR>
I have been trying to mux the videotestsrc and audiotestsrc using ffmux_asf.<BR>
but i am not able to get any output file.<BR>
Will you please help to achieve o/p ASF file.<BR>
<BR>
I used,<BR>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; gst-launch audiotestsrc ! ffenc_g726 ! queue ! mux.audio_0 videotestsrc ! ffdec_mpeg4 ! queue ! mux.video_0 ffmux_asf name=mux ! filesink location=/root/Desktop/vidaud.asf<BR>
<BR>
<BR>
This is also not working, Please help me regarding this pipeline if this works i fine i will be half way through,<BR>
Since i can conclude if i use appropiate encoders for file formats needs to be supported ffmux_asf can work properly.<BR>
<BR>
Will finish going through the source code by Evening so as to be more clear about ffmux_asf plug-in.<BR>
<BR>
Regards,<BR>
Irfan<BR>
<BR>
<BR>
<BR>
<BR>
-----Original Message-----<BR>
From: ved kpl [<A HREF="mailto:ved.kpl@gmail.com">mailto:ved.kpl@gmail.com</A>]<BR>
Sent: Friday, September 19, 2008 11:13 AM<BR>
To: irfanshaikh@tataelxsi.co.in<BR>
Cc: Discussion of the development of GStreamer<BR>
Subject: Re: ffmux_asf Query<BR>
<BR>
<BR>
HI,<BR>
<BR>
Is the dat file elementary stream or some container format?. If its<BR>
just an elementary stream then u need a parse ( h264parse) in between.<BR>
&nbsp;(filesrc ! 'video/x-h264' ! h264parse ! ... ) . But then its&nbsp; a DAT<BR>
file, so probably you need to strip off the unwanted bytes in it<BR>
before giving it to h264parse. ffmux_asf , guess does not take h264 so<BR>
add h264 decoder and supported encoder also.<BR>
<BR>
What mpeg4 data does mpeg4_mp3.asf have? Check the formats that<BR>
ffmux_asf supports.<BR>
<BR>
Ved<BR>
<BR>
On Fri, Sep 19, 2008 at 10:39 AM, irfanshaikh<BR>
&lt;irfanshaikh@tataelxsi.co.in&gt; wrote:<BR>
&gt;<BR>
&gt; Hi Ved,<BR>
&gt;<BR>
&gt; 1) As you replied, reading the elementary stream from file directly<BR>
(filesrc<BR>
&gt; ! mux),wont work. The filesrc wont attach any caps and no timestamp to the<BR>
&gt; buffer and of course no parsed data.<BR>
&gt;<BR>
&gt; For the following:<BR>
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; gst-launch filesrc location=/root/Desktop/audioVideo/CodecH264.dat<BR>
!<BR>
&gt; ffmux_asf ! filesink&nbsp;&nbsp;&nbsp; location=/root/Desktop/ajit1.asf<BR>
&gt;<BR>
&gt; Can i know the alternative ? Or else if it is the implementation issue,<BR>
can<BR>
&gt; you suggest me where all in the plugin-code{functions} do i have to make<BR>
&gt; changes so as i can be able to mux the audio/video data from the encoded<BR>
&gt; audio/video files.<BR>
&gt;<BR>
&gt; Above issue is more critical to me. I would be thankful to you a lot.<BR>
&gt;<BR>
&gt;<BR>
&gt; 2)[root@localhost ffmpeg]# gst-launch filesrc<BR>
&gt; location=/root/Desktop/teststreams/mpeg4/mpeg4_mp3.ASF ! asfdemux<BR>
name=demux<BR>
&gt; demux.audio_00 ! queue ! mux.audio_0 demux.video_00 ! queue ! mux.video_0<BR>
&gt; ffmux_asf name=mux ! filesink&nbsp;&nbsp; location=/root/Desktop/test2.asf<BR>
&gt;<BR>
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; I hav tried using asfdemux but yet i am not able to MUX the<BR>
audiodata.I am<BR>
&gt; getting the o/p file of zero bytes.<BR>
&gt;<BR>
&gt; THANKING YOU,<BR>
&gt;<BR>
&gt; Regards,<BR>
&gt; Irfan.<BR>
&gt;<BR>
&gt;<BR>
&gt; The information contained in this electronic message and any attachments<BR>
to this message are intended for the exclusive use of the addressee(s) and<BR>
may contain proprietary, confidential or privileged information. If you are<BR>
not the intended recipient, you should not disseminate, distribute or copy<BR>
this e-mail. Please notify the sender immediately and destroy all copies of<BR>
this message and any attachments contained in it.<BR>
&gt;<BR>
<BR>
<BR>
<BR>
<BR>
<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>