2024-07-08
한어Русский языкEnglishFrançaisIndonesianSanskrit日本語DeutschPortuguêsΕλληνικάespañolItalianoSuomalainenLatina
FFmpeg-bezogene Datensätze:
Beispielprojekt:
[FFmpeg] Rufen Sie die ffmpeg-Bibliothek auf, um 264 Soft Editing zu implementieren
[FFmpeg] Rufen Sie die ffmpeg-Bibliothek auf, um 264 Soft-Dekodierung zu implementieren
[FFmpeg] Rufen Sie die ffmpeg-Bibliothek auf, um RTMP-Streams zu pushen und zu ziehen
[FFmpeg] Rufen Sie die ffmpeg-Bibliothek zum Rendern nach der SDL2-Dekodierung auf
Prozessanalyse:
[FFmpeg] Eine einfache Analyse der Hauptfunktionen des Codierungslinks
[FFmpeg] Einfache Analyse der Hauptfunktionen auf dem Decodierungslink
Strukturanalyse:
【FFmpeg】AVCodec-Struktur
【FFmpeg】AVCodecContext-Struktur
【FFmpeg】AVStream-Struktur
【FFmpeg】AVFormatContext-Struktur
【FFmpeg】AVIOContext-Struktur
【FFmpeg】AVPacket-Struktur
Funktionsanalyse:
【Allgemein】
【FFmpeg】avcodec_find_encoder und avcodec_find_decoder
[FFmpeg] Initialisierung und Freigabe von Schlüsselstrukturen (AVFormatContext, AVIOContext usw.)
【FFmpeg】avcodec_open2-Funktion
【Push-Streaming】
【FFmpeg】avformat_open_input-Funktion
【FFmpeg】avformat_find_stream_info-Funktion
【FFmpeg】avformat_alloc_output_context2-Funktion
【FFmpeg】avio_open2-Funktion
【FFmpeg】avformat_write_header-Funktion
【FFmpeg】av_write_frame-Funktion
[Kodierung]
【FFmpeg】avcodec_send_frame-Funktion
Die Hauptfunktion der Funktion besteht darin, ein komprimiertes Paket zur Dekodierung an den Decoder zu senden. Die Definition befindet sich in libavcodecdecode.c
/**
* Supply raw packet data as input to a decoder.
*
* Internally, this call will copy relevant AVCodecContext fields, which can
* influence decoding per-packet, and apply them when the packet is actually
* decoded. (For example AVCodecContext.skip_frame, which might direct the
* decoder to drop the frame contained by the packet sent with this function.)
*
* @warning The input buffer, avpkt-