[gst-devel] Muxing video and audio
Josep Creus
creus at ac.upc.edu
Thu Apr 30 16:10:07 CEST 2009
Stefan Kost wrote:
> Josep Creus schrieb:
>
>> Hi,
>>
>> I'm missing something, I'm just trying to mux a .avi only video file
>> with a .mp3 file to get a .avi with both video an audio, quite easy, right?
>> .avi file is GStreamer generated and XviD compressed, .mp3 is also from
>> GStreamer, so I try this:
>>
>> $gst-launch-0.10 -v filesrc location="video.avi" ! avidemux !
>> mpeg4videoparse ! video/mpeg ! avimux name=muxer. ! filesink
>> location="video-audio.avi" \
>> { filesrc location="audio.mp3" ! mp3parse ! audio/mpeg ! muxer. }
>>
>
> what about this
> $gst-launch-0.10 -v filesrc location="video.avi" ! avidemux !
> mpeg4videoparse ! queue ! avimux name=muxer. ! filesink
> location="video-audio.avi" \
> filesrc location="audio.mp3" ! mp3parse ! queue ! muxer.
>
> Stefan
>
Thanks Stefan for your response.
I already tryed something similar, without success. Now there is a
internal data stream error in the avidemux element (and then "streaming
stopped, reason not linked"), before that, only the mpeg/audio pipeline
is prepared (Normal, I think). I'm on Ubuntu 9.04, if it helps somebody
see the light. Any other suggestion?
Josep
More information about the gstreamer-devel
mailing list