Bug description
I generated the audio and motion cache for a video file and after not being satisfied with the results, planned on using the or statement for applying both methods. It seems that it didn't use the cache generated earlier and is now reanalyzing the motion and audio.
Is this expected behaviour?
What's your platform?
OS: Windows 10 amd64
Python: 3.10.11
PyAV: 13.0.0 (LGPL version 3 or later)
Auto-Editor: 25.2.0
What command did you use
auto-editor video.mp4 --edit "(or motion:0:02 audio:0.05,mincut=1sec)" --margin 0.02sec,0.5sec --export resolve
What properties does your input video have?
video.mp4:
- recommendedTimebase: 60/1
- video:
- track 0:
- codec: h264
- fps: 903420000/15057001
- resolution: 1920x1080
- aspect ratio: 16:9
- pixel aspect ratio: 1
- duration: 10030.016
- pix fmt: yuv420p
- color range: 1 (tv)
- color space: 1 (bt709)
- color primaries: 1 (bt709)
- color transfer: 1 (bt709)
- timebase: 1/90000
- bitrate: 5999160
- lang: und
- audio:
- track 0:
- codec: aac
- layout: stereo
- samplerate: 48000
- duration: 10030.005
- bitrate: 159530
- lang: und
- container:
- duration: 10030.016
- bitrate: 6180716
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'video.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf60.20.100
Duration: 02:47:10.02, start: 0.000000, bitrate: 6180 kb/s
Stream #0:00x1: Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709, progressive), 1920x1080 [SAR 1:1 DAR 16:9], 5999 kb/s, 60 fps, 60 tbr, 90k tbn (default)
Metadata:
handler_name : VideoHandler
vendor_id : [0][0][0][0]
Stream #0:10x2: Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 159 kb/s (default)
Metadata:
handler_name : SoundHandler
vendor_id : [0][0][0][0]
At least one output file must be specified
Comments
If this is expected behaviour, close this issue immediately.
Bug description
I generated the audio and motion cache for a video file and after not being satisfied with the results, planned on using the or statement for applying both methods. It seems that it didn't use the cache generated earlier and is now reanalyzing the motion and audio.
Is this expected behaviour?
What's your platform?
What command did you use
auto-editor video.mp4 --edit "(or motion:0:02 audio:0.05,mincut=1sec)" --margin 0.02sec,0.5sec --export resolveWhat properties does your input video have?
video.mp4:
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'video.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf60.20.100
Duration: 02:47:10.02, start: 0.000000, bitrate: 6180 kb/s
Stream #0:00x1: Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709, progressive), 1920x1080 [SAR 1:1 DAR 16:9], 5999 kb/s, 60 fps, 60 tbr, 90k tbn (default)
Metadata:
handler_name : VideoHandler
vendor_id : [0][0][0][0]
Stream #0:10x2: Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 159 kb/s (default)
Metadata:
handler_name : SoundHandler
vendor_id : [0][0][0][0]
At least one output file must be specified
Comments
If this is expected behaviour, close this issue immediately.