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.

Error when I put url on input() ?

See original GitHub issue

Hello, I have some trouble when I use URL as a value in input function, I got this error, what I’m missing in here?

I would like to try to implement this original commend on FFmpeg ffmpeg -i "http://example.com/video_url.m3u8" -c copy -bsf:a aac_adtstoasc "output.mp4"

are ‘input.(source)’ is equal as ‘ffmpeg -i source’ ? but yeah when I try with this code:

dofirst = ffmpeg.output(dofirst, "master.mp4", **{'-bsf:a': 'aac_adtstoasc'})
ffmpeg.run(dofirst)

I get this stuff:

  File "d:/Workspaces/Python/ytcd/ffmpegd.py", line 10, in <module>
    ffmpeg.run(dofirst)
  File "C:\Program Files\Python37\lib\site-packages\ffmpeg\_run.py", line 208, in run
    p = subprocess.Popen(args, stdin=stdin_stream, stdout=stdout_stream, stderr=stderr_stream)
  File "C:\Program Files\Python37\lib\subprocess.py", line 756, in __init__
    restore_signals, start_new_session)
  File "C:\Program Files\Python37\lib\subprocess.py", line 1155, in _execute_child
    startupinfo)
FileNotFoundError: [WinError 2] The system cannot find the file specified

Issue Analytics

  • State:open
  • Created 5 years ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
sailordiarycommented, Jun 20, 2020

Use absf='aac_adtstoasc'.

0reactions
bilabarcommented, Sep 19, 2021

Your code should have no dash in bsf parameter

dofirst = ffmpeg.output(dofirst, "master.mp4", **{'bsf:a': 'aac_adtstoasc'})

Look at #136

ffmpeg.input(new_filename).output(h264_stream, vcodec='copy', **{'bsf:v': h264_mp4toannexb'}).compile()
Read more comments on GitHub >

github_iconTop Results From Across the Web

<input type="url"> - HTML: HyperText Markup Language | MDN
The input value is automatically validated to ensure that it's either empty or a properly-formatted URL before the form can be submitted.
Read more >
Input Type URL - Says "Please enter a URL" if HTTP is not ...
I've used input:invalid css to remove that outline. However now when the user submits the form, the browser throws an error saying "Please...
Read more >
html - Principally, is input type="text" instead input type="url" a ...
I have a simple HTML-PHP-CSS contact form (no JavaScript) with some trivial fields sent via PHP's mail() function. One of the fields is...
Read more >
Validating Input | Web Accessibility Initiative (WAI) - W3C
Most current web browsers automatically set its value to true when the HTML5 ... HTML5 also provides input types for other data, including...
Read more >
Why do I get the error message, 'Too Many Input/Output ...
Learn more about function, too, many, input, arguments, output MATLAB. ... In order to use activations() on the network you are defining, ...
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