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

Unable to process with LAYOUT set to DIAMOND #171

Open
GitHubGoody opened this issue Aug 29, 2021 · 13 comments
Open

Unable to process with LAYOUT set to DIAMOND #171

GitHubGoody opened this issue Aug 29, 2021 · 13 comments
Labels
bug Something isn't working

Comments

@GitHubGoody
Copy link

I'm trying to reprocess some videos using different layouts and other various settings, but when I hit enter, nothing happens. I've deleted the processed video and even tried to change the date in the filenames and folders of the sources videos, but that didn't work either.

I see there's a parameter to NOT reprocess, but how do I force reprocessing of the same source videos?

@ehendrix23
Copy link
Owner

Nothing happens at all? Nothing on screen? Can you run with —loglevel DEBUG

@GitHubGoody
Copy link
Author

@ehendrix23 I isolated it to the Layout parameter I was playing with. When I change from any working layout (e.g. WIDESCREEN) to diamond (spelled like that and I've tried with and without CAPS), it doesn't process.

@GitHubGoody GitHubGoody changed the title Unable to reprocess Unable to process with LAYOUT set to DIAMOND Sep 1, 2021
@ehendrix23
Copy link
Owner

Thx for the analysis.

Can you run it with --loglevel DEBUG so I can see the debug entries to determine what it is doing.

On my end running with DIAMOND worked, so need to understand what is going on.

Thx.

@GitHubGoody
Copy link
Author

C:\Users\Adam>tesla_dashcam R:\Adam\Videos\TeslaCam\1-TeslaPi\SavedClips\2021-08-16_09-48-26 --output R:\Adam\Videos\TeslaCam\2-Processed --quality HIGH --font "\Users\Adam\tesla_dashcam\FONTS\TESLA.ttf" --fontcolor RED --fontsize 40 --layout DIAMOND --rear --motion_only --text_overlay_fmt {local_timestamp_rolling} --timestamp_format "%A, %B %d, %Y %H:%M:%S %p %Z" --loglevel DEBUG
2021-09-01 21:04:12,818:DEBUG: main Arguments : Namespace(background='black', chapter_offset=0, check_for_updates=False, clip_scale=None, compression='medium', delete_source=False, display_ts=False, end_offset=None, end_timestamp=None, exclude_subdirs=False, faststart=False, font='\\Users\\Adam\\tesla_dashcam\\FONTS\\TESLA.ttf', fontcolor='red', fontsize=40, fps=24, gpu_type=None, halign=None, include_beta=False, keep_events=False, keep_intermediate=False, layout='DIAMOND', loglevel='DEBUG', merge_timestamp_format='%Y-%m-%d_%H_%M', monitor=False, monitor_once=False, monitor_trigger=None, motion_only=True, no_check_for_updates=False, no_front=False, no_left=False, no_rear=False, no_right=False, no_timestamp=False, output='R:\Adam\Videos\TeslaCam\2-Processed', perspective=False, quality='HIGH', rear_or_mirror=0, sentry_offset=False, set_moviefile_timestamp='START', skip_existing=False, source=['R:\Adam\Videos\TeslaCam\1-TeslaPi\SavedClips\2021-08-16_09-48-26'], start_offset=None, start_timestamp=None, swap_frontrear=False, swap_leftright=None, system_notification=True, temp_dir=None, text_overlay_fmt='{local_timestamp_rolling}', timestamp_format='%A, %B %d, %Y %H:%M:%S %p %Z', title_screen_map=False, valign=None)
2021-09-01 21:04:12,818:DEBUG: main Platform is win32
2021-09-01 21:04:12,820:DEBUG: main Processor is Intel64 Family 6 Model 94 Stepping 3, GenuineIntel
2021-09-01 21:04:12,823:DEBUG: urllib3.connectionpool Starting new HTTPS connection (1): api.github.com:443
2021-09-01 21:04:12,989:DEBUG: urllib3.connectionpool https://api.github.com:443 "GET /repos/ehendrix23/tesla_dashcam/releases/latest HTTP/1.1" 200 997

@ehendrix23
Copy link
Owner

OK, even more weird right now. I just tried it with same settings as yours (except for --font) and no issues.

After you run it, can you execute echo $rc
I want to see what the return code is.

@ehendrix23 ehendrix23 added the bug Something isn't working label Sep 22, 2021
@ehendrix23
Copy link
Owner

Please re-open new issue if assistance is further required.

@GitHubGoody
Copy link
Author

GitHubGoody commented Dec 17, 2021

@ehendrix23 I have the latest build and just tried DIAMOND again. It's still not working for me. After attempting, I entered "echo $rc" and pressed ENTER. It returned $rc.

@ehendrix23
Copy link
Owner

Apologies, can you do, that should be it to get the return code on windows.
echo %errorlevel%

@GitHubGoody
Copy link
Author

@ehendrix23 It returned -1073741571

Is that helpful?

@GitHubGoody
Copy link
Author

@ehendrix23 Is there anything else I can do to help troubleshoot?

@ehendrix23
Copy link
Owner

Sorry, hadn’t had time yet. That return code is weird, my code definitely does not return that.
I’ll have to look more in the code and see to add lines to get more information on where it pretty much just exists or crashes.
Are you able to execute it as python code (not executable) or not comfortable with that?
Trying to see if when I can need to supply custom binary or if you could grab the python code from here then and execute.

@GitHubGoody
Copy link
Author

No problem ;-) I was just checking to make sure you didn't need anything else from me.

I just tried this again:

TeslaCam R:\Adam\Videos\TeslaCam\1-TeslaPi\SavedClips --output R:\Adam\Videos\TeslaCam\2-Processed --quality HIGH --font "\Users\Adam\tesla_dashcam\FONTS\TESLA.ttf" --fontcolor RED --fontsize 30 --layout DIAMOND --rear --motion_only --text_overlay_fmt "{event_reason} {event_city} {local_timestamp_rolling}" --timestamp_format "%A, %B %d, %Y %I:%M:%S %p %Z" --gpu --gpu_type nvidia

...and nothing happens still. Then I typed "echo %errorlevel%" and hit ENTER. It returned "-1073741571" again.

I'm willing to try whatever would help troubleshoot, but would probably need step-by-step instructions if it's not an executable.

@ehendrix23
Copy link
Owner

Summer came and went. What you provided from debug is your complete debug output correct?

Can you add --no-check_for_update parameter as well?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants