I've been playing around with the hello_videocube and other VPU examples that play the 'Big Buck Bunny' sample video.
Problem is I have yet to figure out how to convert (say) an existing video to the same format that will play.
Anyone have any ideas, I've used Handbrake et al to convert but don't know what format/container/etc I need.
I understood that any x264 encode video would play but I'm not having much luck hitting on the magic formula.
Anyone give me any pointers as I'm starting to get quite frustrated lol. Maybe a conversion tool and necessary parameters?
Note mediainfo on the working video file -
Code: Select all
Complete name : test.h264 Format : AVC Format/Info : Advanced Video Codec File size : 29.6 MiB Video Format : AVC Format/Info : Advanced Video Codec Format profile : [email protected] Format settings, CABAC : No Format settings, ReFrames : 2 frames Format settings, GOP : M=2, N=24 Width : 1 920 pixels Height : 1 080 pixels Display aspect ratio : 16:9 Color space : YUV Chroma subsampling : 4:2:0 Bit depth : 8 bits Scan type : Progressive Color range : Limited Color primaries : BT.709 Transfer characteristics : BT.709 Matrix coefficients : BT.709
As an aside, I get the same issues with the il_render_video example in the 'Raspberry Pi GPU Audio Video Programming' book, which uses effectively the same VPU setup.