[gst-devel] FW: ffmux_asf Query

Irfan Shaikh irfanshaikh at tataelxsi.co.in
Mon Sep 22 13:37:06 CEST 2008


Hi,
    First of all  thanks for yur reply...Yaa i wanted to use ffenc_mpeg4....
But still i dont get the appropiate o/p file with ASF container...

1) Can you please help me in solving this problem....to mux the audio video file formats in ASF container format.
2) what changes do i need to do to make ffenc_mpeg4 caps compatible with ffmux_asf.

Thanking you in advance,

Regards,
Irfan









-----Original Message-----
From: thiagoss [mailto:thiagossantos at gmail.com]
Sent: Mon 9/22/2008 4:32 PM
To: Discussion of the development of GStreamer
Subject: Re: [gst-devel] FW: ffmux_asf Query
 
On Mon, Sep 22, 2008 at 4:37 AM, Irfan Shaikh
<irfanshaikh at tataelxsi.co.in>wrote:

>
> Hi ved,
>
>         As per ur suggestions i hav been trying to use ffmux_asf. I hav
> been
> looking into the source code of ffmpegs muxer code.
>
> I have been trying to mux the videotestsrc and audiotestsrc using
> ffmux_asf.
> but i am not able to get any output file.
> Will you please help to achieve o/p ASF file.
>
> I used,
>
>         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
>
This is wrong "videotestsrc ! ffdec_mpeg4", videotestsrc does not generate
mpeg4 video streams. I suppose you were trying to use ffenc_mpeg4. Right?
Even so, ffmux_asf caps are not compatible with ffenc_mpeg4.

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


-- 
Thiago Sousa Santos

Embedded Systems and Pervasive Computing Lab (Embedded)
Center of Electrical Engineering and Informatics (CEEI)
Federal University of Campina Grande (UFCG)


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/20080922/031ee117/attachment.htm>


More information about the gstreamer-devel mailing list