<html><head></head><body><div class="ydp7f378762yahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;"><div dir="ltr" data-setdir="false">Hello gstreamer-developers,</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">I was using Debian 9 (Gstreamer 1.10.4) and several PCAP files were correctly erroring out while I try to pause/play the playbin. However, I recently switched to Debian 10 and I started seeing that the playbin pause and play would succeed for the same PCAP file in gstreamer 1.14.4 and would cause the program to crash. </div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">For simplification, I worked on a standalone Cpp and have attached it to the email. Please change the path/name of the file. In my application I need to follow the below steps multiple times for the same file:</div><div dir="ltr" data-setdir="false"><span>creating the playbin --> setting it to pause --> setting it to play --> setting it to NULL</span><br></div><div dir="ltr" data-setdir="false"><span><span>I was able to mimic the behavior by using a for loop in the standalone code.</span><br></span></div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">The file I used can be found here:</div><div dir="ltr" data-setdir="false"><a href="https://drive.google.com/open?id=1frtrLwR5y8315K6FwuJ4kUZ8xa1U79y" rel="nofollow" target="_blank">https://drive.google.com/open?id=1frtrLwR5y8315K6FwuJ4kUZ8xa1U79y</a> OR this link can be used to download it as well: <a href="https://data.kitware.com/api/v1/item/5b7ffd048d777f06857cb52d/download" rel="nofollow" target="_blank">https://data.kitware.com/api/v1/item/5b7ffd048d777f06857cb52d/download</a><br></div><div><br></div><div dir="ltr" data-setdir="false">Here are my results with using gst-launch-1.0:</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false"><div><div>Debian 9: Gstreamer errors out as expected:</div><div><br></div><div>% gst-launch-1.0 playbin uri=file:///tmp/sampleCar.pcap video-sink=appsink audio-sink=fakesink text-sink=fakesink</div><div>Setting pipeline to PAUSED ...</div><div>Pipeline is PREROLLING ...</div><div>ERROR: from element /GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstMad:mad0: No valid frames decoded before end of stream</div><div>Additional debug info:</div><div>gstaudiodecoder.c(2289): gst_audio_decoder_sink_eventfunc (): /GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstMad:mad0:</div><div>no valid frames found</div><div>ERROR: pipeline doesn't want to preroll.</div><div>Setting pipeline to NULL ...</div><div>Freeing pipeline </div><div><br></div><div><br></div><div>Debian 10: Gstreamer asserts:</div><div><br></div><div dir="ltr" data-setdir="false">% gst-launch-1.0 playbin uri= <span><span style="color: rgb(0, 0, 0); font-family: Helvetica Neue, Helvetica, Arial, sans-serif; font-size: 16px;">file:///tmp/sampleCar.pcap</span></span> video-sink=appsink audio-sink=fakesink text-sink=fakesink</div><div>Setting pipeline to PAUSED ...</div><div>Pipeline is PREROLLING ...</div><div>Pipeline is PREROLLED ...</div><div>Setting pipeline to PLAYING ...</div><div>New clock: GstSystemClock</div><div>Got EOS from element "playbin0".</div><div>Execution ended after 0:00:00.019542041</div><div>Setting pipeline to PAUSED ...</div><div>Setting pipeline to READY ...</div><div>Setting pipeline to NULL ...</div><div>Freeing pipeline ...</div></div><div><br></div><div dir="ltr" data-setdir="false">Can you please confirm if it is a bug in Gstreamer 1.14.4?</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">Thanks,</div><div dir="ltr" data-setdir="false">Nalini</div><br></div></div></body></html>