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.
<b><h3>Step 1 : create avi for testing</h3></b>
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.avi
in 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/s
So all looks fine....
<b>Step 2 : take test_file_A.avi, demux, mux it into test_file_B.avi</b><h3></h3>
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.avi
ffprobe reports
Input #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 tbc
So 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_1
DEM.audio_01
DEM.audio_00
any suggestions would be much appreciated,
thx
Art
<br/><hr align="left" width="300" />
View this message in context: <a href="http://gstreamer-devel.966125.n4.nabble.com/Some-help-understanding-demuxing-muxing-V-A-tp4664005.html">Some help understanding demuxing - muxing V+A</a><br/>
Sent from the <a href="http://gstreamer-devel.966125.n4.nabble.com/">GStreamer-devel mailing list archive</a> at Nabble.com.<br/>