Mailinglist Archive: opensuse (626 mails)

< Previous Next >
Re: [opensuse] VLC 3 and Chromecast
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.

https://github.com/petrkotek/chromecastize

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)

< Previous Next >
Follow Ups