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

Installation went perfect, but Resolve shows no video #22

Open
2 tasks done
kramer65 opened this issue Jan 7, 2025 · 3 comments
Open
2 tasks done

Installation went perfect, but Resolve shows no video #22

kramer65 opened this issue Jan 7, 2025 · 3 comments

Comments

@kramer65
Copy link

kramer65 commented Jan 7, 2025

Step 1: Are you in the right place?

  • I have verified there are no duplicate active or recent bugs, questions, or requests.
  • have verified that I am using the latest version of the playbook.

Step 2: Describe your environment

  • Ansible version: ansible [core 2.17.7]
  • Operating System: Ubuntu 24.04
  • Ansible playbook: ?
  • Role (if applicable): ?

Step 3: Describe the problem:

To start off, thanks for creating these playbooks! It's really appreciated! I installed the free version of Resolve with it with no errors. Resolve also starts without errors. When I drag a video I made with my phone into resolve and into the timeline, it shows audio, but no video. The video plays fine in any other video player on Ubuntu. Here's a screenshot of what I see:

Screenshot from 2025-01-07 09-54-34

Steps to reproduce:

  1. Open Davinci Resolve
  2. Open New Project
  3. Drag video into timeline

Observed Results:

  • I attached Davinci Resolve debug logs to this message

ResolveDebug.txt
resolve_graphics_log.txt

The relevant two lines I guess are these:

Failed to initialize OpenCL board manager for "Intel Iris Xe Graphics" (gpu:928ce290.7b092bf5): Failed to initialize OpenCL context
Codec (avc1) not Found in Repository

I found this thread about the missing AV1 codec, although later in the thread they say it has been added in Resolve 17.2. So then I tried converting my little video using a couple different codecs, but none of the ones I tried work. Here's what I tried.

ffmpeg -i input.mp4 -c:v dnxhd -profile:v dnxhr_hq -c:a pcm_s16le -vf "scale=1920:1080" output.mov
ffmpeg -i input.mp4 -c:v prores_ks -profile:v 3 -c:a pcm_s16le output2.mov
ffmpeg -i input.mp4 -c:v cfhd -q:v 1 -c:a pcm_s16le output3.mov
ffmpeg -i input.mp4 -c:v jpeg2000 -pix_fmt yuv422p -b:v 200M -c:a pcm_s16le output4.mxf
ffmpeg -i input.mp4 -c:v rawvideo -pix_fmt yuv420p -c:a pcm_s16le output5.avi
ffmpeg -i input.mp4 -c:v libx264 -pix_fmt yuv420p -profile:v high -level 4.2 -c:a aac -b:a 192k output6.mp4
ffmpeg -i input.mp4 -c:v dvvideo -s 720x576 -pix_fmt yuv420p -aspect 16:9 -c:a pcm_s16le output7.avi

Some of them do show a video track, but show no image in it. This is what I see now:

Screenshot from 2025-01-07 10-53-22

Would you have any idea what the source of this problem could be? Is it missing codecs? Is my Intel GPU the problem? Any tips would be really welcome! I really really want to start using DaVinci Resolve!

Expected Results:

  • That it shows video :-)

Relevant Code:

I don't know of any relevant code.

Error/Log Output:

See attached files above

@leinardi
Copy link
Owner

leinardi commented Jan 7, 2025

Frankly I'm not an expert of DaVinci Resolve (I created the playbook to help a friend to install it, I don't use it). But, if I have to guess, I would say that it is a codec issue.
You could try to convert it this way, it worked for another user with a similar problem: #21 (comment)

I'm able to import mp4 videos, mkv doesn't work and I don't any preview of the video but it's caused by the encoding, I was able to fix that by reencoding my test video using ffmpeg -i input.mp4 -vcodec vp9 -acodec mp3 output.mp4 so I assume this is not caused by this installer but from the software itself or missing libraries on my end.

@zeyad-shaban
Copy link

Did you found the solution cuz i'm experience the same thing, i even got resolve studio and still can't decode the videos, nothing, i tried many codec formats but nothing is working

is it that i don't have nvidia gpu or something?

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

3 participants