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

ffmpeg order error and no reencoding options #2

Merged
merged 3 commits into from
Jan 30, 2019

Conversation

javimixet
Copy link
Contributor

I got this error when extracting clips:

Option to (record or transcode stop time) cannot be applied to input url VID_20190124_124206.mp4 -- you are trying to apply an input option to an output file or vice versa. Move this option before the file it belongs to.
Error parsing options for input file VID_20190124_124206.mp4.
Error opening input files: Invalid argument

Time options seems to need to be after input file.

Also, added -c copy arg to ffmpeg command to avoid reencoding the extracted clips, which speeds considerably the extraction.

I get this error when extracting clips:
```
Option to (record or transcode stop time) cannot be applied to input url VID_20190124_124206.mp4 -- you are trying to apply an input option to an output file or vice versa. Move this option before the file it belongs to.
Error parsing options for input file VID_20190124_124206.mp4.
Error opening input files: Invalid argument
```
Time options need to be after input file.

Also, added `copy` arg to `-vcodec` and `-acodec` to avoid reencoding the extracted clips.
ffmpeg order error and no reencoding options
@federico-terzi federico-terzi merged commit f48888f into federico-terzi:master Jan 30, 2019
@federico-terzi
Copy link
Owner

Seems great, thank you very much for your help.

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

Successfully merging this pull request may close these issues.

2 participants