If I want to play videos from within a program (I don't care much about format), should I use Theora or an mp4 library (any recommendations?) We used Bink in The Witness, but I am looking for something I can redistribute for free.
-
-
Replying to @Jonathan_Blow
Do you want them to be user-supplied or are you going to encode them? I was considering HAP as a codec lately (bsd2). Not sure about transport/metadata/audio interleave. Maybe you could just Ogg as a container format but I guess there is no out-of-the-box solution
1 reply 0 retweets 0 likes -
Replying to @GrandmasterTru
It would be me encoding them, so I can pick any format that works well at runtime.
1 reply 0 retweets 0 likes -
Replying to @Jonathan_Blow
HAP claims great performance and quality and I have heard that several digital signage/media server companies added support for it. Alas, I have no first hand experience with it. You can check it out athttps://github.com/Vidvox/hap
1 reply 0 retweets 2 likes -
Replying to @GrandmasterTru @Jonathan_Blow
I used HAP recently. It's super simple, a series of compressed textures. Ref. impl is .h + .c file ~1300 loc. You still need a container, common are AVI/MOV, but if you want to avoid the complexity of a classic demuxer, you'd have to roll your own container to store the frames.
1 reply 0 retweets 1 like -
Replying to @jakubvaltar @GrandmasterTru
“You still need a container” is an instant no.
2 replies 0 retweets 1 like -
I’m curious: when you say no container - what is the issue with a container? And how would you like to (for lack of a better word) contain the video?
1 reply 0 retweets 0 likes -
The issue is I don't as a user of the library care what the container is, so why are you making me care, and why are you making me wrangle more dependencies for something that is trivial? And why are you requiring the playback system to not know what it is playing back?
2 replies 0 retweets 2 likes
Like, all of this should just not even be an issue, and it's a little bit sad to me that we live in a world where many people don't even know what I mean when I say this stuff.
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.