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

Unclear Error from Full Source Volume #3

Closed
dylancaponi opened this issue Mar 26, 2019 · 3 comments
Closed

Unclear Error from Full Source Volume #3

dylancaponi opened this issue Mar 26, 2019 · 3 comments

Comments

@dylancaponi
Copy link

In case others run into it: The below error appeared when the source USB stick had very little remaining storage space. An overly sensitive Sentry mode had recorded a lot of video. It's a little confusing because the output folder was set to a volume with plenty of space.

Maybe ffmpeg uses the source directory for temp files?

Problem was solved by copying source files to a volume with more available storage.

Error trying to create movie /Users/dc/Repo/teslacam/2019-03-15_19-48-53.mp4. RC: 1
Command: ['ffmpeg', '-filter_complex', 'concat=n=0:v=1:a=0 [v]', '-map', '[v]', '-c:v', 'libx264', '-preset', 'ultrafast', '-crf', '28', '-y', '/Users/dc/Repo/teslacam/2019-03-15_19-48-53.mp4']
Error: b"ffmpeg version 4.1.1 Copyright (c) 2000-2019 the FFmpeg developers\n  built with Apple LLVM version 10.0.0 (clang-1000.11.45.5)\n  configuration: --prefix=/usr/local/Cellar/ffmpeg/4.1.1 --enable-shared --enable-pthreads --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags='-I/Library/Java/JavaVirtualMachines/openjdk-11.0.2.jdk/Contents/Home/include -I/Library/Java/JavaVirtualMachines/openjdk-11.0.2.jdk/Contents/Home/include/darwin' --host-ldflags= --enable-ffplay --enable-gnutls --enable-gpl --enable-libaom --enable-libbluray --enable-libmp3lame --enable-libopus --enable-librubberband --enable-libsnappy --enable-libtesseract --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-libxvid --enable-lzma --enable-libfontconfig --enable-libfreetype --enable-frei0r --enable-libass --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librtmp --enable-libspeex --enable-videotoolbox --disable-libjack --disable-indev=jack --enable-libaom --enable-libsoxr\n  libavutil      56. 22.100 / 56. 22.100\n  libavcodec     58. 35.100 / 58. 35.100\n  libavformat    58. 20.100 / 58. 20.100\n  libavdevice    58.  5.100 / 58.  5.100\n  libavfilter     7. 40.101 /  7. 40.101\n  libavresample   4.  0.  0 /  4.  0.  0\n  libswscale      5.  3.100 /  5.  3.100\n  libswresample   3.  3.100 /  3.  3.100\n  libpostproc    55.  3.100 / 55.  3.100\n[concat @ 0x7ff21052b240] Value 0.000000 for parameter 'n' out of range [1 - 2.14748e+09]\n    Last message repeated 1 times\n[concat @ 0x7ff21052b240] Error setting option n to value 0.\n[Parsed_concat_0 @ 0x7ff21052b140] Error applying options to the filter.\n[AVFilterGraph @ 0x7ff21052b000] Error initializing filter 'concat' with args 'n=0:v=1:a=0'\nError initializing complex filters.\nResult too large\n"
@ehendrix23
Copy link
Owner

Next version will fix this by using the output folder (if provided) for the intermediate files as well.
Further, if instead of a folder a filename is provided for output then it will figure out what the folder is and use it.

@pdobb
Copy link

pdobb commented Mar 28, 2019

I got similar error to what OP posted... but it was preceded by another one about missing files. I found that it was because the tool expects all camera angles to be present: front, left_repeater and right_repeater for each timestamp. I wasn't working from a full set of files and this discrepancy caused it to fail.

@ehendrix23
Copy link
Owner

Closing this issue. New version (0.1.8) will create the intermediate files in the provided output folder and not source folder anymore.
Further, if a file is missing it will be ignored instead of creating an error.

Latest version can be found here: https://github.com/ehendrix23/tesla_dashcam/releases/tag/v0.1.8

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