[Libav-user] Getting a Frame question

M N assemblerx86 at yandex.com
Wed Sep 7 21:26:17 EEST 2016


What causes "Tag avc1/0x31637661 incompatible with output codec id '28'" in my code: http://pastebin.com/uXnHm52C ??

06.09.2016, 16:13, "M N" <assemblerx86 at yandex.com>:
> Yes I need to call av_write_trailer, but I am getting an error with avformat_write_header which is:
>
> "Invalid data found when processing input"
>
> What causes that?
>
> 06.09.2016, 01:19, "Leandro Raffo" <ljraffo at gmail.com>:
>>  Dont you need to call av_write_trailer at the end?
>>
>>  2016-09-05 18:42 GMT-03:00 M N <assemblerx86 at yandex.com>:
>>>   OK here is my code for copying frames from one video to another: http://pastebin.com/ygXs4wAF
>>>
>>>   Why isn't it copying? Only the header (With a different MP4 codec than the one in vid.mp4) is written, and its not the same header as the original file, but
>>>   _______________________________________________
>>>   Libav-user mailing list
>>>   Libav-user at ffmpeg.org
>>>   http://ffmpeg.org/mailman/listinfo/libav-user
>>
>>  _______________________________________________
>>  Libav-user mailing list
>>  Libav-user at ffmpeg.org
>>  http://ffmpeg.org/mailman/listinfo/libav-user
>
> _______________________________________________
> Libav-user mailing list
> Libav-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/libav-user


More information about the Libav-user mailing list