Open wheresmytissue opened 6 months ago
Those exit 1s & exit 69s are errors from ffmpeg (not xbvr). The panic is probably ffmpeg choking on a vid (scene slr-9322 in this case) it can't handle. OR you ran out of memory. I would see if any of those scenes have previews. If not, it would be a good indicator that the videos are borked in some way.
I have the same problem - any help would be much appreciated....
If I run ffprobe on the files directly it works, but I'm not sure of the entire command xbvr is sending to ffprobe or ffmpeg. Can someone give me an example?
Does it need access to the GPU? (I'm running Ubuntu in a virtual machine with no passthrough of the GPU).
The logs are filled with this:
time="2024-02-16T14:04:30+01:00" level=info msg="Start scanning volumes" task=rescan
time="2024-02-16T14:04:30+01:00" level=info msg="Scanning /mnt/adult/Interactive" task=rescan
time="2024-02-16T14:04:30+01:00" level=error msg="Error running ffprobe/mnt/adult/Interactive/4K60 Shaiden Rogue - Time For Ahegao.mp4signal: segmentation fault" task=rescan
(note no blank space between ffprobe/mnt/adult/... but that might just be a typo in the logging function too.)
The files are in on an SMB mount, and I had my preview directory set to a directory on the same NAS. I tried not setting the preview directory at all (so that the files would be outputted to the local disk where XBVR is installed), but no luck...
I've been getting this error from time to time when generating previews. Let me know if you need additional info for debugging. Looks like its during this function call
log is below
`time="2024-01-31T04:40:24Z" level=warning msg="exit status 1" time="2024-01-31T04:40:24Z" level=info msg="Rendering slr-11924" time="2024-01-31T04:40:25Z" level=warning msg="exit status 1" time="2024-01-31T04:40:25Z" level=info msg="Rendering BUZ-052" time="2024-01-31T04:40:25Z" level=warning msg="exit status 1" time="2024-01-31T04:40:25Z" level=info msg="Rendering realjam-vr-104" time="2024-01-31T04:40:55Z" level=info msg="Rendering slr-11518" time="2024-01-31T04:40:55Z" level=warning msg="exit status 1" time="2024-01-31T04:40:55Z" level=info msg="Rendering realjam-vr-103" time="2024-01-31T04:41:26Z" level=info msg="Rendering sexbabesvr-271" time="2024-01-31T04:43:22Z" level=warning msg="exit status 69" time="2024-01-31T04:43:22Z" level=info msg="Rendering 18vr-324776" time="2024-01-31T04:43:27Z" level=warning msg="exit status 69" time="2024-01-31T04:43:27Z" level=info msg="Rendering sexbabesvr-265" time="2024-01-31T04:43:58Z" level=info msg="Rendering slr-9770" time="2024-01-31T04:43:58Z" level=warning msg="exit status 1" time="2024-01-31T04:43:58Z" level=info msg="Rendering slr-9322" panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x1c0 pc=0x1078272]
goroutine 62468 [running]: github.com/xbapps/xbvr/pkg/tasks.RenderPreview({0xc00120d980, 0x56}, {0xc000403c20, 0x2d}, {0x0, 0x0}, 0xa, 0x3fd999999999999a, 0x14, 0x1?, ...) /go/src/pkg/tasks/preview.go:79 +0x1f2 github.com/xbapps/xbvr/pkg/tasks.GeneratePreviews(0x0) /go/src/pkg/tasks/preview.go:39 +0x65d created by github.com/xbapps/xbvr/pkg/api.TaskResource.previewGenerate in goroutine 61770 /go/src/pkg/api/tasks.go:205 +0x1a `