Re: [Libav-user] Converting ts to DASH using libavformat

2020-02-26 Thread Simon Brown
> > > Ok, next problem - I have parsed all the command line parameters and > assigned them to the output context using: > > ret = avformat_write_header(ofmt_ctx, ); > > where opt contains the options dictionary. I know it is accepting this > because the returned dictionary is empty. Also, I

Re: [Libav-user] Converting ts to DASH using libavformat

2020-02-26 Thread Simon Brown
On Wed, 26 Feb 2020 at 11:28, Simon Brown wrote: > > See the "remuxing.c" example. >> Use avcodec_parameters_copy to copy the codecpar from the demuxer's >> AVStream to the muxer's one. >> >> Thanks James - that's exactly what I needed. Now I just need to pass all > the parameters I need into

Re: [Libav-user] Converting ts to DASH using libavformat

2020-02-26 Thread Simon Brown
> See the "remuxing.c" example. > Use avcodec_parameters_copy to copy the codecpar from the demuxer's > AVStream to the muxer's one. > > Thanks James - that's exactly what I needed. Now I just need to pass all the parameters I need into the dash muxer and I'll be sorted. Cheers, Simon

[Libav-user] Have trouble saving opengl-generated RGB image sequence to .mp4

2020-02-26 Thread Igor Belyakov
I asked a question on stackoverflow: https://stackoverflow.com/questions/60339670/have-problems-using-ffmpeg-to-save-rgb-image-sequence-to-mp4 Didn't get any useful answers so far. Can someone help me? My code is mostly composed of "encode_video.c" example: