ffmpeg-libav-tutorial icon indicating copy to clipboard operation
ffmpeg-libav-tutorial copied to clipboard

decode MPEG2-TS buffer from socket

Open AhmedX6 opened this issue 6 years ago β€’ 0 comments

Hello,

Thanks for the tutorial. I would like to decode frame buffer encoded in MPEG2-TS. (H.264/AAC data) This buffer is received from socket. And I would like to get an transform it as an RGB buffer. How to achieve this with avformat ?

void FrameDecoder::onFrameReceived(const QByteArray &frame) {
    qDebug() << "Ready to decode the frame " << frame;
   
}

Thanks for help.

AhmedX6 avatar Nov 23 '19 20:11 AhmedX6