muxing streams

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

muxing streams

Henrique Ferreiro García-2
Hi all!

I have extracted the video and audio streams from a matroska file
getting:

mkv.0: JVT NAL sequence, H.264 video @ L 31
mkv.1: ATSC A/52 aka AC-3 aka Dolby Digital stream, 48 kHz,, complete
main (CM) 3 front/2 rear, LFE on,, 448 kbit/s reserved Dolby Surround
mode

Afterwards, I have run the following:

gst-launch-0.10 filesrc location=mkv.0 ! queue ! mux.video_0 avimux
name=mux ! queue ! filesink location=house.avi filesrc location=mkv.1 !
queue ! mux.audio_0

But the end result is a unplayable file. This is the output from
mplayer:

AVI file format detected.
[aviheader] Video stream found, -vid 0
[aviheader] Audio stream found, -aid 1
Detected NON-INTERLEAVED AVI file format.
VIDEO:  []  0x0  0bpp    nan fps  -17179870.0 kbps (-2097152.0 kbyte/s)
FPS not specified in the header or invalid, use the -fps option.
==========================================================================
Forced audio codec: mad
Opening audio decoder: [pcm] Uncompressed PCM audio decoder
Unknown/missing audio format -> no sound
ADecoder init failed :(
Cannot find codec for audio format 0x0.
Read DOCS/HTML/en/codecs.html!
Audio: no sound
Video: no video

Am I doing something wrong?

--
Henrique Ferreiro García <[hidden email]>


-------------------------------------------------------------------------
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: muxing streams

Felipe Contreras
On Mon, Sep 29, 2008 at 1:19 AM, Henrique Ferreiro García
<[hidden email]> wrote:

> Hi all!
>
> I have extracted the video and audio streams from a matroska file
> getting:
>
> mkv.0: JVT NAL sequence, H.264 video @ L 31
> mkv.1: ATSC A/52 aka AC-3 aka Dolby Digital stream, 48 kHz,, complete
> main (CM) 3 front/2 rear, LFE on,, 448 kbit/s reserved Dolby Surround
> mode
>
> Afterwards, I have run the following:
>
> gst-launch-0.10 filesrc location=mkv.0 ! queue ! mux.video_0 avimux
> name=mux ! queue ! filesink location=house.avi filesrc location=mkv.1 !
> queue ! mux.audio_0

You already asked this question didn't you? There's no way the muxer
can know what is the input coming from filesrc.

It seems mkv.0 and .1 came from a clip, why not write the whole
pipeline for gst-launch?

--
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

watz wrong in the pipeline ??

Irfan Shaikh-2
watz wrong in the pipeline ??

Hi all,

 gst-launch-0.10 videotestsrc ! mux.ffenc_mpeg4 ffmux_asf name=mux ! queue ! filesink location=/root/Desktop ! queue ! audiotestsrc ! mux.ffenc_mp2

PLease suggest me correct pipeline...So that i ccan be able to mux the above test streams

Regards,
Irfan

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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: muxing streams

Henrique Ferreiro García-2
In reply to this post by Felipe Contreras
> You already asked this question didn't you? There's no way the muxer
> can know what is the input coming from filesrc.

Sorry, I sended it twice without noticing.

> It seems mkv.0 and .1 came from a clip, why not write the whole
> pipeline for gst-launch?

I have written the whole story in other mail. Please answer there.

--
Henrique Ferreiro García <[hidden email]>


-------------------------------------------------------------------------
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel