Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to properly pass ffmpeg options? #245

Open
tkossak opened this issue May 13, 2019 · 3 comments
Open

How to properly pass ffmpeg options? #245

tkossak opened this issue May 13, 2019 · 3 comments

Comments

@tkossak
Copy link

tkossak commented May 13, 2019

I have a video file with audio codec that causes no audio on TV when casting through castnow. When I convert the audio with ffmpeg it works fine (both audio and video):

ffmpeg -i sample.mkv -vcodec copy -acodec vorbis -ac 2 -strict -2 -f mp4 -movflags frag_keyframe+faststart - | castnow -

But then the castnow shortcut keys don't work. How can I convert above command to castnow options? I tried:

castnow ./sample.mkv --ffmpeg-vcodec copy --ffmpeg-acodec vorbis --ffmpeg-ac 2 --ffmpeg-strict -2 --ffmpeg-f mp4 --ffmpeg-movflags frag_keyframe+faststart

And it plays but with no sound.

@ZakariasBW
Copy link

try with:

castnow ./sample.mkv --tomp4 --ffmpeg-vcodec copy --ffmpeg-acodec vorbis --ffmpeg-ac 2 --ffmpeg-strict experimental --ffmpeg-f mp4 --ffmpeg-movflags frag_keyframe+faststart

--tomp4 is needed to use the transcoding plugin.
note: seeking is disabled when transcoding
hope this helps

@tkossak
Copy link
Author

tkossak commented Jun 19, 2019

I can't even verify it because castnow stopped working (stuck on "Loading...."). Thank you anyway. I think I'll stick to chrome extension for casting my files to chromecast.
This project seems to be abandoned...

@sarbuckle
Copy link

A simpler command for this problem of no audio with castnow would look something like.
castnow --tomp4 --ffmpeg-c:a ac3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants