amiaopensource / vrecord

Vrecord is open-source software for capturing a video signal and turning it into a digital file.
https://github.com/amiaopensource/vrecord
151 stars 45 forks source link

cat ... "_ffmpeg_input.log: No such file or directory" #761

Closed pjotrek-b closed 1 year ago

pjotrek-b commented 1 year ago

I'm getting the following non-critical errors, when vrecord tries to cat logfiles after capture:

cat: /home/dva/Videos/vrecord/aux/xxx3_ffv1_ffmpeg_input.log: No such file or directory cat: /home/dva/Videos/vrecord/aux/xxx3_ffv1_ffmpeg_input.log: No such file or directory

(Yes, twice the same line)

I've checked the code and I'm wondering if it maybe a typo between mismatching file suffixes:

See:

pjotrek-b commented 1 year ago

Oh, maybe I should mention that I'm using the "auxiliary" folder feature for capture metadata files (instead of having them next to the captured videos).

privatezero commented 1 year ago

Hi @pjotrek-b - It certainly looks like the difference in suffixes there is the root of this (and in looking at the commit history line 209 originally set the suffix to _ffmpeg_input.log, so it looks like 2540 and 2541 just didn't get updated when the change to _vrecord_input.log was made.

We'll get a fix in soon! Thanks for noticing and reporting!

dericed commented 1 year ago

Yes, oops. I think that was me. I had been thinking that _ffmpeg_input isn't a fair suffix, since there's a few inputs in here (bmdtools, ffmpeg, avfctl), so I may have been trying to decide if to standardize to either _vrecord_input or _${input_tool}_input.