<div dir="ltr">Hi all,<div><br></div><div>I wanted to play with gst-rtsp-server with appsrc to stream and chain several videos.</div><div>I based then my work on gst-rtsp tutorial (test-appsrc.c).</div><div><br></div><div>
I am able to stream a mp4 (video h264) but I see issues when trying to switch to the next file.</div><div><br></div><div>First, once I had an EOS while reading my first file, I switch the reading on the second file descriptor, but I saw that rtsp-media.c received an EOS.</div>
<div><br></div><div>To simplify it, I made the file switching after reading 10Mb of the first file.</div><div>Then I am avoiding EOS on rtsp-media.c but the second video failed to stream...</div><div><br></div><div><br></div>
<div>See all the source in </div><div><a href="http://fpaste.org/81073/35398139/">http://fpaste.org/81073/35398139/</a></div><div><br></div><div>As we are manipulating buffer, I was thinking that I could easily append datastream.</div>
<div>But here, I am appending the whole mp4 file (not only the stream data). </div><div><br></div><div>So I guess that is the reason why I am not able to stream correctly the second file. Am I right ? </div><div><br></div>
<div>Would it be a good solution to perform a fseek on data section ? I tried it but failed...</div><div><br></div><div>Any help is welcomed.</div><div><br></div><div>Thanks,</div><div><br></div><div>Eloi</div><div><br></div>
<div><br></div></div>