Hi,
 
i want to use ffmpeg/libav to decode h264/h265 videos (sound not needed) on Windows 10, Visual Studio 2019.
 
I used the precompiled Windows Libraries from gyan.dev (latest release 5.0.1 Full).
As example videos i used the https://test-videos.co.uk/bigbuckbunny/mp4-h264 in 1280x720 (and also the h256 version).
 
I think i have to change the codec to:
codec = avcodec_find_decoder(AV_CODEC_ID_H264);

 
My problem is that the av_parser_parse2 method seems not to find a packet or loads the whole file as one packet which i cant decode.
 
I tried other codec like
AV_CODEC_ID_MPEG4, 
AV_CODEC_ID_HEVC,
AV_CODEC_ID_H265
 
None of that works for me. I also used an older version off ffmpeg that i used for video encoding years before, that also wont work.
 
What did i miss? Or is this a bug?
 
Best Regards
 
 
_______________________________________________
Libav-user mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/libav-user

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to