leandromoreira / ffmpeg-libav-tutorial

FFmpeg libav tutorial - learn how media works from basic to transmuxing, transcoding and more. Translations: πŸ‡ΊπŸ‡Έ πŸ‡¨πŸ‡³ πŸ‡°πŸ‡· πŸ‡ͺπŸ‡Έ πŸ‡»πŸ‡³ πŸ‡§πŸ‡·
https://github.com/leandromoreira/ffmpeg-libav-tutorial
BSD 3-Clause "New" or "Revised" License
9.78k stars 937 forks source link

Segment fault when transcode mp4 with no audio stream #93

Closed blackrose28 closed 3 years ago

blackrose28 commented 3 years ago

When the mp4 video has no audio stream, the 3_trancoding crash

leandromoreira commented 3 years ago

Hi, there @blackrose28. It's because, in this example, we assumed a container would always have an audio stream. :) It shouldn't be hard do change though.

blackrose28 commented 3 years ago

Sure, just close this issue if you think it's not important