Re: [FFmpeg-user] Decoding slice based frames

2025-03-18 Thread d.gorde...@ngslab.ru
Nobody knows? Where can I find the format of the slice-based frames? Is there an example of decoding them? Hi My decoder receives slice based frame, and it cannot decode them (the result is a greased picture). How should I decode them and which are differences from decoding a usual frame? My

[FFmpeg-user] Decoding slice based frames

2025-03-06 Thread d.gorde...@ngslab.ru
Hi My decoder receives slice based frame, and it cannot decode them (the result is a greased picture). How should I decode them and which are differences from decoding a usual frame? My code of dedoding is canonical:   if (size >= sizeof(kh264Prefix) && memcmp(data, kh264Prefix, sizeof(kh264

Re: [FFmpeg-user] Creating MP4 with G711 audio

2024-11-22 Thread d.gorde...@ngslab.ru
Thank you guys for the explanation. And for the excellent software! The MP4 container only supports a few audio codecs namely these: Advanced Audio Coding (AAC) , Audio Lossless Coding (ALS

[FFmpeg-user] Creating MP4 with G711 audio

2024-11-21 Thread d.gorde...@ngslab.ru
Hello. I'm trying to make a mp4 file from a video/audio stream. When audio is AAC it works fine. But I cannot pack G711U audio. |av_register_all(); avcodec_register_all(); av_log_set_callback(nullptr); av_format_context_ = avformat_alloc_context(); if (!av_format_context_) { std::string err