question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Pass arguments to ffmpeg

See original GitHub issue

Checklist

  • I’m asking a question
  • I’ve looked through the README and FAQ for similar questions
  • I’ve searched the bugtracker for similar questions including closed ones

Question

Is it possible to pass arguments to ffmpeg directly from youtube-dl cli?

I did some search, and have found one example in the python code level, but I’m wondering if it is possible from youtube-dl cli.

The use case is, for --extract-audio to convert video files to audio-only files, or doing audio-only downloading, it’ll be super if I can increase the audio volume using ffmpeg option on the fly, instead of me doing it again afterwards.

I don’t know if it is even possible, so I’m just asking. thx

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:8 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
ghostcommented, Dec 5, 2021

@UliGall In your case, ffmpeg IS downloading, not post-processing. You can pass arguments with --external-downloader-args.

FYI. There’s a --hls-prefer-native option to make youtube-dl itself download HLS. However, using --hls-prefer-native and --postprocessor-args will give the same result as downloading with ffmpeg in your case. This is because youtube-dl is passing arguments to ffmpeg after input files.

1reaction
ghostcommented, Dec 1, 2021

Please provide the verbose log.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to pass arguments using FFMPEG
How to pass arguments using FFMPEG ... I can't understand the reason. Can you help me? public void Func() { string FFMPEG_PATH =...
Read more >
How can I pass arguments to ffmpeg to use on youtube-dl ...
Hi, I'm making a code where it would use youtube-dl and ffmpeg but I want to add some arguments to ffmpeg also, how...
Read more >
ffmpeg Documentation
ffmpeg reads from an arbitrary number of input "files" (which can be regular files, pipes, network streams, grabbing devices, etc.), specified by the...
Read more >
How to format string the ffmpeg arguments to pass ...
I want to use the variable ffmpegArguments to pass the arguments from the textBox to the ffmpeg class arguments. the problem is that...
Read more >
ffmpeg-python documentation - GitHub Pages
stream_spec – a Stream, list of Streams, or label-to-Stream dictionary mapping · filter_name – ffmpeg filter name, e.g. colorchannelmixer · *args – list...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found