AVCodec.hwp crash when mp4 video doesn't have audio stream

Discuss about plugins that don't have a dedicated forum
Post Reply
AlexC
Posts: 29
Joined: Sat Mar 09, 2019 2:40 am

AVCodec.hwp crash when mp4 video doesn't have audio stream

Post by AlexC »

I found that the AVCodec (64bit) plugin crashes if the video doesn't have an audio stream.
Using the native decoder, on some formats the player freezes too.

This is on windows 8.1pro
Using Hollywood 9.1
Making the videos in Blender 3.6.2
The formats I've tested and the result for each decoder:

; OpenVideo(1, "V:Videos/Tree5.avi") ; avi/mjpeg, native freezes, avc crash
; OpenVideo(1, "V:Videos/Tree5.mpg") ; mpeg1/2 native ok, avc crash
; OpenVideo(1, "V:Videos/Tree5vp9.webm") ; webm/vp9, native ok; avc not recognized
; OpenVideo(1, "V:Videos/Tree5png.mp4") ; mp4/png not recognized by either
; OpenVideo(1, "V:Videos/Tree5divx.mp4") ; mp4/divx both crash
; OpenVideo(1, "V:Videos/Tree5h264.mp4" ; mp4/h264 both crash
; OpenVideo(1, "V:Videos/Tree5.ogv") ; ogg/theora native ok, avc not recognized, ogg plugin crash
; OpenVideo(1, "V:Videos/Tree5av1.mp4") ; mp4/av1 not recognized by either
; OpenVideo(1, "V:Videos/Tree5mp4.mkv") ; mkv/mp4, native ok, avc crash
; OpenVideo(1, "V:Videos/Tree5h264.mkv") ; mkv/h264, native plays but shrinks video, avc not recognized
; OpenVideo(1, "V:Videos/Tree5yuv.mkv") ; mkv/yuv, native ok, avc not recognized
; OpenVideo(1, "V:Videos/Tree5na.mp4") ; mp4/h264 (no audio), native freeze, avc crash
OpenVideo(1, "V:Videos/Tree5a.mp4") ; mp4/h264 (w/AAC audio), native ends with blank frame, avc ok
User avatar
airsoftsoftwair
Posts: 5626
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: AVCodec.hwp crash when mp4 video doesn't have audio stream

Post by airsoftsoftwair »

Can you upload a sample video that crashes avcodec.hwp?
AlexC
Posts: 29
Joined: Sat Mar 09, 2019 2:40 am

Re: AVCodec.hwp crash when mp4 video doesn't have audio stream

Post by AlexC »

Hi Andreas,
airsoftsoftwair wrote: Fri Dec 15, 2023 10:32 pm Can you upload a sample video that crashes avcodec.hwp?
Sorry for the delay.
I couldn't find a way to upload a file with the reply so here's a link to download it (415kb)
User avatar
airsoftsoftwair
Posts: 5626
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: AVCodec.hwp crash when mp4 video doesn't have audio stream

Post by airsoftsoftwair »

Thanks, I can confirm the crash here. Will be fixed.
Post Reply