[gst-devel] FW: ffmux_asf Query

Irfan Shaikh irfanshaikh at tataelxsi.co.in
Mon Sep 22 09:37:04 CEST 2008


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 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]
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20080922/b8424cd5/attachment.htm>


More information about the gstreamer-devel mailing list