Some help understanding demuxing - muxing V+A

art vanderhoff gstream at ccc2.com
Thu Dec 12 23:57:54 PST 2013


Hi All,I am having some trouble getting demuxing to work on 1.2.1. I think I
understand the concept but can't get the pipelines to work.*
Step 1 : create avi for testing
*gst-launch-1.0 \videotestsrc num-buffers=250  ! videoconvert  !
\'video/x-raw,format=(string)I420,width=320,height=240,framerate=(fraction)25/1'
! Mux. \audiotestsrc num-buffers=441 ! Mux. \avimux name=Mux !  filesink 
location=/home/content/test_file_A.aviin ffprobe it reports Input #0, avi,
from 'test_file_A.avi':  Duration: 00:00:10.00, start: 0.000000, bitrate:
23776 kb/s    Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p,
320x240, 25 tbr, 25 tbn, 25 tbc    Stream #0:1: Audio: pcm_s16le
([1][0][0][0] / 0x0001), 44100 Hz, 1 channels, s16, 705 kb/sSo all looks
fine....*Step 2 : take test_file_A.avi, demux, mux it into test_file_B.avi*
gst-launch-1.0  -m \filesrc location=/home/disk1/content2/test/a.avi  !
\avidemux name=DEM  \DEM.audio_0 ! audioconvert !
'audio/x-raw,format=S16LE,channels=1' ! queue Mux. \DEM.video_0 !
videoconvert !
'video/x-raw,format=(string)I420,width=320,height=240,framerate=(fraction)25/1'
! Mux. \avimux name=Mux !  filesink 
location=/home/content/test_file_B.aviffprobe reportsInput #0, avi, from
'test_file_B.avi':  Duration: N/A, start: 0.000000, bitrate: N/A    Stream
#0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 320x240, 25 tbr, 25 tbn,
25 tbcSo my Q. is why doesn't the audio stream come through on the demux /
mux pass.NB: I have tried a lot of permutations such as
DEM.audio_1DEM.audio_01DEM.audio_00any suggestions would be much
appreciated,thxArt



--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Some-help-understanding-demuxing-muxing-V-A-tp4664005.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20131212/6bc32581/attachment.html>


More information about the gstreamer-devel mailing list