You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Sometimes when a transform job is requested, an error happens with the following stack trace:
ERROR:root:FFmpeg conversion failed for /allen/aind/scratch/vr-foraging/data/754582/754582_20241114T111630/behavior-videos/FaceCamera/video.mp4
Command: ffmpeg -y -v warning -hide_banner -i /allen/aind/scratch/vr-foraging/data/754582/754582_20241114T111630/behavior-videos/FaceCamera/video.mp4 -vf setparams=color_primaries=bt709:color_trc=linear:colorspace=bt709,scale=out_color_matrix=bt709:out_range=full:sws_dither=none,format=yuv420p10le,colorspace=ispace=bt709:all=bt709:dither=none,scale=out_range=tv:sws_dither=none,format=yuv420p -c:v libx264 -preset veryslow -crf 18 -pix_fmt yuv420p -metadata author=Allen Institute for Neural Dynamics -movflags +faststart+write_colr /allen/aind/stage/svc_aind_airflow/prod/behavior_754582_job_1735686516_28a95/behavior-videos/FaceCamera/video.mp4
Return code: 1
Error output:
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x55a37a1ef040] moov atom not found
/allen/aind/scratch/vr-foraging/data/754582/754582_20241114T111630/behavior-videos/FaceCamera/video.mp4: Invalid data found when processing input
Traceback (most recent call last):
File "<frozen runpy>", line 198, in _run_module_as_main
File "<frozen runpy>", line 88, in _run_code
File "/usr/local/lib/python3.11/site-packages/aind_behavior_video_transformation/etl.py", line 186, in <module>
job_response = job.run_job()
^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/aind_behavior_video_transformation/etl.py", line 156, in run_job
self._run_compression(convert_video_args)
File "/usr/local/lib/python3.11/site-packages/aind_behavior_video_transformation/etl.py", line 119, in _run_compression
raise RuntimeError(
RuntimeError: One or more Ffmpeg jobs failed. See error logs.
To Reproduce
Steps to reproduce the behavior:
Difficult to reproduce, but try running the compression on the file listed in the stack trace
See error
Expected behavior
If the file itself is corrupt, then I'm not sure what the expected behavior should be. Should we just copy the file as is?
Additional context
This might be something with the base docker image being used in ghcr.io/allenneuraldynamics/aind-behavior-video-transformation:0.1.6
The text was updated successfully, but these errors were encountered:
Describe the bug
Sometimes when a transform job is requested, an error happens with the following stack trace:
To Reproduce
Steps to reproduce the behavior:
Expected behavior
If the file itself is corrupt, then I'm not sure what the expected behavior should be. Should we just copy the file as is?
Additional context
This might be something with the base docker image being used in
ghcr.io/allenneuraldynamics/aind-behavior-video-transformation:0.1.6
The text was updated successfully, but these errors were encountered: