[Libav-user] Which function receive the raw data before parsing/decoding in FFmpeg

Denis Gottardello info at denisgottardello.it
Fri May 1 23:56:32 EEST 2020


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.
Before the decode function that extracts a video frame or audio frame, I think you can 
manipulate it.


In data venerdì 1 maggio 2020 22:17:09 CEST, Jorhn Madsen ha scritto:


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 ?
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.


I have looked into the function " *av_read_frame* " inside libavformat/utils.c, but i'm not 
sure if that where it first happens.
Can someone please show me where it is ?


+39.347.4070897
http://www.labcsp.com[1]
http://www.denisgottardello.it[2]
GMT+1
Skype: mrdebug

--------
[1] http://www.labcsp.com
[2] http://www.denisgottardello.it
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://ffmpeg.org/pipermail/libav-user/attachments/20200501/be224b5c/attachment.html>


More information about the Libav-user mailing list