Re: [Libav-user] How to get the byte position of a just written av_write_frame?

2020-01-29 Thread Matthew Czarnek
Thank you Strahinja. Yeah I probably could do something like that. Would have to be extremely careful to get precisely the right byte, even when we have audio in there too. Seems a little fragile but might be something to it. At the moment, playing around with an idea that involves using AVIOConte

[Libav-user] Unable to register custom decoder

2020-01-29 Thread Timothy Fleming
I'm creating a custom video decoder for ffmpeg. The code compiles and links, my codec library is included. However, when I attempt to play my file, the player (Nova player for Android though that shouldn't matter) doesn't find the decoder. The decoder is for a matroska container and the strea

Re: [Libav-user] Incorrect compressed audio

2020-01-29 Thread gga
On 28/1/20 06:49, Jonathan Noble wrote: On Tue, 28 Jan 2020 at 00:12, Leandro Moreira > wrote: Hi there, I think that the transcoder example provided by ffmpe

Re: [Libav-user] Unable to register custom decoder

2020-01-29 Thread Carl Eugen Hoyos
Am Mi., 29. Jan. 2020 um 19:41 Uhr schrieb Timothy Fleming : > I’m creating a custom video decoder for ffmpeg. The code compiles and links, > my codec library is included. However, when I attempt to play my file, the > player (Nova player for Android though that shouldn’t matter) doesn’t find th

Re: [Libav-user] Unable to register custom decoder

2020-01-29 Thread Carl Eugen Hoyos
Am Do., 30. Jan. 2020 um 03:17 Uhr schrieb Timothy Fleming : > > Attached... Doesn't look like a patch... It should be enough to add the new codec to allcodecs.c and its codec_id to the demuxer (as you did). Please compile ffmpeg (for the desktop) and run ffmpeg -i yourfile to test your change.

Re: [Libav-user] Unable to register custom decoder

2020-01-29 Thread Timothy Fleming
-Original Message- From: Libav-user On Behalf Of Carl Eugen Hoyos Sent: Wednesday, January 29, 2020 6:23 PM To: This list is about using libavcodec, libavformat, libavutil, libavdevice and libavfilter. Subject: Re: [Libav-user] Unable to register custom decoder Am Do., 30. Jan. 2020 um