playlists do work, but take a while and may break, if one video in the list is not available or private or causes some other kind of error.torekk wrote:Is there some way to play a video from a youtube playlist URL? I mean, if I copy the playlist URL, OmxplayerGUI refuses to extract the video, if I remove everything after the first "&" it works fine.
It used to work when I set the playlist's privacy to private on youtube, but somehow that doesn't work anymore.
The problem I have is that loading a 200+ playlist takes a little while, copying each video link into OmxplayerGUI takes less time, but stripping the URL manually each time is a bit tedious.
Sorry for my wording, what I meant isn't playlist playback, that works fine. I guess an example of what I meant can't hurt:gkreidl wrote: playlists do work, but take a while and may break, if one video in the list is not available or private or causes some other kind of error.
Try the following:
Disable the ytdl-server (in settings)
Enter the youtube playlist URL in omxplayerGUI and click "Extract...".
Although I have set up the youtube-dl-server to ignore errors it doesn't seem to do so, but the command line versions does.
youtube-dl returns exactly one video from this URL. That's nothing I can change.torekk wrote: Sorry for my wording, what I meant isn't playlist playback, that works fine. I guess an example of what I meant can't hurt:
https://www.youtube.com/watch?v=_fj5pIp ... LeLFDaS7tQ - This link copied into OmxplayerGUI isn't extractable, but if I remove everything after the first & it does. Basically my usage of OmxplayerGUI is as follow: I use chrome to browse youtube and copy the links, but anytime I copy one from a playlist I have to strip everything after the first & or else I have to wait, which usually ends up in me opening the task manager and killing the python task, since it's quicker than waiting for the playlist to load. I don't want to watch the whole playlist at times, but just a single video from it.
So my question would be if there is some way to parse the pasted links for the &, maybe as a seperate option that's not on by default(so it doesn't break normal playlist playback).
Yes.cjan wrote:my vlc broken, so does omxplayer-gui play dvb-t channels?
Where can I find the source code? I'm trying to learn how to control OMXPlayer via DBUS and could really use some example code.gkreidl wrote:The kweb suite is free and Open Source software published under the GPL license. Source code is a avaiable as a separate download.
http://steinerdatenbank.de/software/kwe ... src.tar.gzWesWesthaver wrote:Where can I find the source code? I'm trying to learn how to control OMXPlayer via DBUS and could really use some example code.gkreidl wrote:The kweb suite is free and Open Source software published under the GPL license. Source code is a avaiable as a separate download.
Code: Select all
Code: Select all
export DISPLAY=:0.0 omxplayer /home/pi/pres/m/video/The-Space-Report-2-Horizontal.mp4
Regarding your first question: yes, if you start omxplayerGUI like this:Jww wrote:Kweb seems to be excactly what I was looking for (playlist view). See picture. I didn't see the option to start with this view (and playlist) on startup, is this possible? Beside this, is it possible to show a progressbar of the file playing? (my main reason to have a display).
Thanks for your quick replys!, would adding this functionality require a lot of work(with software enable/disable option?) I use a raspberry 3, no issues with resources.gkreidl wrote:Regarding your first question: yes, if you start omxplayerGUI like this:Jww wrote:Kweb seems to be excactly what I was looking for (playlist view). See picture. I didn't see the option to start with this view (and playlist) on startup, is this possible? Beside this, is it possible to show a progressbar of the file playing? (my main reason to have a display).
(and the playlist only contains audio files)
The answer to your second question is 'no'. omxplayerGUI and omxplayer are still two different programs. A progress bar would require a rather heavy communication between both programs using dbus and I have always tried to keep communication as low as possible. The audio player doesn't use dbus at all, for example, only the video player window.
Yes, it would require lots of changes:Jww wrote: Thanks for your quick replys!, would adding this functionality require a lot of work(with software enable/disable option?) I use a raspberry 3, no issues with resources.
Or is it possible to add a progressbar/counter by myself in some way? Or any other way?
Can you please help me further?
No livestreamer support built-in. I was considering it, but connecting to the livestreamer server resulted in very slow response times of the co0mmunication between omxplayer and omxplayerGUI.Gadgetguy wrote:Hi thanks for responding to my inquiry so quickly. Sorry to be slow responding. I am amazed how you and Dougie Lawson and many others can be so prolific in your contributions to this forum.
With non-live streams say either on youtube or on a video file on my local usb flash drive with dar enabled I lose the ability to navigate the file either by keyboard or by omxplayergui's controls both on the youtube file and on the local usb file and I noticed with one webm file on my local drive that I also lost ability to resize or drag the window . Accordingly this forces me to leave dar disabled which is fine except for the minor inconvenience that on some files ie some standard def files the aspect ratio is sometimes returned incorectly for a brief second or two and then it auto-corrects to the correct aspect ratio.It is only a minor annoyance. However these behaviours were not present on kweb version 1.7.4 when I found dar worked well.
With respect to livestreams, one live stream that I sometimes use and that seems to me to sometimes display anomalous behaviour (at least on my system) is the France24 Live Stream in English : https://youtu.be/1Ydto3Iyzic . Perhaps it will be useful to you in your diagnostic sleuthing. Naturally it can be played by navigating to the site using kweb and pressing play or by pasting the address in to omxplayergui. And right at this very moment it seems to work fine for me either with dar enabled or disabled. But sometimes eg 20 minutes ago I am sure it didn't work properly with dar disabled eg. I couldn't resize or drag the window. Perhaps it is my imagination playing tricks on me or perhaps sometimes it is just so very very slow to load and allow resizing. If I understand you correctly omxplayergui now has livestreamer built in? I can paste a livestream link in omxplayergui and it will play?
In the past I have sometimes used livestreamer using the command line in the terminal with omxplayer designated as it's player by:
livestreamer https://youtu.be/1Ydto3Iyzic 720p or
livestreamer https://youtu.be/1Ydto3Iyzic 1080p
When I used livestreamer in this manner , my livestreamer config file which seems to work albeit a bit slowly, is as follows:
Again at various times in the past including 20 minutes ago with dar disabled the video window wouldn't resize or drag. I will monitor this stream from time to time and see if this problem repeats itself and notify you if it does
Try ALT+rGadgetguy wrote:Just for your refererence the livestream we have been discussing,is once again misbehaving just now- it will open but video window will not resize or drag.
Code: Select all
wget http://ftp.debian.org/debian/pool/contrib/f/freshplayerplugin/browser-plugin-freshplayer-pepperflash_0.3.5-1~bpo8+1_armhf.deb sudo gdebi browser-plugin-freshplayer-pepperflash_0.3.5-1~bpo8+1_armhf.deb
Code: Select all
wget http://ftp.debian.org/debian/pool/contrib/f/freshplayerplugin/browser-plugin-freshplayer-pepperflash_0.3.5-1+b2_armhf.deb sudo gdebi browser-plugin-freshplayer-pepperflash_0.3.5-1+b2_armhf.deb
Code: Select all
Code: Select all
audio_buffer_min_ms = 20 audio_buffer_max_ms = 500 audio_use_jack = 0 jack_autoconnect_ports = 1 jack_autostart_server = 1 pepperflash_path = "/usr/lib/chromium-browser/libpepflashplayer.so" flash_command_line = "enable_stagevideo_auto=1" enable_3d = 0 enable_hwdec = 0 quiet = 0 fullscreen_width = 0 fullscreen_height = 0 randomize_dns_case = 0 device_scale = 1 quirk_plasma5_screensaver = 0 enable_windowed_mode = 1 enable_xembed = 1 tie_fullscreen_window_to_browser = 1 enable_vaapi = 0 enable_vdpau = 0 vsync_afterwait_us = 0 fs_delay_ms = 300 enable_vsync = 1 double_click_delay_ms = 400 show_version_info = 0 probe_video_capture_devices = 0 # setting the following to '0' also seems to work enable_xrender = 1
Users browsing this forum: No registered users and 23 guests