# castnow **Repository Path**: mirrors_rtfpessoa/castnow ## Basic Information - **Project Name**: castnow - **Description**: commandline chromecast player - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-08-18 - **Last Updated**: 2026-01-03 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # castnow castnow is a command-line utility that can be used to play back media files on your Chromecast device. It supports playback of local video files, videos on the web and torrents. You can also re-attach a running playback session \(this sentence should belong somewhere else). ### interested in being a castnow maintainer? I currently don't have that much time to maintain this project and have also lost some interest (to be honest). Main reason is that we have had a new TV for a few months that supports casting directly to it using DLNA \(you may wanna checkout [dlnacast](https://github.com/xat/dlnacast)). Feel free to contact me \( [simon@sope.io](simon@sope.io) ) if you want to be added as a maintainer to castnow. ### usage ``` // start playback of a local video file castnow ./myvideo.mp4 // start playback of video and mp3 files in the local directory castnow ./mydirectory/ // playback 3 videos after each other castnow video1.mp4 video2.mp4 video3.mp4 // start playback of an mp4 file over the web castnow http://commondatastorage.googleapis.com/gtv-videos-bucket/ED_1280.mp4 // start playback of a video over torrent castnow // start playback of a video over torrent with local subtitles castnow --subtitles // transcode some other video format to mp4 while playback (requires ffmpeg) castnow ./myvideo.avi --tomp4 // transcode only audio while playback (in case the video shows, but there's no audio) castnow ./myvideo.mkv --tomp4 --ffmpeg-vcodec copy // change the increment at which the volume steps up or down. A lower number // is helpful if your speakers are very loud, and you want more precision over // the change in volume castnow ./song.mp3 --volume-step "0.01" // re-attach to a currently running playback session castnow ``` ### options * `--tomp4` Transcode a video file to mp4 during playback. This option requires ffmpeg to be installed on your computer. The play / pause controls are currently not supported in transcode mode. * `--device "my chromecast"` If you have more than one Chromecast on your network, use the `--device` option to specify the device on which you want to start casting. Otherwise, castnow will just use the first device it finds in the network. * `--address 192.168.1.4` The IP address or hostname of your chromecast. This will skip the MDNS scan. * `--subtitles ` This can be a path or URL to a vtt or srt file that contains subtitles. * `--subtitle-scale 1.5` Scaling factor for the size of the subtitle font. Default is 1.0. * `--subtitle-color #FFFFFFFF` Foreground RGBA color of the subtitle font. * `--myip 192.168.1.8` Your main IP address \(useful if you have multiple network adapters) * `--quiet` Hide the player timeline. * `--peerflix-