<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
p, li { white-space: pre-wrap; }
</style></head><body style=" font-family:'Noto Sans'; font-size:10pt; font-weight:400; font-style:normal;">
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; "> </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Hi, I'm not a guru on FFMpeg but, according with the remuxing.c example, after av_read_frame you will have a Paket that could be audio or video packet.</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Before the decode function that extracts a video frame or audio frame, I think you can manipulate it.<br /><br /><br />In data venerdì 1 maggio 2020 22:17:09 CEST, Jorhn Madsen ha scritto:<br /></p>
<p style=" margin-top:12px; margin-bottom:18px; margin-left:40px; margin-right:40px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Arial,Helvetica Neue,Helvetica,sans-serif'; font-size:15px; color:#242729;">I have created simple RTSP player with FFmpeg(4.2.2) in C and want to understand what function in the FFmpeg source code does listen for incoming data before the parsing or decoding start ?</span></p>
<p style=" margin-top:0px; margin-bottom:18px; margin-left:40px; margin-right:40px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Arial,Helvetica Neue,Helvetica,sans-serif'; font-size:15px; color:#242729;">My server sends additional data that is concatenated in the begningen of the packet that i want to remove when receiving it by FFmpeg before doing anything else.<br /></span></p>
<p style=" margin-top:0px; margin-bottom:18px; margin-left:40px; margin-right:40px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Arial,Helvetica Neue,Helvetica,sans-serif'; font-size:15px; color:#242729;">I have looked into the function " </span><span style=" font-family:'inherit'; font-size:15px; font-weight:600; color:#242729;">av_read_frame</span><span style=" font-family:'Arial,Helvetica Neue,Helvetica,sans-serif'; font-size:15px; color:#242729;"> " inside libavformat/utils.c, but i'm not sure if that where it first happens.</span></p>
<p style=" margin-top:0px; margin-bottom:18px; margin-left:40px; margin-right:40px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Arial,Helvetica Neue,Helvetica,sans-serif'; font-size:15px; color:#242729;">Can someone please show me where it is ?</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><br /><br />-- </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">+39.347.4070897</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><a href="http://www.labcsp.com"><span style=" text-decoration: underline; color:#2980b9;">http://www.labcsp.com</span></a></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><a href="http://www.denisgottardello.it"><span style=" text-decoration: underline; color:#2980b9;">http://www.denisgottardello.it</span></a></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">GMT+1</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Skype: mrdebug</p></body></html>