[opensuse] VLC 3 and Chromecast
Hi, according to places, VLC 3 can send to a Google Chromecast device, but it does not work for me. <https://www.howtogeek.com/269272/how-to-stream-from-vlc-to-your-chromecast/> My problem is that VLC doesn't see the chromecast device. Google Chrome does, same computer, and I can play things "fine". Well, its version of fine. I have VLC 3.0.2 on openSUSE 15.0. I go to "Playback/Renderer" and the only option is "local". "Scanning" is greyed out. Preferences (Advanced mode)/Stream output/Access output has "Chromecast stream output" selected. Ideas? (VLC from a tablet or phone (Android) does work. Unfortunately, with the video files I'm interested on playing it plays audio, no video at all. Probably needs conversion on the fly - which is why I'm trying the computer instead, with no luck so far.) -- Cheers / Saludos, Carlos E. R. (from openSUSE 15.0 (Legolas))
On 2018-11-11 23:45, Carlos E. R. wrote:
Hi,
according to places, VLC 3 can send to a Google Chromecast device, but it does not work for me.
<https://www.howtogeek.com/269272/how-to-stream-from-vlc-to-your-chromecast/>
"This feature is currently only available in version 3.0 of VLC for Windows and Mac, so you’ll need a Windows PC or Mac and an up-to-date version of VLC to continue." Your on Windows or Mac? Cheers, -- /bengan -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 12/11/2018 11.26, Bengt Gördén wrote:
On 2018-11-11 23:45, Carlos E. R. wrote:
Hi,
according to places, VLC 3 can send to a Google Chromecast device, but it does not work for me.
<https://www.howtogeek.com/269272/how-to-stream-from-vlc-to-your-chromecast/>
"This feature is currently only available in version 3.0 of VLC for Windows and Mac, so you’ll need a Windows PC or Mac and an up-to-date version of VLC to continue."
Oh, shit. :-( -- Cheers / Saludos, Carlos E. R. (from 42.3 x86_64 "Malachite" at Telcontar)
Le 12/11/2018 à 11:29, Carlos E. R. a écrit :
"This feature is currently only available in version 3.0 of VLC for Windows and Mac, so you’ll need a Windows PC or Mac and an up-to-date version of VLC to continue."
Oh, shit. :-(
try wine jdd -- http://dodin.org -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 12/11/2018 11.32, jdd@dodin.org wrote:
Le 12/11/2018 à 11:29, Carlos E. R. a écrit :
"This feature is currently only available in version 3.0 of VLC for Windows and Mac, so you’ll need a Windows PC or Mac and an up-to-date version of VLC to continue."
Oh, shit. :-(
try wine
I'm now looking at converting my video files to a format that the chromecast likes. Found a page that lists them: <https://developers.google.com/cast/docs/media> Another post at <https://www.reddit.com/r/Chromecast/comments/69kd06/best_video_format_for_streaming_local_files/> says "Generally h264/x264 is what you'll want for Chromecast use (CC doesn't support hardware decoding of h265)." So I will have to concoct an ffmpeg conversion line and try. Not now, I have to go elsewhere. -- Cheers / Saludos, Carlos E. R. (from 42.3 x86_64 "Malachite" at Telcontar)
On 2018-11-12 11:29, Carlos E. R. wrote:
On 12/11/2018 11.26, Bengt Gördén wrote:
On 2018-11-11 23:45, Carlos E. R. wrote:
Hi,
according to places, VLC 3 can send to a Google Chromecast device, but it does not work for me.
<https://www.howtogeek.com/269272/how-to-stream-from-vlc-to-your-chromecast/>
"This feature is currently only available in version 3.0 of VLC for Windows and Mac, so you’ll need a Windows PC or Mac and an up-to-date version of VLC to continue."
Oh, shit. :-(
I've got a few chromecast so I'm also interested to get this to work although it's no pressing need. In the forum there seems to be some folks that have got it to work in Linux. https://forum.videolan.org/viewforum.php?f=13 ctrl-f and search for chromecast. From one of the first threads I tried a cli command and a video that I know is good with my Chromecast Ultra. My Ultra sits on my local LAN on 192.168.1.39. $ vlc -vv --sout "#chromecast" --sout-chromecast-ip=192.168.1.39 --sout-chromecast-conversion-quality=0 --demux-filter=demux_chromecast ~/Video/out.mkv It works :) -- /bengan -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 12/11/2018 12.02, Bengt Gördén wrote:
On 2018-11-12 11:29, Carlos E. R. wrote:
On 12/11/2018 11.26, Bengt Gördén wrote:
On 2018-11-11 23:45, Carlos E. R. wrote:
Hi,
according to places, VLC 3 can send to a Google Chromecast device, but it does not work for me.
<https://www.howtogeek.com/269272/how-to-stream-from-vlc-to-your-chromecast/>
"This feature is currently only available in version 3.0 of VLC for Windows and Mac, so you’ll need a Windows PC or Mac and an up-to-date version of VLC to continue."
Oh, shit. :-(
I've got a few chromecast so I'm also interested to get this to work although it's no pressing need. In the forum there seems to be some folks that have got it to work in Linux.
https://forum.videolan.org/viewforum.php?f=13
ctrl-f and search for chromecast.
From one of the first threads I tried a cli command and a video that I know is good with my Chromecast Ultra. My Ultra sits on my local LAN on 192.168.1.39.
$ vlc -vv --sout "#chromecast" --sout-chromecast-ip=192.168.1.39 --sout-chromecast-conversion-quality=0 --demux-filter=demux_chromecast ~/Video/out.mkv
Thanks :-)
It works :)
Ah, but what I want VLC for is videos that I know the Chromecast Ultra doesn't handle, need conversion. Anyway, I'll try. -- Cheers / Saludos, Carlos E. R. (from 42.3 x86_64 "Malachite" at Telcontar)
On 12/11/2018 12.13, Carlos E. R. wrote:
On 12/11/2018 12.02, Bengt Gördén wrote:
...
From one of the first threads I tried a cli command and a video that I know is good with my Chromecast Ultra. My Ultra sits on my local LAN on 192.168.1.39.
$ vlc -vv --sout "#chromecast" --sout-chromecast-ip=192.168.1.39 --sout-chromecast-conversion-quality=0 --demux-filter=demux_chromecast ~/Video/out.mkv
Thanks :-)
It works :)
Ah, but what I want VLC for is videos that I know the Chromecast Ultra doesn't handle, need conversion.
Anyway, I'll try.
Some progress :-) I tried two videos downloaded from internet, and they worked fine. On one VLC said that it needed conversion, that it would use CPU power and battery, then it kept silent about that. One avi, another mp4. But a third one did not work, and it is the type I'm interested in, as they come from direct recording of my TV streams (delayed view). They are mpeg. Transport mpeg, I think is the proper name. I get audio, but no video. Same problem as using VLC on a tablet. Nothing I try with these files work on the Chromecast (I mean I tried several Android apps some commercial). VLC or others play them just fine locally. -- Cheers / Saludos, Carlos E. R. (from openSUSE 15.0 (Legolas))
On 2018-11-13 02:09, Carlos E. R. wrote:
But a third one did not work, and it is the type I'm interested in, as they come from direct recording of my TV streams (delayed view). They are mpeg. Transport mpeg, I think is the proper name. I get audio, but no video. Same problem as using VLC on a tablet. Nothing I try with these files work on the Chromecast (I mean I tried several Android apps some commercial). VLC or others play them just fine locally.
I have some mpeg-ts from Swedish television and they are perfectly castable to my Ultra. But they have AVC (H264) as video codec. It might be that your mpeg-ts have a codec that isn't one of chromecast supported format. TICO is one of them. If you have "mediainfo" installed check the file with that. avprobe, ffprobe (and to some extent exiftool) also gives some info but I think mediainfo is a lot more versatile. A lot of output formats. mediainfo file.ts mediainfo --Output=JSON file.ts mediainfo --Info_OutputFormats Some years ago I stumbled on a nice small bash script that converts to chromecast supported format. https://github.com/petrkotek/chromecastize -- /bengan -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 El 2018-11-13 a las 22:03 +0100, Bengt Gördén escribió:
On 2018-11-13 02:09, Carlos E. R. wrote:
But a third one did not work, and it is the type I'm interested in, as they come from direct recording of my TV streams (delayed view). They are mpeg. Transport mpeg, I think is the proper name. I get audio, but no video. Same problem as using VLC on a tablet. Nothing I try with these files work on the Chromecast (I mean I tried several Android apps some commercial). VLC or others play them just fine locally.
I have some mpeg-ts from Swedish television and they are perfectly castable to my Ultra. But they have AVC (H264) as video codec. It might be that your mpeg-ts have a codec that isn't one of chromecast supported format. TICO is one of them.
If you have "mediainfo" installed check the file with that. avprobe, ffprobe (and to some extent exiftool) also gives some info but I think mediainfo is a lot more versatile. A lot of output formats.
mediainfo file.ts mediainfo --Output=JSON file.ts mediainfo --Info_OutputFormats
It is different. Video ID : 101 (0x65) Menu ID : 3710 (0xE7E) Format : AVC Format/Info : Advanced Video Codec Format profile : High@L4 Format settings : CABAC / 4 Ref Frames Format settings, CABAC : Yes Format settings, ReFrames : 4 frames Format settings, GOP : M=8, N=24 Codec ID : 27 <====== ? Duration : 3 min 53 s Bit rate : 6 242 kb/s Width : 1 920 pixels Height : 1 080 pixels Display aspect ratio : 16:9 Frame rate : 25.000 FPS Standard : Component Color space : YUV Chroma subsampling : 4:2:0 Bit depth : 8 bits Scan type : MBAFF Scan type, store method : Interleaved fields Scan order : Top Field First Bits/(Pixel*Frame) : 0.120 Stream size : 174 MiB (90%) Color range : Limited Color primaries : BT.709 Transfer characteristics : BT.709 Matrix coefficients : BT.709 Another one, sliglty different: Video ID : 101 (0x65) Menu ID : 51 (0x33) Format : AVC Format/Info : Advanced Video Codec Format profile : High@L3 Format settings : CABAC / 4 Ref Frames Format settings, CABAC : Yes Format settings, ReFrames : 4 frames Format settings, GOP : M=8, N=24 Codec ID : 27 Duration : 2 h 15 min Bit rate : 1 869 kb/s Width : 720 pixels Height : 576 pixels Display aspect ratio : 16:9 Frame rate : 25.000 FPS Standard : PAL Color space : YUV Chroma subsampling : 4:2:0 Bit depth : 8 bits Scan type : MBAFF Scan type, store method : Interleaved fields Scan order : Top Field First Bits/(Pixel*Frame) : 0.180 Stream size : 1.76 GiB (81%) Color range : Limited Color primaries : BT.601 PAL Transfer characteristics : BT.470 System B/G Matrix coefficients : BT.470 System B/G
Some years ago I stumbled on a nice small bash script that converts to chromecast supported format.
Now it is late, maybe tomorrow I can check on that. Thankyou! - -- Cheers Carlos E. R. (from openSUSE 42.3 x86_64 "Malachite" (Minas Tirith)) -----BEGIN PGP SIGNATURE----- iJIEAREIADoWIQQt/vKEw5659AgM/X2NrxRtxRYzXAUCW+tc8hwccm9iaW4ubGlz dGFzQHRlbGVmb25pY2EubmV0AAoJEI2vFG3FFjNcJ84BAIJBRvWQ3qtf1uGUhiMg 9qyvsLTOPdc3UiNM9A1aVDsCAQCH6tglyiEfBZY/B4BiJ8bEUpUCeZRVpfhTi43G 7VU3Zg== =z8wa -----END PGP SIGNATURE-----
On 14/11/2018 00.23, Carlos E. R. wrote:
El 2018-11-13 a las 22:03 +0100, Bengt Gördén escribió:
Some years ago I stumbled on a nice small bash script that converts to chromecast supported format.
Now it is late, maybe tomorrow I can check on that. Thankyou!
Well, no, it refuses to process it: cer-g@Isengard:~/F_Videos> chromecastize.sh Battlestar\ Galactica\ \ Blood\ and\ Chrome.mpeg `mediainfo` is not available, please install it cer-g@Isengard:~/F_Videos> chromecastize.sh Battlestar\ Galactica\ \ Blood\ and\ Chrome.mpeg =========== Processing: Battlestar Galactica Blood and Chrome.mpeg 'MPEG-TS' is an unknown codec. Please add it to the list in a CONFIG section. cer-g@Isengard:~/F_Videos> I will try this, taking some options from my notes for converting those videos, and others from the script: cer-g@Isengard:~/F_Videos> time nice ffmpeg -loglevel error -stats -i "Battlestar Galactica Blood and Chrome.mpeg" -copyts -map 0:0 -map 0:1 -map 0:2 -scodec copy -vcodec h264 -acodec copy "Battlestar Galactica Blood and Chrome.mkv" frame= 915 fps=8.9 q=28.0 size= 13889kB time=10:01:37.36 bitrate= 3.2kbits/s speed= 352x ... Well, it does play well :-) The subtitles are lost, perhaps I forgot... yes, I did. Correcting the command line: cer-g@Isengard:~/F_Videos> time nice ffmpeg -loglevel error -stats -i "Battlestar Galactica Blood and Chrome.mpeg" -copyts -map 0:0 -map 0:1 -map 0:2 -map 0:3 -scodec copy -vcodec h264 -acodec copy "Battlestar Galactica Blood and Chrome.s.mkv" frame= 641 fps=8.5 q=28.0 size= 6303kB time=10:01:26.54 bitrate= 1.4kbits/s speed= 481x ... The encoding is too slow in this machine, though. Well, my desktop machine does the conversion at 16 fps, not much faster... I would have to do the encoding in advance to watching the movie. Perhaps lower the quality. Mmm... using -preset medium just improves to 17 fps. Another problem is that VLC is pulling the stream via http from my home server, and when I try to move to a section of the movie it says that the "stream is not searchable" (directly on the computer it is), so it must be a side effect of using http. Maybe I can solve that by using the laptop to "cast" and using nfs or smb or sshfs instead of http. -- Cheers / Saludos, Carlos E. R. (from 42.3 x86_64 "Malachite" at Telcontar)
On 24/11/2018 23.54, Carlos E. R. wrote:
Another problem is that VLC is pulling the stream via http from my home server, and when I try to move to a section of the movie it says that the "stream is not searchable" (directly on the computer it is), so it must be a side effect of using http. Maybe I can solve that by using the laptop to "cast" and using nfs or smb or sshfs instead of http.
Well, I tried with sshfs, on the laptop running oS 15.0 and VLC 3 something. VLC can go back and forth in the converted movie, but refuses when it is sending to the chromecast. In fact, it goes back to the start of the movie! There is another problem, that the time stamps on the movie seem wrong, VLC can not display proper time point of the scenes. And yet another: VLC can display the subtitles fine, but not on the chromecast. I saw at somepoint an VLC Beta. I must try that one. -- Cheers / Saludos, Carlos E. R. (from 42.3 x86_64 "Malachite" at Telcontar)
participants (3)
-
Bengt Gördén
-
Carlos E. R.
-
jdd@dodin.org