<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div>uses RTP/RTCP and/or RTSP</div><div><br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', times, serif; background-color: transparent; font-style: normal;">RTP/RTCP to transport your stream (audio, video subtitle I suppose ) and betwe0en them this different streams</div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', times, serif; background-color: transparent; font-style: normal;">optionaly RTSP to correctly setup your movie player(the transport typecodec in use, duration of this movies ect ), to control </div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', times, serif; background-color: transparent; font-style: normal;">the transmission pause, play, end.</div><div style="color:
 rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', times, serif; background-color: transparent; font-style: normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', times, serif; background-color: transparent; font-style: normal;">after demux your container file, retrieve the good RTPs payloaders to emit your différents stream</div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', times, serif; background-color: transparent; font-style: normal;">there is a rtp payloader for video coded with thearo for example etc...</div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', times, serif; background-color: transparent; font-style: normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', times, serif; background-color: transparent;
 font-style: normal;">after passing each stream to it proper payloader you shoul make some rtp-bin élément responsible for the transmission</div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', times, serif; background-color: transparent; font-style: normal;">and delay over the network.</div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', times, serif; background-color: transparent; font-style: normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', times, serif; background-color: transparent; font-style: normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', times, serif; background-color: transparent; font-style: normal;">"fksrc" -->"demux"-->"payloader"-->"rtp-bin"-->"udp"  (server)</div><div style="color: rgb(0, 0, 0); font-size:
 16px; font-family: 'times new roman', 'new york', times, serif; background-color: transparent; font-style: normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', times, serif; background-color: transparent; font-style: normal;">"udp"-->"depayloader"-->"decoder"-->"screen+son card" (client)</div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', times, serif; background-color: transparent; font-style: normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', times, serif; background-color: transparent; font-style: normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', times, serif; background-color: transparent; font-style: normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york',
 times, serif; background-color: transparent; font-style: normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', times, serif; background-color: transparent; font-style: normal;"> </div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', times, serif; background-color: transparent; font-style: normal;"><br></div>  <div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;"> <div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;"> <div dir="ltr"> ----- Mail transféré -----<br>  <font size="2" face="Arial"> <b><span style="font-weight:bold;">De :</span></b> pablorl <pabloxrl@gmail.com><br> <b><span style="font-weight: bold;">À :</span></b> gstreamer-devel@lists.freedesktop.org <br> <b><span style="font-weight: bold;">Envoyé le :</span></b> Vendredi 28 juin 2013 14h08<br>
 <b><span style="font-weight: bold;">Objet :</span></b> Unable to handle audio in MP4 (H264 + EC3)<br> </font> </div> <div class="y_msg_container"><br>Hi guys,<br><br>I'm trying to build a pipeline in order to be able to reproduce video and<br>audio from a MP4 file at the same time. My next goal is to stream the audio<br>via UDP and visualize the video, but I'm having troubles with the formats, I<br>presume, because of the audio and my lack of experience with Gstreamer.<br><br>So far, I'm using 2 MP4 files for my testing purposes:<br><br>-<br><a href="http://www.auby.no/files/video_tests/h264_720p_mp_3.1_3mbps_aac_shrinkage.mp4" target="_blank">http://www.auby.no/files/video_tests/h264_720p_mp_3.1_3mbps_aac_shrinkage.mp4</a><br><br>- Second file is a h264 + .ec3 (.MP4) file that I created from 2 separate<br>files, and now I need to process in the way I described before.<br><br>My pipeline looks like: <br><br>/gst-launch-0.10 filesrc
 location=input.mp4 ! qtdemux name=demux \ <br>demux.video_00 ! queue ! decodebin ! ffmpegcolorspace ! videoscale !<br>autovideosink \<br>demux. ! queue ! faad ! audioconvert ! audioresample ! autoaudiosink/<br><br>And with the first file works like a charm, video and audio are well<br>synchronized.<br><br>However, with the second one something strange happens. The image stands<br>still, I can't hear any audio and gst-launch is not giving me any hint.<br><br>If I try to split the pipelines this way:<br><br>Audio:<br><br>/gst-launch-0.10 filesrc location=input.mp4 ! qtdemux name=demux \ demux. !<br>queue ! faad ! audioconvert ! audioresample ! alsasink<br>/<br>Video:<br><br>/gst-launch-0.10 filesrc location=video2.mp4 ! qtdemux name=demux <br>demux.video_00 ! decodebin ! ffmpegcolorspace ! videoscale ! autovideosink<br>/<br>For file number 1, video and audio work perfectly. However, for file number<br>2, only video works and audio outputs the
 following:<br><br>/Setting pipeline to PAUSED ...<br>Pipeline is PREROLLING ...<br>ERROR: from element /GstPipeline:pipeline0/GstQTDemux:demux: GStreamer<br>encountered a general stream error.<br>Additional debug info:<br>qtdemux.c(3891): gst_qtdemux_loop ():<br>/GstPipeline:pipeline0/GstQTDemux:demux:<br>streaming stopped, reason not-linked<br>ERROR: pipeline doesn't want to preroll.<br>Setting pipeline to NULL ...<br>Freeing pipeline .../<br><br>Furthermore, when I try to typefind the files they give me the same output:<br><br>/video1.mp4 - video/quicktime, variant=(string)iso/<br>/video2.mp4 - video/quicktime, variant=(string)iso/<br><br><br><br>So could somebody shed light over this issue? Looks like is related with<br>.ec3 audio format, but my skills with Gstreamer don't arrive further.<br><br><br><br><br><br><br><br>--<br>View this message in context: <a
 href="http://gstreamer-devel.966125.n4.nabble.com/Unable-to-handle-audio-in-MP4-H264-EC3-tp4660796.html" target="_blank">http://gstreamer-devel.966125.n4.nabble.com/Unable-to-handle-audio-in-MP4-H264-EC3-tp4660796.html</a><br>Sent from the GStreamer-devel mailing list archive at Nabble.com.<br>_______________________________________________<br>gstreamer-devel mailing list<br><a ymailto="mailto:gstreamer-devel@lists.freedesktop.org" href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br><a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br><br><br></div> </div> </div>  </div></body></html>