<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Hi all,<br><br>I am newbie with Gstreamer and I am having problems to create a pipeline to display mp4 video format.<br><br>The output of the gst-discoverer-0.10 of the related file is: <br>------------------------------------------------<br>Topology:<br> container: Quicktime<br> audio: MPEG-4 AAC<br> video: H.264<br><br>Properties:<br> Duration: 0:0Set the pipeline state to playing, so it actually displays video1:27.574000000<br> Seekable: yes<br> Tags: <br> video codec: H.264 / AVC<br> language code: en<br> audio codec: MPEG-4 AAC audio<br> maximum bitrate: 139644<br> bitrate: 139644<br> encoder: Lavf55.36.100<br> container format: ISO MP4/M4A<br>------------------------------------------------<br><br>The "producer side is working" and the output of the gst_caps_from_string() is<br><br>video/x-h264, stream-format=(string)avc, alignment=(string)au, level=(string)4.1, <br> profile=(string)high, codec_data=(buffer)01640029ffe1003527640029ac34c80780227e5c05b808080a000007d20001d4c1d0c000e4e00000e4e1d77971a18001c9c00001c9c3aef2e1f088451601000428ee3830, width=(int)1920, height=(int)1080, framerate=(fraction)30000/1001, pixel-aspect-ratio=(fraction)1/1<br><br>In the "Consumer side" I tried something similar with the previous caps but without success and the GStreamer thrown an error and defined the following caps:<br><br>video/quicktime; video/mj2; audio/x-m4a; application/x-3gp<br><br><br><br>I have managed to create a pipeline with the following line but for VP8 encoding format:<br><br>(GstPipeline *)gst_parse_launch(<br> "appsrc name=\"src\" is-live=\"true\" do-timestamp=\"true\" "<br> "caps=\"video/x-vp8, width=(int)640, height=(int)360, "<br> "pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)1000/1\" ! queue2 ! "<br> " vp8dec ! ffmpegcolorspace ! ximagesink sync=\"false\" ",<br> NULL); <br><br><br>I need something similar to this but I haven't manage to find. <br><br>Please let me know if you know what is the issue.<br><br>Thanks in advance,<br>Joćo MSM<br> </div></body>
</html>