[opensuse] Media playing via local network.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Ok, I have a small computer that I use as home file and media server. So I can use it to play files stored on it using Kodi. It also has an Apache server. So I try to watch movies on my tablet, served from my home server. I select a file using the default web brower, tap on it, choose play directly with VLC, and it plays directly without downloading the file in full first. It works fine. I can also select a point of the movie at random and go from that point. But I can't do the same on my laptop, it can't cope despite having much more power. Intel video. First I try with "kodi". Kodi can add video sources: I try "http" and "ssh". Both work, but after a bit the audio gets out of sync with the video. Same problem if I select ssh source (actually sftp). CPU load seems to be 80..90%. So I try vlc: vlc "http://Isengard.valinor/.../file.avi" It plays, but also here the sound gets out of sync, and frames seem to be missing. So I download the file with wget, then play it directly with VLC: plays fine this time. Local play. Then I try another type of remote "download": sshfs cer@Isengard.valinor:/ ~/fusermount/ which mounts the remote system at directory ~/fusermount/, and videos play fine. CPU load seems to be lower, around 60..70% Most of the problems happen with videos recorded from digital tv stream (mpeg). But the same videos play fine when I use fusermount instead of telling VLC to do the downloading. Kodi using fusermount with the same video file gets out of sync. What should I look at? I can not increase the power of the laptop, and anyway, the tablet seems to handle the situation much better. Well, it is also a somewhat smaller display... Ideas? - -- Cheers Carlos E. R. (from 42.3 x86_64 "Malachite" at Minas-Tirith) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iF4EAREIAAYFAlvFW10ACgkQja8UbcUWM1wzlAD/b5LJh9rSrTfa32LMo11oQw20 BB96iyUnpsGldMCDS3wA/1IXMWguIfzDIYsK/5FVnpuuBGnMW4Ct3gO8Kjsqax3x =CDFF -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 10/15/2018 10:30 PM, Carlos E. R. wrote:
What should I look at? I can not increase the power of the laptop, and anyway, the tablet seems to handle the situation much better. Well, it is also a somewhat smaller display...
Ideas?
That guess would be my first guess too. Does the difference in display size result in VLC attempting to play a different type of video encoding? You would think not, since apache is serving the same file, but I wonder what VLC is doing on the player end with the stream? Whether that increase in display size causes a dramatic increase in network traffic because VLC is doing something different with playback. If it plays on the tablet fine, but not the laptop, then what's different about the tablet and laptop? Are both running the same version of opensuse, etc..? If not, is there something different about the networking? These are just guesses of course. One thing that would help narrow the scope of the guesses would be to know what the tablet is (IOS? Android?) and I'm guessing the laptop is Leap, but which one? -- David C. Rankin, J.D.,P.E.
On Tue, 16 Oct 2018 00:24:28 -0500 "David C. Rankin" <drankinatty@suddenlinkmail.com> wrote:
One thing that would help narrow the scope of the guesses would be to know what the tablet is (IOS? Android?) and I'm guessing the laptop is Leap, but which one?
I think this is the key question. Bear in mind that VLC on Android for example is a very different beast to that on linux, with a whole different set of bugs. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 16/10/2018 12.53, Dave Howorth wrote:
On Tue, 16 Oct 2018 00:24:28 -0500 "David C. Rankin" <> wrote:
One thing that would help narrow the scope of the guesses would be to know what the tablet is (IOS? Android?) and I'm guessing the laptop is Leap, but which one?
I think this is the key question. Bear in mind that VLC on Android for example is a very different beast to that on linux, with a whole different set of bugs.
Oh, the tablet is Android, with Intel CPU IIRC, and laptop is Leap 42.3, per signature on that email. I have tried the exact same file on both machines. Problem is laptop when using VLC when it manages the download by itself, but not when the download is external. Kodi presents problems in both cases. Laptop was using ethernet cable, tablet via wifi. Later I'll try on desktop computer and another (smaller) laptop with Leap 15. -- Cheers / Saludos, Carlos E. R. (from 42.3 x86_64 "Malachite" at Telcontar)
Op dinsdag 16 oktober 2018 05:30:26 CEST schreef Carlos E. R.:
Ok,
I have a small computer that I use as home file and media server. So I can use it to play files stored on it using Kodi. It also has an Apache server.
So I try to watch movies on my tablet, served from my home server. I select a file using the default web brower, tap on it, choose play directly with VLC, and it plays directly without downloading the file in full first. It works fine. I can also select a point of the movie at random and go from that point.
But I can't do the same on my laptop, it can't cope despite having much more power. Intel video.
First I try with "kodi". Kodi can add video sources: I try "http" and "ssh". Both work, but after a bit the audio gets out of sync with the video. Same problem if I select ssh source (actually sftp). CPU load seems to be 80..90%.
So I try vlc:
vlc "http://Isengard.valinor/.../file.avi"
It plays, but also here the sound gets out of sync, and frames seem to be missing.
So I download the file with wget, then play it directly with VLC: plays fine this time. Local play.
Then I try another type of remote "download":
sshfs cer@Isengard.valinor:/ ~/fusermount/
which mounts the remote system at directory ~/fusermount/, and videos play fine. CPU load seems to be lower, around 60..70%
Most of the problems happen with videos recorded from digital tv stream (mpeg). But the same videos play fine when I use fusermount instead of telling VLC to do the downloading.
Kodi using fusermount with the same video file gets out of sync.
What should I look at? I can not increase the power of the laptop, and anyway, the tablet seems to handle the situation much better. Well, it is also a somewhat smaller display...
Ideas?
-- Cheers
Carlos E. R. (from 42.3 x86_64 "Malachite" at Minas-Tirith) What happens if you play the same file through Kodi's webinterface ( needs to be activated first, queue the movie file and play "Lolal". Are we talking wired or wireless
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 16/10/2018 10.31, Knurpht-openSUSE wrote:
What happens if you play the same file through Kodi's webinterface ( needs to be activated first, queue the movie file and play "Lolal".
I don't see if I understand, but wouldn't that need a third machine? 1) serve the file via apache or something 2) run kodi and display the movie 3) run a web browser interacting with kodi on 2. However, using VLC on 2 presents the same (or similar) problem.
Are we talking wired or wireless
laptop is on wire, tablet wireless. -- Cheers / Saludos, Carlos E. R. (from 42.3 x86_64 "Malachite" at Telcontar)
Op dinsdag 16 oktober 2018 13:18:25 CEST schreef Carlos E. R.:
On 16/10/2018 10.31, Knurpht-openSUSE wrote:
What happens if you play the same file through Kodi's webinterface ( needs to be activated first, queue the movie file and play "Lolal".
I don't see if I understand, but wouldn't that need a third machine?
No. My setup: Kodi on an Rpi3, with webinterface active. On my laptop I connect through it's IP:8080. On the right in the interface there are two options above the queue listing. One to have a Kodi play through the stereo/TV it's connected to through HDMI. The other to play locally, i.e. use the sound device on my laptop. I don't use it very much for playing vids on the laptop, but I never noticed the behaviour you decribed, i.e. loosing sync. FWIW RPi3 runs Leap 15, laptop runs Tumbleweed.
1) serve the file via apache or something 2) run kodi and display the movie 3) run a web browser interacting with kodi on 2.
However, using VLC on 2 presents the same (or similar) problem.
Are we talking wired or wireless
laptop is on wire, tablet wireless.
-- Gertjan Lettink a.k.a. Knurpht openSUSE Board Member openSUSE Forums Team -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 16/10/2018 16.22, Knurpht-openSUSE wrote:
Op dinsdag 16 oktober 2018 13:18:25 CEST schreef Carlos E. R.:
On 16/10/2018 10.31, Knurpht-openSUSE wrote:
What happens if you play the same file through Kodi's webinterface ( needs to be activated first, queue the movie file and play "Lolal".
I don't see if I understand, but wouldn't that need a third machine?
No. My setup: Kodi on an Rpi3, with webinterface active. On my laptop I connect through it's IP:8080.
Ah, use kodi as server? And on the client you use a web browser perhaps? Thus the decoding load is done on the server, and the network has to transmit the expanded stream perhaps. I'll try that. -- Cheers / Saludos, Carlos E. R. (from 42.3 x86_64 "Malachite" at Telcontar)
Op dinsdag 16 oktober 2018 20:59:54 CEST schreef Carlos E.R.:
On 16/10/2018 16.22, Knurpht-openSUSE wrote:
Op dinsdag 16 oktober 2018 13:18:25 CEST schreef Carlos E. R.:
On 16/10/2018 10.31, Knurpht-openSUSE wrote:
What happens if you play the same file through Kodi's webinterface ( needs to be activated first, queue the movie file and play "Lolal".
I don't see if I understand, but wouldn't that need a third machine?
No. My setup: Kodi on an Rpi3, with webinterface active. On my laptop I connect through it's IP:8080.
Ah, use kodi as server?
Yep, both as a server and a client ( the Pi is also connected through HDMI with my AV receiver ( and hence the TV ).
And on the client you use a web browser perhaps? Thus the decoding load is done on the server, and the network has to transmit the expanded stream perhaps.
Never went looking for those details since it works as I expected. :). Plus I mostly use it for music ( own and live recordings that aren't available through the web ).
I'll try that.
-- Gertjan Lettink a.k.a. Knurpht openSUSE Board Member openSUSE Forums Team -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (5)
-
Carlos E. R.
-
Carlos E.R.
-
Dave Howorth
-
David C. Rankin
-
Knurpht-openSUSE