Skip to content

Live Transcoding and go-vod Stream is stopping immediately #1429

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

Open
JBBERLIN77 opened this issue Apr 1, 2025 · 2 comments
Open

Live Transcoding and go-vod Stream is stopping immediately #1429

JBBERLIN77 opened this issue Apr 1, 2025 · 2 comments
Labels
needs triage To be triaged

Comments

@JBBERLIN77
Copy link

Describe the bug

I need your help with live transcoding.

RHEL 9.5
FFMPEG 7.1 selfbuild
PHP 8.3

Bare Metal with XEON 1290P (with QuickSync) and Nvidia RTX 2000 ADA

in the CLI, manual FFMpeg, both QSV and NVENC work without any problems.
I always have 500 frames/sec with both

For testing I tried Jellyfin Baremetal and even that works with my FFmpeg version without any problems.

With Memories/go-vod I have tried both the local version and the container version.

With both I get the following error message: (in the go-vod log)

2025/04/01 02:44:24 aifw0vprmxj0: new manager for /opt/dp/data/srv/nextcloud/data/__groupfolders/2/test.mkv 2025/04/01 02:44:24 aifw0vprmxj0-max: stopping stream 2025/04/01 02:44:24 aifw0vprmxj0-max: /bin/ffmpeg -loglevel warning -hwaccel vaapi -hwaccel_device /dev/dri/renderD128 -hwaccel_output_format vaapi -i /opt/dp/data/srv/nextcloud/data/__groupfolders/2/test.mkv -copyts -fflags +genpts -vf "format=nv12|vaapi,hwupload,scale_vaapi=force_original_aspect_ratio=decrease:format=nv12" -map "0:v:0" "-c:v" h264_vaapi -global_quality 24 -map "0:a:0?" "-c:a" aac -start_number 0 -avoid_negative_ts disabled -f hls -hls_flags split_by_time -hls_time 3 -hls_segment_type mpegts -hls_segment_filename /opt/dp/http/services/go-vod_nextcloud/ocv9rs91e91k/aifw0vprmxj0-2846865626/max-%06d.ts -force_key_frames "expr:gte(t,n_forced*3)" - 2025/04/01 02:44:24 aifw0vprmxj0-max: recv max-000000.ts 2025/04/01 02:44:25 aifw0vprmxj0-max: recv max-000001.ts 2025/04/01 02:44:25 aifw0vprmxj0-max: recv max-000002.ts 2025/04/01 02:44:25 aifw0vprmxj0-max: recv max-000003.ts 2025/04/01 02:44:26 aifw0vprmxj0-max: recv max-000004.ts 2025/04/01 02:44:26 aifw0vprmxj0-max: goal satisfied: 4

Steps To Reproduce

No response

Platform

- OS:RHEL 9 (9.5)
- Browser: Google Chrome, Firefox, Safari
- Memories Version: 7.5.2
- Nextcloud Version: 31.0.2
- PHP Version:8.3.19 remi

Screenshots

No response

Additional context

  • Any errors in the JS console?

  • Any errors in the Nextcloud server logs? no

  • Any errors in the JS console?
    PsVideo.ts:235 PsVideo: Direct video stream could not be opened, trying HLS (anonymous) @ PsVideo.ts:235 (anonymous) @ video.es.js:2268 ls @ video.es.js:2399 trigger @ video.es.js:3271 error @ video.es.js:25550 (anonymous) @ video.es.js:55319 (anonymous) @ video.es.js:2268 ls @ video.es.js:2399 trigger @ video.es.js:2745 (anonymous) @ video.es.js:52429 (anonymous) @ video.es.js:2268 ls @ video.es.js:2399 trigger @ video.es.js:2745 handleAppendError_ @ video.es.js:46617 (anonymous) @ video.es.js:47734

@JBBERLIN77 JBBERLIN77 added the needs triage To be triaged label Apr 1, 2025
@JBBERLIN77 JBBERLIN77 changed the title Live Transcoding and go-vod Stream ist stopping immediately Live Transcoding and go-vod Stream is stopping immediately Apr 1, 2025
@pulsejet
Copy link
Owner

pulsejet commented Apr 3, 2025

There seems to be no error in the transcoding. Is the quality set to auto in the UI?

@JBBERLIN77
Copy link
Author

No matter what is set, whether Auto or a certain resolution, it only plays the videos with Direct, but the Nextcloud File Module also does this. Only we need the transcoding because the videos are all MKV and there is no sound if they are not transcoded.

As I said, there are no problems with software, Intel QSV or NVIDIA GPU on Bash or via jellyfin (Bare Metal on RHEL9) which runs on the same server.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs triage To be triaged
Projects
None yet
Development

No branches or pull requests

2 participants