Video playback (at least on android...?)
Video playback (at least on android...?)
Would it be possible to make love android (but love in general too) play video?
-
- Party member
- Posts: 730
- Joined: Sat Apr 26, 2014 7:46 pm
Re: Video playback (at least on android...?)
I think anything is possible, but I don't think devs ever had a reason to add that to love. But for android and iOS it would have some uses. But I don't think they are going to add it anytime soon.
Re: Video playback (at least on android...?)
Ok, so it's "on-hold" for 3 years.
- slime
- Solid Snayke
- Posts: 3161
- Joined: Mon Aug 23, 2010 6:45 am
- Location: Nova Scotia, Canada
- Contact:
Re: Video playback (at least on android...?)
Indeed. Pull request / patch submissions are welcome!
Re: Video playback (at least on android...?)
One could simply ffmpeg it into frames and audio. I'll try and make a library for it if I can.
- josefnpat
- Inner party member
- Posts: 955
- Joined: Wed Oct 05, 2011 1:36 am
- Location: your basement
- Contact:
Re: Video playback (at least on android...?)
Take a look at this lib, it works on android for my game:iggyvolz wrote:One could simply ffmpeg it into frames and audio. I'll try and make a library for it if I can.
https://github.com/josefnpat/LoveVideo
Missing Sentinel Software | Twitter
FORCIBLY IGNORED.
<leafo> when in doubt delete all of your code
<bartbes> git rm -r *
<bartbes> git commit -m "Fixed all bugs"
<bartbes> git push
FORCIBLY IGNORED.
<leafo> when in doubt delete all of your code
<bartbes> git rm -r *
<bartbes> git commit -m "Fixed all bugs"
<bartbes> git push
Re: Video playback (at least on android...?)
Ok, I follow the implentation.
It seems that it converts the file into a currently non-standardized format right? Meaning a series of pngs, and an audio track?
How is the file sizes?
It seems that it converts the file into a currently non-standardized format right? Meaning a series of pngs, and an audio track?
How is the file sizes?
- josefnpat
- Inner party member
- Posts: 955
- Joined: Wed Oct 05, 2011 1:36 am
- Location: your basement
- Contact:
Re: Video playback (at least on android...?)
It does use raw assets, as most of love's video ventures have been pretty hacky, but someone has managed to get an mjpeg implementation done here, but it doesn't work on android: https://github.com/utunnels/mjpeg-playe ... OVE-engineReenen wrote:It seems that it converts the file into a currently non-standardized format right? Meaning a series of pngs, and an audio track?
Depends on what kind of compression you use. Here's a sample video encoded with different settings:Reenen wrote:How is the file sizes?
http://50.116.63.25/public/lovevideo/samples/bigbuck/
Considering metadeta can't really be shared by the frames with the method that's used, there is considerable decompression.
But hell; it gets the job done.
Here's the current discussion on the forums: viewtopic.php?f=5&t=78830
Missing Sentinel Software | Twitter
FORCIBLY IGNORED.
<leafo> when in doubt delete all of your code
<bartbes> git rm -r *
<bartbes> git commit -m "Fixed all bugs"
<bartbes> git push
FORCIBLY IGNORED.
<leafo> when in doubt delete all of your code
<bartbes> git rm -r *
<bartbes> git commit -m "Fixed all bugs"
<bartbes> git push
Who is online
Users browsing this forum: No registered users and 0 guests