<html><head></head><body><div style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:13px;"><div>Hello everyone, </div><div><br></div><div>I am having trouble using gst-launch on Debian 9 (Gstreamer version 1.10.4) with MP4 files. I have experienced the same issue in Ubuntu 18.04 Beta version as well. I do not experience these issues with Gstreamer version 1.4.4.</div><div>I have uploaded a couple of sample files here:</div><div><a href="https://drive.google.com/open?id=1QQ2KngjAXluFD-woOeRVcP2cQib6H62u" rel="nofollow" target="_blank">https://drive.google.com/open?id=1QQ2KngjAXluFD-woOeRVcP2cQib6H62u</a><br></div><div><a href="https://drive.google.com/open?id=15xZ1wcuQBN7pPxU7Ru08hSR7YagUQV6w" rel="nofollow" target="_blank" class="">https://drive.google.com/open?id=15xZ1wcuQBN7pPxU7Ru08hSR7YagUQV6w</a></div><div><br></div><div>The command I execute is:</div><div><span>gst-launch-1.0 playbin uri=file://xylophone.mp4 video-sink=appsink</span></div><div><span><br></span></div><div><span>I get: </span></div><div><span><span><div>Setting pipeline to PAUSED ...</div><div>Pipeline is PREROLLING ...</div><div>Redistribute latency...</div><div>Redistribute latency...</div><div>Pipeline is PREROLLED ...</div><div>Setting pipeline to PLAYING ...</div><div>New clock: GstSystemClock</div><div><br></div></span>The system stalls at that point and when I debug using GDB, I get the following stack trace:</span></div><div><a href="https://drive.google.com/open?id=1ipbmIS3VsIVKIj4ZxKkim0CHVMgsOU85" rel="nofollow" target="_blank">https://drive.google.com/open?id=1ipbmIS3VsIVKIj4ZxKkim0CHVMgsOU85</a><span><br></span></div><div><span><br></span></div><div><span>After that when I execute Ctrl+C, I see the following on the screen:</span></div><div><span><span><div>^C handling interrupt.</div><div>Interrupt: Stopping pipeline ...</div><div>Execution ended after 0:02:39.636421528</div><div>Setting pipeline to PAUSED ...</div><div><br></div><div>Again the system stalls and the stack trace looks like:</div><div><a href="https://drive.google.com/open?id=1MzKpg-eIKCZQhs7fkGoFmB3L0t-72GUw" rel="nofollow" target="_blank" class="">https://drive.google.com/open?id=1MzKpg-eIKCZQhs7fkGoFmB3L0t-72GUw</a><br></div><div><br></div><div>I have to hit Ctrl+C again to get out of the execution. <br></div></span></span></div><div><span><br></span></div><div><span>Please note that the following commands work fine:</span></div><div><span><span>gst-launch-1.0 playbin uri= <span><span style="color: rgb(0, 0, 0); font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;">file://xylophone.mp4    </span></span></span><br></span></div><div><span><span><span>gst-launch-1.0 playbin uri=<span><span style="color: rgb(0, 0, 0); font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;">file://xylophone.mp4</span></span> video-sink=xvimagesink </span><br></span></span></div><div><span><span><span><br></span></span></span></div><div><span><span><span>The above means default video-sink (which is screen) and xvimagesink (screen renderer) works fine but appsink stalls. Even video-sink=fakesink works. </span></span></span></div><div><span><span><span><br></span></span></span></div><div><span><span><span>My application requires reading frame data and hence I use appsink to access those decoded buffers.</span></span></span></div><div><span><span><span><br></span></span></span></div><div><span><span><span>I would very much appreciate if someone can help me with this issue. </span></span></span></div><div><span><span><span><br></span></span></span></div><div><span><span><span>Thanks,</span></span></span></div><div><span><span><span>Nalini</span></span></span></div></div></body></html>