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

Video Station Unresponsive (Continuous Loading) After Installation #69

Open
MillerZZZ opened this issue Nov 17, 2024 · 4 comments
Open

Comments

@MillerZZZ
Copy link

Description: After installing the wrapper, Video Station becomes unresponsive (continuous spinning circle) when attempting to play videos with DTS or similar audio tracks. Videos without these specific audio tracks play normally. There were no errors reported during the installation process.

Reference:

System Details:
Model Name: DS423+
DMS Version: DSM 7.2.1-69057 Update 5
FFmpeg 6 Version: 6.0.1-5
FFmpeg 7 Version: 7.0.2-1
Video Station Version: 3.1.1-3168
Advanced Media Extension Version: 3.1.0-3005

Steps to Reproduce:

  1. Install the Wrapper following the instructions.
  2. Open Video Station.
  3. Attempt to play a video containing DTS audio tracks.
  4. The video does not play and instead shows a continuous loading indicator.
  5. Videos without DTS audio play successfully.

Logs:

Installation Log (no error):

root@DS423plus:~# cat /tmp/wrapper_ffmpeg.log
[2024-11-17 13:59:13] INFO: ==================== Installation of the Simplest Wrapper: START ====================
[2024-11-17 13:59:13] INFO: Backup the original ffmpeg41 as ffmpeg41.orig.
[2024-11-17 13:59:13] INFO: Injection of the ffmpeg41 wrapper using this injector: X-Simplest.
[2024-11-17 13:59:16] INFO: Fixing permissions of the ffmpeg41 wrapper.
[2024-11-17 13:59:16] INFO: Adding of the KEY of this Wrapper in /tmp.
[2024-11-17 13:59:16] INFO: Backup the original libsynovte.so in VideoStation as libsynovte.so.orig.
[2024-11-17 13:59:16] INFO: Fixing permissions of /var/packages/VideoStation/target/lib/libsynovte.so.orig
[2024-11-17 13:59:16] INFO: Patching /var/packages/VideoStation/target/lib/libsynovte.so for compatibility with AAC, DTS, EAC3 and TrueHD
[2024-11-17 13:59:16] INFO: Adding of the KEY of this Wrapper in DLNA MediaServer.
[2024-11-17 13:59:16] INFO: Backup the original libsynovte.so in MediaServer as libsynovte.so.orig.
[2024-11-17 13:59:16] INFO: Fixing permissions of /var/packages/MediaServer/target/lib/libsynovte.so.orig
[2024-11-17 13:59:16] INFO: Patching /var/packages/MediaServer/target/lib/libsynovte.so for compatibility with AAC, DTS, EAC3 and TrueHD
[2024-11-17 13:59:16] INFO: Restarting CodecPack...
[2024-11-17 13:59:20] INFO: Restarting VideoStation...
[2024-11-17 13:59:28] INFO: Restarting MediaServer...
[2024-11-17 13:59:33] INFO: ==================== Installation of the Simplest Wrapper: COMPLETE ====================

Video Station Log Output:

root@DS423plus:~# tail -n -10 /volume1/@appdata/VideoStation/log/videostation.log
2024-11-17T13:11:51+08:00 DS423plus synoscgi_SYNO.VideoStation2.Subtitle_3_get[12789]: subtitle/cached.cpp:436 stat undefined failed
2024-11-17T13:13:36+08:00 DS423plus synoscgi_SYNO.VideoStation2.Subtitle_3_get[14238]: subtitle/cached.cpp:436 stat undefined failed
2024-11-17T13:14:17+08:00 DS423plus synoscgi_SYNO.VideoStation2.Subtitle_3_get[15122]: subtitle/cached.cpp:436 stat undefined failed
2024-11-17T13:48:44+08:00 DS423plus synovideoconversiond[26641]: event_ability.cpp:34 got signal 15, terminating daemon
2024-11-17T13:48:44+08:00 DS423plus synovideopreprocessd[26659]: event_ability.cpp:34 got signal 15, terminating daemon
2024-11-17T13:50:41+08:00 DS423plus synoscgi_SYNO.VideoStation2.Subtitle_3_get[31013]: subtitle/cached.cpp:436 stat undefined failed
2024-11-17T13:52:32+08:00 DS423plus synovideoconversiond[24241]: event_ability.cpp:34 got signal 15, terminating daemon
2024-11-17T13:52:32+08:00 DS423plus synovideopreprocessd[24247]: event_ability.cpp:34 got signal 15, terminating daemon
2024-11-17T13:59:20+08:00 DS423plus synovideoconversiond[1669]: event_ability.cpp:34 got signal 15, terminating daemon
2024-11-17T13:59:20+08:00 DS423plus synovideopreprocessd[1675]: event_ability.cpp:34 got signal 15, terminating daemon

I would appreciate any help. Please let me know if any additional logs or information are needed. Thank you! :)

@darknebular
Copy link
Owner

Please send my wrapper log in /tmp/wrapper_ffmpeg.log
Please try the advanced Wrapper too.

Thanks.

@MillerZZZ
Copy link
Author

MillerZZZ commented Nov 18, 2024

Wrapper log (the simplest wrapper):

root@DS423plus:~# cat /tmp/wrapper_ffmpeg.log
[2024-11-17 13:59:13] INFO: ==================== Installation of the Simplest Wrapper: START ====================
[2024-11-17 13:59:13] INFO: Backup the original ffmpeg41 as ffmpeg41.orig.
[2024-11-17 13:59:13] INFO: Injection of the ffmpeg41 wrapper using this injector: X-Simplest.
[2024-11-17 13:59:16] INFO: Fixing permissions of the ffmpeg41 wrapper.
[2024-11-17 13:59:16] INFO: Adding of the KEY of this Wrapper in /tmp.
[2024-11-17 13:59:16] INFO: Backup the original libsynovte.so in VideoStation as libsynovte.so.orig.
[2024-11-17 13:59:16] INFO: Fixing permissions of /var/packages/VideoStation/target/lib/libsynovte.so.orig
[2024-11-17 13:59:16] INFO: Patching /var/packages/VideoStation/target/lib/libsynovte.so for compatibility with AAC, DTS, EAC3 and TrueHD
[2024-11-17 13:59:16] INFO: Adding of the KEY of this Wrapper in DLNA MediaServer.
[2024-11-17 13:59:16] INFO: Backup the original libsynovte.so in MediaServer as libsynovte.so.orig.
[2024-11-17 13:59:16] INFO: Fixing permissions of /var/packages/MediaServer/target/lib/libsynovte.so.orig
[2024-11-17 13:59:16] INFO: Patching /var/packages/MediaServer/target/lib/libsynovte.so for compatibility with AAC, DTS, EAC3 and TrueHD
[2024-11-17 13:59:16] INFO: Restarting CodecPack...
[2024-11-17 13:59:20] INFO: Restarting VideoStation...
[2024-11-17 13:59:28] INFO: Restarting MediaServer...
[2024-11-17 13:59:33] INFO: ==================== Installation of the Simplest Wrapper: COMPLETE ====================

I tried the advanced wrapper; however, it does not work either: Video Station responds in the same way.

Wrapper log for your reference:

root@DS423plus:~# cat /tmp/wrapper_ffmpeg.log
[2024-11-18 18:10:46] INFO: ==================== Installation of the Advanced Wrapper: START ====================
[2024-11-18 18:10:46] INFO: Backup the original ffmpeg41 as ffmpeg41.orig.
[2024-11-18 18:10:46] INFO: Injection of the ffmpeg41 wrapper using this injector: X-Advanced.
[2024-11-18 18:10:49] INFO: Fixing permissions of the ffmpeg41 wrapper.
[2024-11-18 18:10:49] INFO: Adding of the KEY of this Wrapper in /tmp.
[2024-11-18 18:10:49] INFO: Backup the original libsynovte.so in VideoStation as libsynovte.so.orig.
[2024-11-18 18:10:49] INFO: Fixing permissions of /var/packages/VideoStation/target/lib/libsynovte.so.orig
[2024-11-18 18:10:49] INFO: Patching /var/packages/VideoStation/target/lib/libsynovte.so for compatibility with AAC, DTS, EAC3 and TrueHD
[2024-11-18 18:10:49] INFO: Adding of the KEY of this Wrapper in DLNA MediaServer.
[2024-11-18 18:10:49] INFO: Backup the original libsynovte.so in MediaServer as libsynovte.so.orig.
[2024-11-18 18:10:49] INFO: Fixing permissions of /var/packages/MediaServer/target/lib/libsynovte.so.orig
[2024-11-18 18:10:49] INFO: Patching /var/packages/MediaServer/target/lib/libsynovte.so for compatibility with AAC, DTS, EAC3 and TrueHD
[2024-11-18 18:10:49] INFO: Restarting CodecPack...
[2024-11-18 18:10:56] INFO: Restarting VideoStation...
[2024-11-18 18:11:05] INFO: Restarting MediaServer...
[2024-11-18 18:11:10] INFO: ==================== Installation of the Advanced Wrapper: COMPLETE ====================

Video Station log (I suppose it may help):

root@DS423plus:~# tail -n -5 /volume1/@appdata/VideoStation/log/videostation.log
2024-11-18T14:59:33+08:00 DS423plus synoscgi_SYNO.VideoStation2.File_2_set_playback_setting[22196]: query_base.cpp:51 Query execute failed: Cannot execute query. ERROR:  duplicate key value violates unique constraint "watch_status_ukey"
DETAIL:  Key (uid, video_file_id, mapper_id)=(1026, 2262, 5030) already exists.
2024-11-18T18:10:56+08:00 DS423plus synovideoconversiond[32287]: event_ability.cpp:34 got signal 15, terminating daemon
2024-11-18T18:10:56+08:00 DS423plus synovideopreprocessd[32293]: event_ability.cpp:34 got signal 15, terminating daemon
2024-11-18T18:18:02+08:00 DS423plus synoscgi_SYNO.VideoStation2.Streaming_1_open[14006]: handle_error.cpp:21 error: DetermintStreamFormat failed

Thank you!

@darknebular
Copy link
Owner

My Wrapper is not receiving the movie or the arguments from Video Station, that is why it does NOT generate Logs of your movie in /tmp/wrapper_ffmpeg.log
The blocking is due to an exception specific to the Video Station and is unrelated to the Wrapper. Have you had other Wrappers installed previously? Have you tried uninstalling and reinstalling Video Station?

@MillerZZZ
Copy link
Author

I just tried uninstalling Video Station and reinstalling it, then reinstalling your wrapper, but the situation remains the same.
I used to have other wrappers installed but have now uninstalled them completely. It might be worth noting that I had the same Video Station unresponsiveness problem after installing other wrappers before.
I don't believe I had any other wrappers installed (or remained in the system) before running your script, as Video Station would not be unresponsive in this case, but would report an error indicating that this file format (DTS track) is not supported, as the screenshot shows.
1732202188442
Thank you for your patience.

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