maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   SailfishOS (https://talk.maemo.org/forumdisplay.php?f=52)
-   -   [WIP] LLs Video Player (https://talk.maemo.org/showthread.php?t=92141)

cvp 2014-02-13 17:37

Re: [WIP] LLs Video Player
 
hi thanks for the app. Is it possible or will it aviable in the future to Download and convert Youtube videos to MP3 with variable bitrates ?

idro 2014-02-13 19:13

Re: [WIP] LLs Video Player
 
Quote:

Originally Posted by llelectronics (Post 1412578)
A plugin is simply missing then. You can try to get some plugins from openrepos.net (warehouse).



Update: 0.3-3
  • Make play and pause mousearea bigger to easier click on them
  • Added DownloadManager for Youtube Videos
  • Load Youtube title if available

....what I have to install?
I didn't find plugins in openrepos

llelectronics 2014-02-13 22:48

Re: [WIP] LLs Video Player
 
Quote:

Originally Posted by idro (Post 1412612)
....what I have to install?
I didn't find plugins in openrepos

https://openrepos.net/content/sailfi...t-plugins-ugly
https://openrepos.net/content/sailfi...gins-bad-extra
https://openrepos.net/content/sailfi...0-ffmpeg-extra

llelectronics 2014-02-13 23:02

Re: [WIP] LLs Video Player
 
Quote:

Originally Posted by cvp (Post 1412589)
hi thanks for the app. Is it possible or will it aviable in the future to Download and convert Youtube videos to MP3 with variable bitrates ?

Interesting idea needs investigation.

idro 2014-02-13 23:09

Re: [WIP] LLs Video Player
 
I install all of them, in some files I have some green lines on the screen and the colors are not right
In some others files the player works great!

francesco VE 2014-02-14 00:38

Re: [WIP] LLs Video Player
 
sorry guis for the question, but i till don't know a lot of thing about this world....but....what are they need for?

llelectronics 2014-02-14 11:52

Re: [WIP] LLs Video Player
 
Quote:

sorry gu[ys] for the question, but i till don't know a lot of thing about this world....but....what are they need for?
They are necessary to playback certain codecs which aren't supported out of the box on the Jolla device.
This includes a52dec, x264, aiff, asf, wmv1,wmv2,wmv3, opus,vp8 and all the codecs that can be decoded by ffmpeg (xvid, divx, ...)

doctor madness 2014-02-15 15:02

Re: [WIP] LLs Video Player
 
Hi,

Can anyone tell me the best video encoding options ?
I suppose video codec is h.264 and audio AAC. But when encoding videos with same settings as N9 (output resolution is modified to fit the jolla's screen), I always have some delay between audio and video.
I tried to lower the video bitrate, with no success.

So I'm looking for as many information as possible to get smooth videos.

mced 2014-02-16 19:21

Re: [WIP] LLs Video Player
 
-Originally a XviD/MP3 AVI file, GStreamer can't handle it.
-Running Avidemux.
-Video to MPEG4-AVC (H.264), default options.
-Copy audio (MP3).
-Scale to 960x542 using Mplayer plugin.
-MKV container.

Works perfectly with LLs Video Player. "Top" says 28% CPU usage.

llelectronics 2014-02-16 20:47

Re: [WIP] LLs Video Player
 
I tested a hd video fully decoded by hardware as it seems (Crest shows 0% usage for the player process) .
It uses the following codecs inside an mp4 container:
Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 2002 kb/s, 23.98 fps, 23.98 tbr, 5994 tbn, 47.95 tbc
Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 127 kb/s

From that I guess also x264 encoded video should work fine aswell as faac encoded audio.

llelectronics 2014-02-25 20:43

Re: [WIP] LLs Video Player
 
Update:
Finally youtube download now saves files with youtube title as filename.
Also the direct youtube url is now used for downloading files.

Changes 0.3-4
  • Added remove file option in fileman
  • Download youtube videos and save them with youtube title as filename
  • Fixed show youtube titles for videos from ytapi.com (e.g. history)

doctor madness 2014-02-26 17:03

Re: [WIP] LLs Video Player
 
No lipsync issue ?

llelectronics 2014-02-26 22:56

Re: [WIP] LLs Video Player
 
You mean audio & video out of sync ?
I did not experience it yet with either youtube video streaming nor local files.

Fellfrosch 2014-03-03 10:26

Re: [WIP] LLs Video Player
 
Hi llelectronics, great Player thank you very much.
The only thing what I miss at the moment is bookmarks. I know there is a history but that's not the same as bookmarks. I would like to store my favorite Webradio casts.

llelectronics 2014-03-03 10:52

Re: [WIP] LLs Video Player
 
I will put bookmarks on my todo list then.

Makeclick 2014-03-04 20:05

Re: [WIP] LLs Video Player
 
Youtube url copy paste not work anymore for me :(. It's says always: "Your GStreamer installation is missing a plug-in"

I have been trying to install all codecs but no... Through search it will play all videos. Tryed with http://m.youtube and http://youtube...

llelectronics 2014-03-04 23:06

Re: [WIP] LLs Video Player
 
Yeah seems to be broken with OpenURL. But you can paste it in the search on youtube search (and it will act like if 'open url') until I release the next version. The fix is btw. already on github together with some other things. But I still want to add new features to it for the next release so no bugfix release yet.

llelectronics 2014-03-05 23:38

Re: [WIP] LLs Video Player
 
Update: 0.4-1 is out now.
  • Fixed opening up youtube urls with openurl page
  • Hide error messages with click
  • Add bookmark support
  • Added visual background for title and progressbar (makes it more readable)
  • Use dialog for openurl page
  • Get Title from basename of file and set it as title in details page aswell

I am kinda stuck currently with the ui. The pulley menu can get quite crowdy with 7 entries. I would appreciate suggestions what to do with the new entries like Download YT Video + Add to Bookmark.
I tried a PushUpMenu but it does not seem to work here.
Currently I am thinking about adding overlay icons for them.

tiempjuuh 2014-03-06 14:40

Re: [WIP] LLs Video Player
 
You can make a menu which appears if you swipe to the left, like Friends has.

llelectronics 2014-03-06 15:13

Re: [WIP] LLs Video Player
 
Swiping to the left is showing the details page already. I could add those two items there in a newly created pulley menu however.

Watchmaker 2014-03-06 18:05

Re: [WIP] LLs Video Player
 
Quote:

Originally Posted by llelectronics (Post 1415699)
Swiping to the left is showing the details page already. I could add those two items there in a newly created pulley menu however.

Or as buttons on top of the details page, maybe it makes sense.

llelectronics 2014-03-06 18:28

Re: [WIP] LLs Video Player
 
I don't like the idea of adding normal Buttons. They somehow feel misplaced and distract the user from the actual contents of the details page.
I think I will try various things out and will see what works best.

nodevel 2014-03-06 21:28

Re: [WIP] LLs Video Player
 
Quote:

Originally Posted by llelectronics (Post 1415724)
I don't like the idea of adding normal Buttons. They somehow feel misplaced and distract the user from the actual contents of the details page.
I think I will try various things out and will see what works best.

That is true, but for example the 'Star' button is already present in the contacts application (or the browser), so it could be easily used for bookmarking.

llelectronics 2014-03-06 23:24

Re: [WIP] LLs Video Player
 
You are right IconButtons are better. Therefore Iam still considering it either as an overlay ontop of the video or as IconButtons in the details page.

llelectronics 2014-03-07 16:36

Re: [WIP] LLs Video Player
 
I now decided for a different approach.
Press and hold on somewhere on the screen will bring up a dock with two buttons for downloading and adding to bookmarks.
I also added those two options to the details page aswell.

If this dock fills up it could be necessary to switch to icons though.
I uploaded this approach to git already for those who want to try it.

llelectronics 2014-04-03 18:08

Re: [WIP] LLs Video Player
 
Update: 0.5-1 is out.

Changes:
  • Added docker which activates on press & hold (on video) and allows bookmarking & download of youtube videos
  • Allow downloading of all known video formats for youtube (try to get 720p, 480p, 360p & 240p)
  • Use new /media/sdcard path for sdcards in fileman
  • Allow fileman to be used horizontally
  • Unified "Open URL" & "Open File" to "Open" in pulley menu
  • Added "Browse FIles" button to OpenURL page
  • Added video position & video duration to cover
  • Added initial subtitle support for *.srt files (for it to work rename the srt file to your videofilename [e.g. video.avi with video.srt])

It still needs some work on the subtitle support. Currently font size, color and so on are not configurable but will be in the next versions I guess.
As for subtitle currently only srt files are supported(not all might work correctly) and they must have the same name as the video file but with a different ending (.srt) .

Kabouik 2014-04-03 22:17

Re: [WIP] LLs Video Player
 
Quote:

Originally Posted by llelectronics (Post 1419771)
  • Added initial subtitle support for *.srt files (for it to work rename the srt file to your videofilename [e.g. video.avi with video.srt])

Great addition, thanks a lot!

Boxeri 2014-08-13 09:31

Re: [WIP] LLs Video Player
 
on every yotube video I try to play, the player gives me a message "this appears to be a text file" and won't play the video. Others experiencing this? Reinstall didn't solve the problem

Fellfrosch 2014-08-13 14:02

Re: [WIP] LLs Video Player
 
Same happens here.
Probably Google has changed something. Just like they always do:mad::(

llelectronics 2014-08-15 22:26

Re: [WIP] LLs Video Player
 
Nope the server seems to be overloaded currently. Just try hitting the play button again. It should then work. At least it did for me here.

cvp 2014-10-10 08:56

Re: [WIP] LLs Video Player
 
- i can search videos over the app and it plays
- i can search videos over webbrowser, copy link, past in LLs player and its open, too.

i remember for few weeks ago that i cant open some videos (copy/past). But now its works. maybe is the code from youtube now better :)

NielDK release LAME for Sailfish:
https://openrepos.net/content/nieldk/lame
is it possible to convert now the download Videos to Mp3 in different bitrats or vbr? I wich this function month ago :)
Good will be if the video will download, convert to mp3 and delete automaticly the video file :)

epninety 2014-10-16 11:20

Re: [WIP] LLs Video Player
 
I've been using this brilliant app to monitor video from a cctv camera I'm working on, via wifi and via 4G

It would be really useful if it were possible to adjust the buffering settings to reduce latency? (We have h.264/mpeg4/MJPEG streams, but so far I've only used it with h.264)

llelectronics 2014-10-23 11:33

Re: [WIP] LLs Video Player
 
Update:
Version 0.6 is out now: Get it from Openrepos.net

Mainly fixes the 1.1.0.38 OS Update issue which made the file browser useless. LLsVPlayer now uses the native Sailfish Video Picker for the "Browser Files" Page.
If you still want to have a file browser(with the ability to browse through folders and remove files) and still are on OS 1.0.X don't upgrade.!

Also a settings page was introduced to configure subtitle colors and font size. A new addition is also the possibility to prefer direct youtube urls instead of using the ytapi.com website (this might be a good option if ytapi.com is down or having too much requests)

Have fun.

pichlo 2014-11-02 15:06

Re: [WIP] LLs Video Player
 
Quote:

Originally Posted by llelectronics (Post 1443975)
Mainly fixes the 1.1.0.38 OS Update issue which made the file browser useless. LLsVPlayer now uses the native Sailfish Video Picker for the "Browser Files" Page.
If you still want to have a file browser(with the ability to browse through folders and remove files) and still are on OS 1.0.X don't upgrade.!

Do you have a long-term plan to bring the file browser back at some point in the future, however distant? I absent-mindedly approved the upgrade when offended and now I got the lame stock video picker with most of the thumbnails empty with just "thumbnail cannot be displayed" in it. Even those thumbnails that are displayed are useless since I have clusters of 20-40 identical ones (episodes of the same series) and no file names. But even if all that were not an issue, the picker is STILL useless for one single reason: it does not understand directories. Throwing 400+ thumbnails in one large basket (that moreover forces the dreadful portrait orientation) must have been a work of a real genius.

One can say tbat it was my fault for upgrading despite having been warned and indeed it is, and yes I know how to revert it back, but I suppose I will have to upgrade sooner or later anyway.

So, is there at least a glimmer of hope to get some useful file browser back? Pretty please? :D

llelectronics 2014-11-03 08:48

Re: [WIP] LLs Video Player
 
Quote:

So, is there at least a glimmer of hope to get some useful file browser back? Pretty please?
Yeah of course I have a file browser on the roadmap. Iam just waiting for the next SailfishOS Update to see if it will bring back cute-js so that the old one will work again or if I have to reimplement a new one.

llelectronics 2014-11-10 16:30

Re: [WIP] LLs Video Player
 
Update: Version 0.7 is out now.

I noticed the cute-js api changed and adapted to it for the fileman to work again. Though sadly some operations in cute-js and especially the one to list files and folders seems to be broken for now.
I coded around and hacked some stuff around it to use Qt.labs.folderlistModel to list the files in fileman.
Honestly the code for fileman is now messy as hell but seems to work. Though its a little bit slower as the older version.

Therefore I wrote a clean new simple file open dialog (also based on folderlistmodel) which is lightning fast.
The video gallery open dialog is also available still which means you can now choose in the settings which browse file dialogs to use.
By default the advanced file manager option is used (like in versions before 0.6)

Changelog
  • Adapt fileman to new cute-js api
  • Fixed fileman (nasty hack to list files with folderlistmodel)
  • Added a simple File Open Dialog Browser (based on folderlistmodel)
  • Added setting to choose Browse File Dialog (default: Advanced File Manager, Simple File Manager, Video Gallery)

Happy downloading ;)

Get LLs Video Player

llelectronics 2014-11-13 17:27

Re: [WIP] LLs Video Player
 
Small update 0.7-2 as there was an issue with the settings database (multiple entry settings were possible and could cause issues)

llelectronics 2014-11-15 12:58

Re: [WIP] LLs Video Player
 
And some new fixes in 0.7-3
  • Fixed saving of browse dialog when not changed in settings
  • Fixed Youtube downloader choose quality
  • Fixed direct youtube stream title fetching

Most important if you set "use direct Youtube url" download button is back on long press on the loaded video and video title should be fetched correctly now.

243kof 2014-11-15 14:58

Re: [WIP] LLs Video Player
 
When is video playing in the active cover coming? :)
Thanks for this awesome player by the way.

llelectronics 2014-11-15 15:46

Re: [WIP] LLs Video Player
 
The last time I checked it was not possible to do this as video rendering can only be done full screen with the api provided.
I did not check the update 9 qt 5.2 stuff yet. Maybe that will have a fix for it to make it work. However it will take its time since update 9 is only optin and the LLs VideoPlayer should also work with the current stable update 8


All times are GMT. The time now is 09:59.

vBulletin® Version 3.8.8