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

desktop.ini files get detected as audio-files #83

Open
z1glr opened this issue Jun 4, 2024 · 1 comment
Open

desktop.ini files get detected as audio-files #83

z1glr opened this issue Jun 4, 2024 · 1 comment

Comments

@z1glr
Copy link

z1glr commented Jun 4, 2024

I've got my media-files in Google Drive and synced with its client which creates desktop.ini files in each directory.

CasparCG detects those as audio-files:

"VIDEOS/DESKTOP" AUDIO 244 20240416144820 41 1/1000

This happens both with the media-scanner included with casparcg_v2.3.3_LTS and the current v1.3.4 version.

@amwtech
Copy link

amwtech commented Jul 22, 2024

Both CasparCG scanner and CasparCG server assume that all files in the media folder and sub-folders are media files. Scanner uses ffprobe to evaluate the file. There are three recognised media types - MOVIE, STILL, AUDIO based on the data returned by ffprobe (see src/ffmpeg.ts), and the file type defaults to AUDIO if no movie or still attribution is matched.

This media type allocation was implemented in the earliest versions of CasparCG and has remained consistent with subsequent releases. The method of testing the file content ensures that files named media01.mov and media02 can both be allocated to the correct type group and loaded into a channel using the correct producer.

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

2 participants