![]() |
[WIP] LLs Video Player
I was just missing a video player which has the ability to browse the file system and play remote media streams (just like youtube videos and so on) so I coded one.
Its a work in progress and won't be released to harbour currently as I need to clean up the code ( I partly use jolla-fileman code for the filebrowsing stuff). I also plan to integrate a youtube search into it. The video player uses the builtin gstreamer framework which in combination with the file browser (which trys to open up every file you throw at it) has the nice side effect that it can also view image files (what I accidently found out and never planned it) Anyways here is the current rpm (Updated:harbour-videoplayer-3.0.3-1.armv7hl.rpm) : https://openrepos.net/sites/default/...-1.armv7hl.rpm Tablet (i486) RPM: https://openrepos.net/sites/default/...0.3-1.i486.rpm You can find the code here: https://github.com/llelectronics/videoPlayer You can find the openrepos.net page here: https://openrepos.net/content/llelec...s-video-player And a short video demo of the initial features: http://www.youtube.com/watch?v=9o4wltgCjTI Short video demo of youtube search implementation: http://www.youtube.com/watch?v=hW55lNbFYLo Controls, History & CoverPage Update: http://www.youtube.com/watch?v=VkMLeLnyy2E Youtube-dl Integration: https://www.youtube.com/watch?v=7mbs3k-UjOw Changelog 3.0.3
Changelog 3.0.2:
Changelog 3.0.1:
Changelog 3.0:
Changelog 2.0.7:
Changelog 2.0.6:
Changelog 2.0.4:
Changelog 2.0.3:
Changelog 2.0.1:
Changelog 2.0.0:
Changelog 1.9.9:
|
Re: [WIP] LLs Video Player
nice work bro, i will try this tomorow
|
Re: [WIP] LLs Video Player
Looks really cool I will give it a go once I got more content on my SD card tomorrow :)
|
Re: [WIP] LLs Video Player
Whoa, cool! Don't know if I'll wait for it to appear in the store (for the automatic updates) or just try it out at once... mmmh........ :)
Ok, couldn't resist. It's great, and it's just basic yet. Can't wait to see how far it will go, looks really, really promising. Add in youtube/video download and you'll be my hero :p |
Re: [WIP] LLs Video Player
Your video player actually looks great and features seem to work properly. And you say it's gonna improve? Awesome. I'm already downloading the pre-version. :O
Apart from the Youtube search, are you planning to add gestures (back 10 sec/1 min, forward 10 sec/1 min), or advanced player options in the pulley menu (browse subtitles even if name.srt != name.avi, subtitles downloader (like in MPC or UMPlayer), audio delay, etc.)? That would definitely be the most advanced media player for Sailfish so far. Well, is it the only one ? OK. But still. :] P.S. I have trouble reading some files though, but it might be related to gstreamer. The default Sailfish player has the same problems with these files (which work properly on my computer, .mp4 and .avi). Some mplayer support someday would be great. |
Re: [WIP] LLs Video Player
Quote:
Subtitles would be cool but currently I don't see the possibility for the QML MediaPlayer API to load them (maybe this changes with some newer version though) The same goes for audio delay and so on. What I want to add besides youtube search is a file information dialog so that you see your files metadata. Some kind of error output and the ability to load a video file as parameter from the terminal (that would also make it possible to use this video player as default mimetype for video files which would make jolla-fileman and others building upon xdg-open to open up the video file with my player). Cover Actions also needs some love. And perhaps I come up with some other nice ideas. And of course always code cleanup ;) As for youtube downloading and full fledged youtube support I guess next year when python3 and its support for qt5 will come we will see some cool apps like cutetube (although I am not sure if its python based or pure c++, I guess the latter) and so on. Quote:
|
Re: [WIP] LLs Video Player
1 Attachment(s)
Quote:
I took the freedom to create a jolla-styled icon, feel free to use it instead of the generic sailfish one (if you like it of course, I didn't test it on a device since I wouldn't know how, so I don't know if it actually looks any good in real use situations :p). |
Re: [WIP] LLs Video Player
Update: Youtube search is now implemented and I did some other bug fixing aswell as integrating Watchmakers icon.
Somehow I cannot get autoplay working. I am waiting for suggestions here. Youtube integration still works via ytapi.com. If you have better suggestions on how to do this (I experienced a short downtime of ytapi.com earlier) in pure qml/javascript to directly access the video material I would gladly accept patches. Updated rpm: https://www.dropbox.com/s/gksn0mbs94...-2.armv7hl.rpm And a small video demonstration as always: http://youtu.be/hW55lNbFYLo I think I will update the initial post aswell as people tend not to scroll down to read every single page/comment. Changes in an overview:
|
Re: [WIP] LLs Video Player
2 Attachment(s)
I'm honoured that you chose to use my icon! I further tweaked it, put yellow instead of white in the holes of the film strip, and added one more frame separation line. I attach two versions, see if you like them better than the previous one.
As per the changes, great that youtube search is now working! Search result page scrolling is a bit wonky though, I can't scroll very much and page keep getting back to the top by itself. |
Re: [WIP] LLs Video Player
Yeah seems to be a conflict with the page back swipe gesture.
I wonder if there is a possibility to enter some threshold for this. Try swiping from down bottom right to upper left and that should work much nicer than (it shouldn't jump back then). Longer swipe might also help here. (Just a workaround for now until I find out how to add that threshold for back swiping or need to find another way to workaround this problem somehow) As for the icon. How about adding a white play icon onto it (centered). Just like the one I ship with the player sources ? (triangle) |
Re: [WIP] LLs Video Player
2 Attachment(s)
Quote:
Quote:
Changed it from white to black to fit the color scheme of the icon. EDIT: attached one with a white play icon just for reference, but it doesn't look very good. I tried to add a black border too, but it's even worse. EDIT2: or, if you prefer the play icon to be white, we can change the background colour. I have a soft spot for yellow as of late, but any colour will do, just tell me what you want me to try ;) |
Re: [WIP] LLs Video Player
Thx the one with the black triangle looks best. Already commited to git.
|
Re: [WIP] LLs Video Player
Thank you! Was used to Kmplayer with internet and local videos on harmattan so I really need this. Never trought it would come this fast. :)
|
Re: [WIP] LLs Video Player
Would it be possible to add support for more video sites like dailymotion.com and vimeo?
|
Re: [WIP] LLs Video Player
Quote:
Edit: Small bug that if you hide play button you cant get it back. (open application, press anywhere but play icon.) Then few feature reguests :p: Resizing video if its wrong resolution (black on edges) and desktop icon that opens video from url automatically if its copied on clipboard. I made this work on Harmattan with Xclip. :) |
Re: [WIP] LLs Video Player
Quote:
Quote:
Lets see. Quote:
|
Re: [WIP] LLs Video Player
Looks good chap. Don't suppose you've any plans to implement DLNA/uPNP playback?
|
Re: [WIP] LLs Video Player
here, in france, we have a network provider that make us able to watch tv by rtsp. for that, you have to load a playlist located a this adress:
http://mafreebox.freebox.fr/freeboxtv/playlist.m3u wich contains these lines: #EXTM3U #EXTINF:0,2 - France 2 HD rtsp://mafreebox.freebox.fr/fbxtv_pub/stream?namespace=1&service=201&flavour=hd #EXTINF:0,2 - France 2 rtsp://mafreebox.freebox.fr/fbxtv_pub/stream?namespace=1&service=201&flavour=sd #EXTINF:0,2 - France 2 (bas débit) rtsp://mafreebox.freebox.fr/fbxtv_pub/stream?namespace=1&service=201&flavour=ld #EXTINF:0,3 - France 3 HD rtsp://mafreebox.freebox.fr/fbxtv_pub/stream?namespace=1&service=202&flavour=hd #EXTINF:0,3 - France 3 rtsp://mafreebox.freebox.fr/fbxtv_pub/stream?namespace=1&service=202&flavour=sd #EXTINF:0,3 - France 3 (bas débit) rtsp://mafreebox.freebox.fr/fbxtv_pub/stream?namespace=1&service=202&flavour=ld ..... is it possible to open this .m3u with this app? and change chanel ? thanks a lot (back on those days, kmplayer on n900 were able to do this....) |
Re: [WIP] LLs Video Player
Quote:
Quote:
|
Re: [WIP] LLs Video Player
yeah, i forgot to say that if you are not behind this internet provider, the link don't work. that's why i've put a copy of the first line.
vlc is also able to use this file. |
Re: [WIP] LLs Video Player
A new year a new update.
This time it includes:
And here the demonstration video: http://youtu.be/VkMLeLnyy2E I also created a openrepos.net page here: https://openrepos.net/content/llelec...s-video-player RPM Download here: https://openrepos.net/sites/default/...-3.armv7hl.rpm |
Re: [WIP] LLs Video Player
Quote:
|
Re: [WIP] LLs Video Player
Quote:
|
Re: [WIP] LLs Video Player
Please redownload with this link: https://www.dropbox.com/s/40zm4gppkn...-3.armv7hl.rpm
Seems that the rpm on openrepos.net is broken somehow. |
Re: [WIP] LLs Video Player
works now thanks !!!!
|
Re: [WIP] LLs Video Player
The reason of it not working is a wrong import in harbour-videoPlayer.qml
You need to change this line Code:
import "pages/yt.js" as YT Code:
import "pages/helper/yt.js" as YT |
Re: [WIP] LLs Video Player
Yeah it seems to be that on uploading to openrepos.net I accidently was to fast and did not wait for dropbox to sync the correct rpm which caused this issue. I fixed all links now and also openrepos.net (Btw. very confusing package management on openrepos.net as it seems you can only delete the last package uploaded or something)
|
Re: [WIP] LLs Video Player
1 Attachment(s)
I like the new release!
But I can't really say the same for the new icon, I quite dislike it, sorry. :( The holes in the film are disaligned with the frames, and on the left they are half cut (a thing I tried to avoid in my latest versions). Also, I don't really like the very strong gradient you put on the frame. I took again the freedom to make my own version. It's a complete remake, taking your new version into account but adjusting it a little bit to my taste, plus further tweaks (I changed the background from plain yellow to yellow/orange gradient, for example). I don't have much experience with svg so it's again a raster file. I would have attached my source Gimp file, but I can't (TMO doesn't allow me). If you like my new take and you need/want to modify it, I can send the source xcf to you (maybe send me a PM). Or you can send me the svg file and I can try to take a look at it, it may be a good chance to learn something new. Anyway, keep up the good work with VideoPlayer, it's shaping up really nicely. ;) |
Re: [WIP] LLs Video Player
Great work. From now, my default media viewer.
Could we make suggestions? I would be nice to get some command-line options, like: -p Play file directly, without user interaction So we can make some handy scripts, useful when listening to music. E.g.: Code:
for FILE in $(find . -name \*holiday*.mp3); do |
Re: [WIP] LLs Video Player
Improved the icon and added -p option on github already.
mced please test this new version and see if it works as you intend it. As I currently doubt that it will work with your little bash script. I think it will open multiple players with all your files playing back almost simultaneously (sleep 1 in between) For the time being I will put development on a halt for one week and keep working on a webbrowser as I really need one and don't like the android alternatives. (and the sailfish one is a bit featureless) |
Re: [WIP] LLs Video Player
Thank you very much for this player, was just asking for one in another thread. Very nice features but I have one feature request, to get rid of the pulley menu in the video rendering page. Maybe I'm missing something and it's already possible? Other than that there's not much more to ask for.
Also just wondering how you're playing the files? If I may guess you're just feeding files to the multimedia backend because it seems to have issues with the same files as Gallery. |
Re: [WIP] LLs Video Player
Quote:
Quote:
|
Re: [WIP] LLs Video Player
Yes it was to get rid of the glow I meant. :) Yeah I thought that you use the same backend as Gallery but your player at least tries to play vp8/webm, some work, and also seeks in mkv which Gallery doesn't.
Edit: Also nice that you show what codec it is when debugging gstreamer. :) |
Re: [WIP] LLs Video Player
Quote:
My script is ********, I know. Just for getting the idea :) I don't know what to do with the Github files. Am I supposed to compile then on the phone or using the SDK? Very newbie. |
Re: [WIP] LLs Video Player
Your great app is now my #1 choice for playing video files and watching YouTube! :)
It's nice that playing continues in background (although video can't be seen in the cover). And you can seek without stopping the video. I noticed internet radio stations can be played, if you know the stream URL. Also Sailfish Media player can play internet radio, if you make a playlist that has the URLs. Jolla's capabilities are expanding... |
Re: [WIP] LLs Video Player
Quote:
Quote:
Code:
git clone https://github.com/llelectronics/videoPlayer.git Then you can choose the real device in the menu above the Play button in QtCreators interface down left. After you choose "deploy as rpm" you can hit the Start Mer SDK Button second from bottom. Wait until its started (until the stop buttons is clickable again) and start the build and deployment process to your real device by hitting the green play button. I hope that instructions are helpful. |
Re: [WIP] LLs Video Player
I have one more feature request, if you could make the background black in the video rendering page? Now it shows the Ambience which is disturbing.
Edit: And perhaps cut down the name under the app launcher icon to just "LL Player" would look better? |
Re: [WIP] LLs Video Player
Very nice app, finally I can watch youtube properly :)
|
Re: [WIP] LLs Video Player
I updated it to version 0.2 with this changes:
RPM Download here: https://openrepos.net/sites/default/...-1.armv7hl.rpm |
Re: [WIP] LLs Video Player
Hey, thanks for your app it's great! Is it in your roadmap for the application cover to also play the video instead of just the audio part?
|
All times are GMT. The time now is 06:34. |
vBulletin® Version 3.8.8