Leandro Moreira

Results 210 comments of Leandro Moreira

i believe it's here https://github.com/leandromoreira/ffmpeg-libav-tutorial/blob/master/3_transcoding.c#L357

It seems that you're passing a packet for a wrong index ` [mpeg @ 0x209eec0] Invalid packet stream index: 3` I suposse there are only two streams

Negative PTS and DTS [you maybe have to calculate them](https://github.com/FFmpeg/FFmpeg/blob/master/doc/examples/transcoding.c#L558) =/ (do you want to copy the audio as it is? if so mark `sp.copy_audio`)

@vandanachadha sometimes you really need to tests things out to make them work [I documented my walk to create the chapter 3](https://github.com/leandromoreira/ffmpeg-libav-tutorial/pull/54) and [even look at ffmpeg command line source...

[Here I describe several links where you can learn](https://www.linkedin.com/pulse/ffmpeg-ubiquitous-leandro-moreira/) but you can try to understand more with @mmc [examples](https://github.com/muxinc/examples).

Thank you so much! 👏 👏 👏 Since it's WIP I'll leave this PR open until it reaches more content.

@LentilStew thanks for sharing, I'll try it later :) (the way I made it disappear, I think was by [introducing the keyint parameters](https://github.com/leandromoreira/ffmpeg-libav-tutorial/blob/master/3_transcoding.c#L274))

Thanks @joolzg I fixed these, you can check it on transcoding branch.

ping @joolzg