L'octidi 18 prairial, an CCXX, jettoblack a écrit :
I trimmed this code down to just the essentials of the audio section since
video isn't a problem.
I am sorry, but I do not think I will have time to read 300+ lines of code
to find what may be wrong.
I hope you find the source of your
Hi Nicolas,
Thanks again for your time so far. I understand what you mean and I
mistakenly thought that a compilable example would be preferred over a
limited snippet. I put the snippet below in case you don't mind taking a
quick look again. I would definitely appreciate any assistance you can
Le septidi 17 prairial, an CCXX, jettoblack a écrit :
Thanks for the input. I managed to get video encoding working and
everything looks good there. The solution was to use the
picture.best_effort_timestamp as the pts of encoded frame instead of the
This is the right choice. Also, please
Hi Nicolas,
Very helpful, thank you.
I trimmed this code down to just the essentials of the audio section since
video isn't a problem.
What I see is that:
- The call to avresample_convert() seems to always succeed, so I think
decode and resample are working ok
- The first call to
Am 01.06.2012 01:37, schrieb jettoblack:
Hello,
I'd like to use libavformat to recompress a video file, similar to ffmpeg
standalone but much simpler (fixed codec parameters, etc.). I've figured
out how to remux (without re-encoding), but I'm not sure on recompressing.
I used the
Le tridi 13 prairial, an CCXX, jettoblack a écrit :
I used the output-example.c as a starting point, but it generates fake
video/audio data in temporal order. In my case I am demuxing a IPB encoded
video so the frames are decoded out of order.
The frames are decoded out of order internally,
Le tridi 13 prairial, an CCXX, jettoblack a écrit :
I used the output-example.c as a starting point, but it generates fake
video/audio data in temporal order. In my case I am demuxing a IPB encoded
video so the frames are decoded out of order.
The frames are decoded out of order internally,