Native MP4 movie

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
User avatar
minimy
Enthusiast
Enthusiast
Posts: 552
Joined: Mon Jul 08, 2013 8:43 pm
Location: off world

Native MP4 movie

Post by minimy »

I think will be nice play mp4 movies native. I can play with 'loadMovie(' wmv format but still been impossible play mpeg4 (h264) movies native. Any lib like ffmpeg or variant vlc can be a solution but is not PB native.
Is only a sugerence. Thanks for read this.
PB forever!! :D

Im using windows 11
If translation=Error: reply="Sorry, Im Spanish": Endif
User avatar
jacdelad
Addict
Addict
Posts: 1991
Joined: Wed Feb 03, 2021 12:46 pm
Location: Riesa

Re: Native MP4 movie

Post by jacdelad »

Unlike wmv, mp4 is a container like ogm or mkv, so even when being able to parse the container you still don't know what's inside and need a ton of codecs to support everything. Better use ffmpeg or VLC API. I guarantee you by simply supporting mp4 the movies that run on your computer won't run on many other machines.
Good morning, that's a nice tnetennba!

PureBasic 6.21/Windows 11 x64/Ryzen 7900X/32GB RAM/3TB SSD
Synology DS1821+/DX517, 130.9TB+50.8TB+2TB SSD
User avatar
idle
Always Here
Always Here
Posts: 5836
Joined: Fri Sep 21, 2007 5:52 am
Location: New Zealand

Re: Native MP4 movie

Post by idle »

Cisco has a h264 lib under bsd license on github.
Post Reply