darknebular / Wrapper_VideoStation

Synology VideoStation and DLNA FFmpeg Wrapper with AAC, DTS, EAC3 and TrueHD support via pipes (now with GStreamer support). It enables full hardware transcoding from Synology´s FFmpeg for video and transcoding DTS, EAC3, TrueHD and AAC from the SynoCommunity's FFmpeg only when necessary.
665 stars 74 forks source link

quickconnect sharing not working #23

Closed Dinoslav closed 1 year ago

Dinoslav commented 1 year ago

When trying to watch via the quickconnect public sharing link, I get an error saying "This video format is not supported"

Is there a way to fix it? I've tried to enable public sharing recoding in video station settings, but it wont apply.

Synology DS218play, using the simplest wrapper

darknebular commented 1 year ago

Could you reproduce exactly all steps to reproduce the problem?

Thanks in advance, best regards.

Dinoslav commented 1 year ago

Could you reproduce exactly all steps to reproduce the problem?

Thanks in advance, best regards.

Surely. I've succesfully installed the simplest wrapper, when watching through Video Station on local network everything works great.

Wanted to watch a movie with a friend, so I copied the sharing link image

However after loading, the video will not play and gives this error, saying: Format of video is not supported by this computer. image

Tried different browsers, but nothing helped. It also happens only on videos with EAC3 audio, files supported by video station without wrapper work fine. Thanks for any help.

darknebular commented 1 year ago

Well, when I generate a link to share I get a top level domain. By clicking on it, I can watch any movie (DTS, EAC3) without problems. (This movie has E-AC3 codec)

image

QuickConnect actually uses Synology Cloud PROXIES. This creates problems, because the communication flows like this:

Your NAS --> Cloud proxy <--End customer

What your NAS sends to that proxy is through Video Station binaries and it will always send only the (official) codecs, it will NEVER use my Wrapper.

I recommend a direct connection against your NAS, in this scenario, DSM does use the AME binaries and then my Wrapper will be used. Your NAS <--(NAT) End customer

image

And then you must to put there your domain (.com or .es for example) or your DDNS domain, and do a NAT in your router of these ports: image

In this way, you will get a link based on name (DDNS for example) and direct access and not a QuickConnect link and it will work for you.

Greetings.

Dinoslav commented 1 year ago

Ahh, that makes sense. I will look into it when I have more time.

Thank you very much for your help!

Dinoslav commented 1 year ago

Hi, sorry for reopening the issue.

I did succesfully setup DDNS on the NAS, fowarded ports and remote access works perfectly. I've disabled quickconnect completly and share link in Video Station is now the DDNS domain image However the issue still persists and the video will not play and gives the unsupported format error.

Could the problem be with using .synology.me as a DDNS provider or is it something else? I'm not very experienced with this type of stuff so sorry if I just misunderstood something and didn't do it properly.

Thanks in advance.

darknebular commented 1 year ago

Have you did the NAT in the internet router? Have you did the correct config in the synology's firewall?

When He tries, can you send me this command?

tail -n 200 -f /tmp/wrapper_ffmpeg.log

Regards.

Dinoslav commented 1 year ago

I'm pretty sure everything is done correctly as I can log into the NAS through DDNS on a different network, and movies that don't need wrapper work great with the DDNS sharing link.

Here is the command outcome: [2023-05-19 16:31:56] [INFO] ========================================[start ffmpeg 16191] [2023-05-19 16:31:56] [INFO] DEFAULT_ARGS: -ss 0.000 -i /volume1/video/Filmy/The.Popes.Exorcist.2023.1080p.MA.WEB-DL.DDP5.1.H.264-APEX.mkv -threads 0 -vcodec copy -vsync 2 -vbsf h264_mp4toannexb=repeatheader -acodec libmp3lame -ab 256k -ac 2 -f ssegment -segment_format mpegts -segment_list_type m3u8 -hls_seek_time 0 -segment_time 8 -segment_time_delta 0.000 -segment_start_number 00000 -avoid_negative_ts 0 -break_non_keyframes 1 -map 0:0 -map 0:1 /tmp/VideoStation/HLS/15bb3033a9075c760f73a74cf8d71101_nZPPghR7/slice-%05d.ts [2023-05-19 16:32:22] [INFO] ========================================[end ffmpeg 16191]

Dinoslav commented 1 year ago

So I've just realised that now, with DDNS even the movies that worked with quickconnect are giving the format error when using the share link. Do you think there could be issue with the wrapper installation?

Thanks.

darknebular commented 1 year ago

Look: I just tested in two remotes locations a shared movie via Video Station with h264 and eac3: image

Using 5G in a Android mobile: Screenshot_20230522-103700

Load well, the movie plays...

darknebular commented 1 year ago

You have a DS218 Play and in this system It isn't not exactly the same binaries and the same standard work flows. Your system sometimes use GSstreamer and in these cases my wrapper It isn't used or activated.

I am studing to put the libraries for GSstreamer for this Play appliances in my installer.

Your message is due to GSstreamer and not for my wrapper. My wrapper only patch FFmpeg binary for AME, nothing more, if your system needs the GSstreamer binary, then my wrapper will not be activated.

Regards.

darknebular commented 1 year ago

And in the logs from Simplest one, I can't see any error there.

Dinoslav commented 1 year ago

You have a DS218 Play and in this system It isn't not exactly the same binaries and the same standard work flows. Your system sometimes use GSstreamer and in these cases my wrapper It isn't used or activated.

I am studing to put the libraries for GSstreamer for this Play appliances in my installer.

Your message is due to GSstreamer and not for my wrapper. My wrapper only patch FFmpeg binary for AME, nothing more, if your system needs the GSstreamer binary, then my wrapper will not be activated.

Regards.

I see, so there is no way to make this work with the NAS I have for now right? In that case I hope you will be able to implement it one day.

Thank you for your help, appreciate it.

darknebular commented 1 year ago

Hi, I am working in the wrapper for GSstreamer right now, I need this commands from DS218 play:

cat /proc/cpuinfo

ls -la /var/packages/VideoStation/target/lib/gstreamer/gstreamer-1.0/

ls -la /var/packages/VideoStation/target/lib/gstreamer/

ls -la /var/packages/VideoStation/target/lib

ls -la /var/packages/CodecPack/target/pack/lib

ls -la /var/packages/CodecPack/target/pack/bin

ls /var/packages/VideoStation/etc/gstreamer-1.0

ls -la /var/packages/CodecPack/etc/gstreamer-1.0

Thanks in advance

Dinoslav commented 1 year ago

Sure thing, hope it is right.

processor       : 0
model name      : ARMv8 Processor rev 4 (v8l)
BogoMIPS        : 54.00
Features        : fp asimd evtstrm aes pmull sha1 sha2 crc32
CPU implementer : 0x41
CPU architecture: 8
CPU variant     : 0x0
CPU part        : 0xd03
CPU revision    : 4

processor       : 1
model name      : ARMv8 Processor rev 4 (v8l)
BogoMIPS        : 54.00
Features        : fp asimd evtstrm aes pmull sha1 sha2 crc32
CPU implementer : 0x41
CPU architecture: 8
CPU variant     : 0x0
CPU part        : 0xd03
CPU revision    : 4

processor       : 2
model name      : ARMv8 Processor rev 4 (v8l)
BogoMIPS        : 54.00
Features        : fp asimd evtstrm aes pmull sha1 sha2 crc32
CPU implementer : 0x41
CPU architecture: 8
CPU variant     : 0x0
CPU part        : 0xd03
CPU revision    : 4

processor       : 3
model name      : ARMv8 Processor rev 4 (v8l)
BogoMIPS        : 54.00
Features        : fp asimd evtstrm aes pmull sha1 sha2 crc32
CPU implementer : 0x41
CPU architecture: 8
CPU variant     : 0x0
CPU part        : 0xd03
CPU revision    : 4
total 10084
drw-r--r-- 2 VideoStation VideoStation   4096 Oct 31  2022 .
drwxr-xr-x 3 VideoStation VideoStation   4096 Oct 31  2022 ..
-rw-r--r-- 1 VideoStation VideoStation  12642 Oct 31  2022 libgstaccurip.so
-rw-r--r-- 1 VideoStation VideoStation  42282 Oct 31  2022 libgstadder.so
-rw-r--r-- 1 VideoStation VideoStation  12786 Oct 31  2022 libgstadpcmdec.so
-rw-r--r-- 1 VideoStation VideoStation  12794 Oct 31  2022 libgstadpcmenc.so
-rw-r--r-- 1 VideoStation VideoStation  50378 Oct 31  2022 libgstaiff.so
-rw-r--r-- 1 VideoStation VideoStation  17018 Oct 31  2022 libgstalaw.so
-rw-r--r-- 1 VideoStation VideoStation  16834 Oct 31  2022 libgstalphacolor.so
-rw-r--r-- 1 VideoStation VideoStation  45778 Oct 31  2022 libgstalpha.so
-rw-r--r-- 1 VideoStation VideoStation  21258 Oct 31  2022 libgstamrnb.so
-rw-r--r-- 1 VideoStation VideoStation  12786 Oct 31  2022 libgstamrwbdec.so
-rw-r--r-- 1 VideoStation VideoStation  16914 Oct 31  2022 libgstapetag.so
-rw-r--r-- 1 VideoStation VideoStation   4218 Oct 31  2022 libgstapp.so
-rw-r--r-- 1 VideoStation VideoStation  71394 Oct 31  2022 libgstasfmux.so
-rw-r--r-- 1 VideoStation VideoStation 125547 Oct 31  2022 libgstasf.so
-rw-r--r-- 1 VideoStation VideoStation  58218 Oct 31  2022 libgstaudioconvert.so
-rw-r--r-- 1 VideoStation VideoStation  12706 Oct 31  2022 libgstaudiofxbad.so
-rw-r--r-- 1 VideoStation VideoStation 120155 Oct 31  2022 libgstaudiofx.so
-rw-r--r-- 1 VideoStation VideoStation  58794 Oct 31  2022 libgstaudiomixer.so
-rw-r--r-- 1 VideoStation VideoStation 121131 Oct 31  2022 libgstaudioparsers.so
-rw-r--r-- 1 VideoStation VideoStation  21130 Oct 31  2022 libgstaudiorate.so
-rw-r--r-- 1 VideoStation VideoStation  62481 Oct 31  2022 libgstaudioresample.so
-rw-r--r-- 1 VideoStation VideoStation  41746 Oct 31  2022 libgstaudiotestsrc.so
-rw-r--r-- 1 VideoStation VideoStation  54930 Oct 31  2022 libgstaudiovisualizers.so
-rw-r--r-- 1 VideoStation VideoStation  21266 Oct 31  2022 libgstauparse.so
-rw-r--r-- 1 VideoStation VideoStation  34106 Oct 31  2022 libgstautoconvert.so
-rw-r--r-- 1 VideoStation VideoStation  25650 Oct 31  2022 libgstautodetect.so
-rw-r--r-- 1 VideoStation VideoStation 166595 Oct 31  2022 libgstavi.so
-rw-r--r-- 1 VideoStation VideoStation  21058 Oct 31  2022 libgstbayer.so
-rw-r--r-- 1 VideoStation VideoStation  21274 Oct 31  2022 libgstbz2.so
-rw-r--r-- 1 VideoStation VideoStation  83971 Oct 31  2022 libgstcamerabin2.so
-rw-r--r-- 1 VideoStation VideoStation  25178 Oct 31  2022 libgstcoloreffects.so
-rw-r--r-- 1 VideoStation VideoStation  49938 Oct 31  2022 libgstcompositor.so
-rw-r--r-- 1 VideoStation VideoStation 341355 Oct 31  2022 libgstcoreelements.so
-rw-r--r-- 1 VideoStation VideoStation  74746 Oct 31  2022 libgstcurl.so
-rw-r--r-- 1 VideoStation VideoStation  17074 Oct 31  2022 libgstcutter.so
-rw-r--r-- 1 VideoStation VideoStation 120411 Oct 31  2022 libgstdashdemux.so
-rw-r--r-- 1 VideoStation VideoStation  17034 Oct 31  2022 libgstdataurisrc.so
-rw-r--r-- 1 VideoStation VideoStation  64058 Oct 31  2022 libgstdebug.so
-rw-r--r-- 1 VideoStation VideoStation  59378 Oct 31  2022 libgstdebugutilsbad.so
-rw-r--r-- 1 VideoStation VideoStation 116283 Oct 31  2022 libgstdecklink.so
-rw-r--r-- 1 VideoStation VideoStation 103747 Oct 31  2022 libgstdeinterlace.so
-rw-r--r-- 1 VideoStation VideoStation  50546 Oct 31  2022 libgstdtmf.so
-rw-r--r-- 1 VideoStation VideoStation 113139 Oct 31  2022 libgstdvb.so
-rw-r--r-- 1 VideoStation VideoStation  54586 Oct 31  2022 libgstdvbsuboverlay.so
-rw-r--r-- 1 VideoStation VideoStation  21122 Oct 31  2022 libgstdvdlpcmdec.so
-rw-r--r-- 1 VideoStation VideoStation  46034 Oct 31  2022 libgstdvdspu.so
-rw-r--r-- 1 VideoStation VideoStation  29634 Oct 31  2022 libgstdvdsub.so
-rw-r--r-- 1 VideoStation VideoStation  55290 Oct 31  2022 libgsteffectv.so
-rw-r--r-- 1 VideoStation VideoStation  67810 Oct 31  2022 libgstencodebin.so
-rw-r--r-- 1 VideoStation VideoStation  29266 Oct 31  2022 libgstequalizer.so
-rw-r--r-- 1 VideoStation VideoStation  12802 Oct 31  2022 libgstfbdevsink.so
-rw-r--r-- 1 VideoStation VideoStation  17002 Oct 31  2022 libgstfestival.so
-rw-r--r-- 1 VideoStation VideoStation  33546 Oct 31  2022 libgstfieldanalysis.so
-rw-r--r-- 1 VideoStation VideoStation 112987 Oct 31  2022 libgstflv.so
-rw-r--r-- 1 VideoStation VideoStation  21186 Oct 31  2022 libgstflxdec.so
-rw-r--r-- 1 VideoStation VideoStation  62890 Oct 31  2022 libgstfragmented.so
-rw-r--r-- 1 VideoStation VideoStation  21050 Oct 31  2022 libgstfreeverb.so
-rw-r--r-- 1 VideoStation VideoStation  46410 Oct 31  2022 libgstfrei0r.so
-rw-r--r-- 1 VideoStation VideoStation  30002 Oct 31  2022 libgstgaudieffects.so
-rw-r--r-- 1 VideoStation VideoStation  42082 Oct 31  2022 libgstgdp.so
-rw-r--r-- 1 VideoStation VideoStation  53938 Oct 31  2022 libgstgeometrictransform.so
-rw-r--r-- 1 VideoStation VideoStation  46401 Oct 31  2022 libgstgoom2k1.so
-rw-r--r-- 1 VideoStation VideoStation 109952 Oct 31  2022 libgstgoom.so
-rw-r--r-- 1 VideoStation VideoStation  21362 Oct 31  2022 libgsticydemux.so
-rw-r--r-- 1 VideoStation VideoStation  12722 Oct 31  2022 libgstid3demux.so
-rw-r--r-- 1 VideoStation VideoStation  37722 Oct 31  2022 libgstid3tag.so
-rw-r--r-- 1 VideoStation VideoStation  25538 Oct 31  2022 libgstimagefreeze.so
-rw-r--r-- 1 VideoStation VideoStation  25298 Oct 31  2022 libgstinterlace.so
-rw-r--r-- 1 VideoStation VideoStation  46538 Oct 31  2022 libgstinterleave.so
-rw-r--r-- 1 VideoStation VideoStation  46322 Oct 31  2022 libgstinter.so
-rw-r--r-- 1 VideoStation VideoStation 426963 Oct 31  2022 libgstisomp4.so
-rw-r--r-- 1 VideoStation VideoStation  12810 Oct 31  2022 libgstivfparse.so
-rw-r--r-- 1 VideoStation VideoStation  21186 Oct 31  2022 libgstivtc.so
-rw-r--r-- 1 VideoStation VideoStation  37490 Oct 31  2022 libgstjp2kdecimator.so
-rw-r--r-- 1 VideoStation VideoStation  33898 Oct 31  2022 libgstjpegformat.so
-rw-r--r-- 1 VideoStation VideoStation  42250 Oct 31  2022 libgstjpeg.so
-rw-r--r-- 1 VideoStation VideoStation  29546 Oct 31  2022 libgstlame.so
-rw-r--r-- 1 VideoStation VideoStation  21146 Oct 31  2022 libgstlevel.so
-rw-r--r-- 1 VideoStation VideoStation 233811 Oct 31  2022 libgstlibav.so
-rw-r--r-- 1 VideoStation VideoStation  38074 Oct 31  2022 libgstliveadder.so
-rw-r--r-- 1 VideoStation VideoStation 274187 Oct 31  2022 libgstmatroska.so
-rw-r--r-- 1 VideoStation VideoStation  33786 Oct 31  2022 libgstmidi.so
-rw-r--r-- 1 VideoStation VideoStation  83339 Oct 31  2022 libgstmpegpsdemux.so
-rw-r--r-- 1 VideoStation VideoStation  46042 Oct 31  2022 libgstmpegpsmux.so
-rw-r--r-- 1 VideoStation VideoStation 145539 Oct 31  2022 libgstmpegtsdemux.so
-rw-r--r-- 1 VideoStation VideoStation  67138 Oct 31  2022 libgstmpegtsmux.so
-rw-r--r-- 1 VideoStation VideoStation  17034 Oct 31  2022 libgstmulaw.so
-rw-r--r-- 1 VideoStation VideoStation 129907 Oct 31  2022 libgstmultifile.so
-rw-r--r-- 1 VideoStation VideoStation  29922 Oct 31  2022 libgstmultipart.so
-rw-r--r-- 1 VideoStation VideoStation 396019 Oct 31  2022 libgstmxf.so
-rw-r--r-- 1 VideoStation VideoStation   8610 Oct 31  2022 libgstnavigationtest.so
-rw-r--r-- 1 VideoStation VideoStation 216179 Oct 31  2022 libgstogg.so
-rw-r--r-- 1 VideoStation VideoStation 281059 Oct 31  2022 libgstomx.so
-rw-r--r-- 1 VideoStation VideoStation  49970 Oct 31  2022 libgstoss4audio.so
-rw-r--r-- 1 VideoStation VideoStation  33522 Oct 31  2022 libgstossaudio.so
-rw-r--r-- 1 VideoStation VideoStation  21426 Oct 31  2022 libgstpcapparse.so
-rw-r--r-- 1 VideoStation VideoStation 361395 Oct 31  2022 libgstplayback.so
-rw-r--r-- 1 VideoStation VideoStation  29826 Oct 31  2022 libgstpng.so
-rw-r--r-- 1 VideoStation VideoStation  21258 Oct 31  2022 libgstpnm.so
-rw-r--r-- 1 VideoStation VideoStation  46322 Oct 31  2022 libgstrawparse.so
-rw-r--r-- 1 VideoStation VideoStation  12746 Oct 31  2022 libgstremovesilence.so
-rw-r--r-- 1 VideoStation VideoStation  42034 Oct 31  2022 libgstreplaygain.so
-rw-r--r-- 1 VideoStation VideoStation  50162 Oct 31  2022 libgstrfbsrc.so
-rw-r--r-- 1 VideoStation VideoStation 129795 Oct 31  2022 libgstrmdemux.so
-rw-r--r-- 1 VideoStation VideoStation 312699 Oct 31  2022 libgstrtpmanager.so
-rw-r--r-- 1 VideoStation VideoStation  21282 Oct 31  2022 libgstrtponvif.so
-rw-r--r-- 1 VideoStation VideoStation 467491 Oct 31  2022 libgstrtp.so
-rw-r--r-- 1 VideoStation VideoStation 159259 Oct 31  2022 libgstrtsp.so
-rw-r--r-- 1 VideoStation VideoStation  34002 Oct 31  2022 libgstsdpelem.so
-rw-r--r-- 1 VideoStation VideoStation  21274 Oct 31  2022 libgstsegmentclip.so
-rw-r--r-- 1 VideoStation VideoStation  29626 Oct 31  2022 libgstshapewipe.so
-rw-r--r-- 1 VideoStation VideoStation  46274 Oct 31  2022 libgstshm.so
-rw-r--r-- 1 VideoStation VideoStation  68437 Oct 31  2022 libgstsiren.so
-rw-r--r-- 1 VideoStation VideoStation  12714 Oct 31  2022 libgstsmooth.so
-rw-r--r-- 1 VideoStation VideoStation  33690 Oct 31  2022 libgstsmoothstreaming.so
-rw-r--r-- 1 VideoStation VideoStation  70970 Oct 31  2022 libgstsmpte.so
-rw-r--r-- 1 VideoStation VideoStation  21058 Oct 31  2022 libgstspectrum.so
-rw-r--r-- 1 VideoStation VideoStation  17050 Oct 31  2022 libgstspeed.so
-rw-r--r-- 1 VideoStation VideoStation   8498 Oct 31  2022 libgststereo.so
-rw-r--r-- 1 VideoStation VideoStation  17114 Oct 31  2022 libgstsubenc.so
-rw-r--r-- 1 VideoStation VideoStation  79706 Oct 31  2022 libgstsubparse.so
-rw-r--r-- 1 VideoStation VideoStation 108403 Oct 31  2022 libgsttcp.so
-rw-r--r-- 1 VideoStation VideoStation  94587 Oct 31  2022 libgsttypefindfunctions.so
-rw-r--r-- 1 VideoStation VideoStation  71290 Oct 31  2022 libgstudp.so
-rw-r--r-- 1 VideoStation VideoStation  17018 Oct 31  2022 libgstvcdsrc.so
-rw-r--r-- 1 VideoStation VideoStation 240227 Oct 31  2022 libgstvideo4linux2.so
-rw-r--r-- 1 VideoStation VideoStation  54066 Oct 31  2022 libgstvideobox.so
-rw-r--r-- 1 VideoStation VideoStation  21250 Oct 31  2022 libgstvideoconvert.so
-rw-r--r-- 1 VideoStation VideoStation  29730 Oct 31  2022 libgstvideocrop.so
-rw-r--r-- 1 VideoStation VideoStation  16722 Oct 31  2022 libgstvideofiltersbad.so
-rw-r--r-- 1 VideoStation VideoStation  50434 Oct 31  2022 libgstvideofilter.so
-rw-r--r-- 1 VideoStation VideoStation  79523 Oct 31  2022 libgstvideomixer.so
-rw-r--r-- 1 VideoStation VideoStation 183915 Oct 31  2022 libgstvideoparsersbad.so
-rw-r--r-- 1 VideoStation VideoStation  33746 Oct 31  2022 libgstvideorate.so
-rw-r--r-- 1 VideoStation VideoStation  29498 Oct 31  2022 libgstvideoscale.so
-rw-r--r-- 1 VideoStation VideoStation  24954 Oct 31  2022 libgstvideosignal.so
-rw-r--r-- 1 VideoStation VideoStation  45962 Oct 31  2022 libgstvideotestsrc.so
-rw-r--r-- 1 VideoStation VideoStation  21010 Oct 31  2022 libgstvmnc.so
-rw-r--r-- 1 VideoStation VideoStation  20970 Oct 31  2022 libgstvolume.so
-rw-r--r-- 1 VideoStation VideoStation  50810 Oct 31  2022 libgstvorbis.so
-rw-r--r-- 1 VideoStation VideoStation  29898 Oct 31  2022 libgstwavenc.so
-rw-r--r-- 1 VideoStation VideoStation  58754 Oct 31  2022 libgstwavparse.so
-rw-r--r-- 1 VideoStation VideoStation  25538 Oct 31  2022 libgstwebp.so
-rw-r--r-- 1 VideoStation VideoStation  17010 Oct 31  2022 libgstxingmux.so
-rw-r--r-- 1 VideoStation VideoStation  25458 Oct 31  2022 libgsty4mdec.so
-rw-r--r-- 1 VideoStation VideoStation  12746 Oct 31  2022 libgsty4menc.so
-rw-r--r-- 1 VideoStation VideoStation  12778 Oct 31  2022 libgstyadif.so
total 7264
drwxr-xr-x 3 VideoStation VideoStation    4096 Oct 31  2022 .
drwx------ 6 VideoStation VideoStation    4096 May 22 11:17 ..
drw-r--r-- 2 VideoStation VideoStation    4096 Oct 31  2022 gstreamer-1.0
lrwxrwxrwx 1 VideoStation VideoStation      34 Oct 31  2022 libgstadaptivedemux-1.0.so -> libgstadaptivedemux-1.0.so.0.603.0
lrwxrwxrwx 1 VideoStation VideoStation      34 Oct 31  2022 libgstadaptivedemux-1.0.so.0 -> libgstadaptivedemux-1.0.so.0.603.0
-rw-r--r-- 1 VideoStation VideoStation   58659 Oct 31  2022 libgstadaptivedemux-1.0.so.0.603.0
lrwxrwxrwx 1 VideoStation VideoStation      31 Oct 31  2022 libgstallocators-1.0.so -> libgstallocators-1.0.so.0.603.0
lrwxrwxrwx 1 VideoStation VideoStation      31 Oct 31  2022 libgstallocators-1.0.so.0 -> libgstallocators-1.0.so.0.603.0
-rw-r--r-- 1 VideoStation VideoStation   12515 Oct 31  2022 libgstallocators-1.0.so.0.603.0
lrwxrwxrwx 1 VideoStation VideoStation      24 Oct 31  2022 libgstapp-1.0.so -> libgstapp-1.0.so.0.603.0
lrwxrwxrwx 1 VideoStation VideoStation      24 Oct 31  2022 libgstapp-1.0.so.0 -> libgstapp-1.0.so.0.603.0
-rw-r--r-- 1 VideoStation VideoStation   54202 Oct 31  2022 libgstapp-1.0.so.0.603.0
lrwxrwxrwx 1 VideoStation VideoStation      26 Oct 31  2022 libgstaudio-1.0.so -> libgstaudio-1.0.so.0.603.0
lrwxrwxrwx 1 VideoStation VideoStation      26 Oct 31  2022 libgstaudio-1.0.so.0 -> libgstaudio-1.0.so.0.603.0
-rw-r--r-- 1 VideoStation VideoStation  309947 Oct 31  2022 libgstaudio-1.0.so.0.603.0
lrwxrwxrwx 1 VideoStation VideoStation      28 Oct 31  2022 libgstbadbase-1.0.so -> libgstbadbase-1.0.so.0.603.0
lrwxrwxrwx 1 VideoStation VideoStation      28 Oct 31  2022 libgstbadbase-1.0.so.0 -> libgstbadbase-1.0.so.0.603.0
-rw-r--r-- 1 VideoStation VideoStation   66643 Oct 31  2022 libgstbadbase-1.0.so.0.603.0
lrwxrwxrwx 1 VideoStation VideoStation      29 Oct 31  2022 libgstbadvideo-1.0.so -> libgstbadvideo-1.0.so.0.603.0
lrwxrwxrwx 1 VideoStation VideoStation      29 Oct 31  2022 libgstbadvideo-1.0.so.0 -> libgstbadvideo-1.0.so.0.603.0
-rw-r--r-- 1 VideoStation VideoStation   50441 Oct 31  2022 libgstbadvideo-1.0.so.0.603.0
lrwxrwxrwx 1 VideoStation VideoStation      25 Oct 31  2022 libgstbase-1.0.so -> libgstbase-1.0.so.0.603.0
lrwxrwxrwx 1 VideoStation VideoStation      25 Oct 31  2022 libgstbase-1.0.so.0 -> libgstbase-1.0.so.0.603.0
-rw-r--r-- 1 VideoStation VideoStation  387891 Oct 31  2022 libgstbase-1.0.so.0.603.0
lrwxrwxrwx 1 VideoStation VideoStation      37 Oct 31  2022 libgstbasecamerabinsrc-1.0.so -> libgstbasecamerabinsrc-1.0.so.0.603.0
lrwxrwxrwx 1 VideoStation VideoStation      37 Oct 31  2022 libgstbasecamerabinsrc-1.0.so.0 -> libgstbasecamerabinsrc-1.0.so.0.603.0
-rw-r--r-- 1 VideoStation VideoStation   29387 Oct 31  2022 libgstbasecamerabinsrc-1.0.so.0.603.0
lrwxrwxrwx 1 VideoStation VideoStation      26 Oct 31  2022 libgstcheck-1.0.so -> libgstcheck-1.0.so.0.603.0
lrwxrwxrwx 1 VideoStation VideoStation      26 Oct 31  2022 libgstcheck-1.0.so.0 -> libgstcheck-1.0.so.0.603.0
-rw-r--r-- 1 VideoStation VideoStation  129317 Oct 31  2022 libgstcheck-1.0.so.0.603.0
lrwxrwxrwx 1 VideoStation VideoStation      33 Oct 31  2022 libgstcodecparsers-1.0.so -> libgstcodecparsers-1.0.so.0.603.0
lrwxrwxrwx 1 VideoStation VideoStation      33 Oct 31  2022 libgstcodecparsers-1.0.so.0 -> libgstcodecparsers-1.0.so.0.603.0
-rw-r--r-- 1 VideoStation VideoStation  266843 Oct 31  2022 libgstcodecparsers-1.0.so.0.603.0
lrwxrwxrwx 1 VideoStation VideoStation      31 Oct 31  2022 libgstcontroller-1.0.so -> libgstcontroller-1.0.so.0.603.0
lrwxrwxrwx 1 VideoStation VideoStation      31 Oct 31  2022 libgstcontroller-1.0.so.0 -> libgstcontroller-1.0.so.0.603.0
-rw-r--r-- 1 VideoStation VideoStation   53907 Oct 31  2022 libgstcontroller-1.0.so.0.603.0
lrwxrwxrwx 1 VideoStation VideoStation      24 Oct 31  2022 libgstfft-1.0.so -> libgstfft-1.0.so.0.603.0
lrwxrwxrwx 1 VideoStation VideoStation      24 Oct 31  2022 libgstfft-1.0.so.0 -> libgstfft-1.0.so.0.603.0
-rw-r--r-- 1 VideoStation VideoStation   36971 Oct 31  2022 libgstfft-1.0.so.0.603.0
lrwxrwxrwx 1 VideoStation VideoStation      30 Oct 31  2022 libgstinsertbin-1.0.so -> libgstinsertbin-1.0.so.0.603.0
lrwxrwxrwx 1 VideoStation VideoStation      30 Oct 31  2022 libgstinsertbin-1.0.so.0 -> libgstinsertbin-1.0.so.0.603.0
-rw-r--r-- 1 VideoStation VideoStation   21090 Oct 31  2022 libgstinsertbin-1.0.so.0.603.0
lrwxrwxrwx 1 VideoStation VideoStation      27 Oct 31  2022 libgstmpegts-1.0.so -> libgstmpegts-1.0.so.0.603.0
lrwxrwxrwx 1 VideoStation VideoStation      27 Oct 31  2022 libgstmpegts-1.0.so.0 -> libgstmpegts-1.0.so.0.603.0
-rw-r--r-- 1 VideoStation VideoStation  176627 Oct 31  2022 libgstmpegts-1.0.so.0.603.0
lrwxrwxrwx 1 VideoStation VideoStation      24 Oct 31  2022 libgstnet-1.0.so -> libgstnet-1.0.so.0.603.0
lrwxrwxrwx 1 VideoStation VideoStation      24 Oct 31  2022 libgstnet-1.0.so.0 -> libgstnet-1.0.so.0.603.0
-rw-r--r-- 1 VideoStation VideoStation   83321 Oct 31  2022 libgstnet-1.0.so.0.603.0
lrwxrwxrwx 1 VideoStation VideoStation      28 Oct 31  2022 libgstpbutils-1.0.so -> libgstpbutils-1.0.so.0.603.0
lrwxrwxrwx 1 VideoStation VideoStation      28 Oct 31  2022 libgstpbutils-1.0.so.0 -> libgstpbutils-1.0.so.0.603.0
-rw-r--r-- 1 VideoStation VideoStation  182435 Oct 31  2022 libgstpbutils-1.0.so.0.603.0
lrwxrwxrwx 1 VideoStation VideoStation      32 Oct 31  2022 libgstphotography-1.0.so -> libgstphotography-1.0.so.0.603.0
lrwxrwxrwx 1 VideoStation VideoStation      32 Oct 31  2022 libgstphotography-1.0.so.0 -> libgstphotography-1.0.so.0.603.0
-rw-r--r-- 1 VideoStation VideoStation   32971 Oct 31  2022 libgstphotography-1.0.so.0.603.0
lrwxrwxrwx 1 VideoStation VideoStation      27 Oct 31  2022 libgstreamer-1.0.so -> libgstreamer-1.0.so.0.603.0
lrwxrwxrwx 1 VideoStation VideoStation      27 Oct 31  2022 libgstreamer-1.0.so.0 -> libgstreamer-1.0.so.0.603.0
-rw-r--r-- 1 VideoStation VideoStation 1224395 Oct 31  2022 libgstreamer-1.0.so.0.603.0
lrwxrwxrwx 1 VideoStation VideoStation      25 Oct 31  2022 libgstriff-1.0.so -> libgstriff-1.0.so.0.603.0
lrwxrwxrwx 1 VideoStation VideoStation      25 Oct 31  2022 libgstriff-1.0.so.0 -> libgstriff-1.0.so.0.603.0
-rw-r--r-- 1 VideoStation VideoStation   53650 Oct 31  2022 libgstriff-1.0.so.0.603.0
lrwxrwxrwx 1 VideoStation VideoStation      24 Oct 31  2022 libgstrtp-1.0.so -> libgstrtp-1.0.so.0.603.0
lrwxrwxrwx 1 VideoStation VideoStation      24 Oct 31  2022 libgstrtp-1.0.so.0 -> libgstrtp-1.0.so.0.603.0
-rw-r--r-- 1 VideoStation VideoStation  124227 Oct 31  2022 libgstrtp-1.0.so.0.603.0
lrwxrwxrwx 1 VideoStation VideoStation      25 Oct 31  2022 libgstrtsp-1.0.so -> libgstrtsp-1.0.so.0.603.0
lrwxrwxrwx 1 VideoStation VideoStation      25 Oct 31  2022 libgstrtsp-1.0.so.0 -> libgstrtsp-1.0.so.0.603.0
-rw-r--r-- 1 VideoStation VideoStation  128474 Oct 31  2022 libgstrtsp-1.0.so.0.603.0
lrwxrwxrwx 1 VideoStation VideoStation      24 Oct 31  2022 libgstsdp-1.0.so -> libgstsdp-1.0.so.0.603.0
lrwxrwxrwx 1 VideoStation VideoStation      24 Oct 31  2022 libgstsdp-1.0.so.0 -> libgstsdp-1.0.so.0.603.0
-rw-r--r-- 1 VideoStation VideoStation   65955 Oct 31  2022 libgstsdp-1.0.so.0.603.0
lrwxrwxrwx 1 VideoStation VideoStation      24 Oct 31  2022 libgsttag-1.0.so -> libgsttag-1.0.so.0.603.0
lrwxrwxrwx 1 VideoStation VideoStation      24 Oct 31  2022 libgsttag-1.0.so.0 -> libgsttag-1.0.so.0.603.0
-rw-r--r-- 1 VideoStation VideoStation  232043 Oct 31  2022 libgsttag-1.0.so.0.603.0
lrwxrwxrwx 1 VideoStation VideoStation      34 Oct 31  2022 libgsturidownloader-1.0.so -> libgsturidownloader-1.0.so.0.603.0
lrwxrwxrwx 1 VideoStation VideoStation      34 Oct 31  2022 libgsturidownloader-1.0.so.0 -> libgsturidownloader-1.0.so.0.603.0
-rw-r--r-- 1 VideoStation VideoStation   29530 Oct 31  2022 libgsturidownloader-1.0.so.0.603.0
lrwxrwxrwx 1 VideoStation VideoStation      26 Oct 31  2022 libgstvideo-1.0.so -> libgstvideo-1.0.so.0.603.0
lrwxrwxrwx 1 VideoStation VideoStation      26 Oct 31  2022 libgstvideo-1.0.so.0 -> libgstvideo-1.0.so.0.603.0
-rw-r--r-- 1 VideoStation VideoStation  445075 Oct 31  2022 libgstvideo-1.0.so.0.603.0
lrwxrwxrwx 1 VideoStation VideoStation      15 Oct 31  2022 libogg.so -> libogg.so.0.8.2
lrwxrwxrwx 1 VideoStation VideoStation      15 Oct 31  2022 libogg.so.0 -> libogg.so.0.8.2
-rw-r--r-- 1 VideoStation VideoStation   24875 Oct 31  2022 libogg.so.0.8.2
lrwxrwxrwx 1 VideoStation VideoStation      21 Oct 31  2022 libvorbisenc.so -> libvorbisenc.so.2.0.9
lrwxrwxrwx 1 VideoStation VideoStation      21 Oct 31  2022 libvorbisenc.so.2 -> libvorbisenc.so.2.0.9
-rw-r--r-- 1 VideoStation VideoStation 2896011 Oct 31  2022 libvorbisenc.so.2.0.9
lrwxrwxrwx 1 VideoStation VideoStation      18 Oct 31  2022 libvorbis.so -> libvorbis.so.0.4.6
lrwxrwxrwx 1 VideoStation VideoStation      18 Oct 31  2022 libvorbis.so.0 -> libvorbis.so.0.4.6
-rw-r--r-- 1 VideoStation VideoStation  168683 Oct 31  2022 libvorbis.so.0.4.6
total 4620
drwx------  6 VideoStation VideoStation    4096 May 22 11:17 .
drwxr-xr-x 18 VideoStation VideoStation    4096 Feb 17 13:06 ..
drwxr-xr-x  2 VideoStation VideoStation    4096 Oct 31  2022 ffmpeg
drwxr-xr-x  3 VideoStation VideoStation    4096 Oct 31  2022 gstreamer
-rw-r--r--  1 VideoStation VideoStation   20891 Oct 31  2022 libdtvrpc.so
-rw-r--r--  1 VideoStation VideoStation  123875 Oct 31  2022 libdvbpsi.so.9
-rwxr-xr-x  1 VideoStation VideoStation   74979 Oct 31  2022 libhdhomerun.so
-rwxr-xr-x  1 VideoStation VideoStation  251385 Oct 31  2022 libopencc.so
-rw-r--r--  1 VideoStation VideoStation  454779 Oct 31  2022 libsynovideostation.so
-rw-r--r--  1 VideoStation VideoStation   29211 Oct 31  2022 libsynovscredential.so
-rw-r--r--  1 VideoStation VideoStation   29275 Oct 31  2022 libsynovsprocess.so
-rw-------  1 VideoStation VideoStation  377611 May 22 11:14 libsynovte.so
-rw-r--r--  1 VideoStation VideoStation   16619 Oct 31  2022 libvcnetwork.so
-rw-r--r--  1 VideoStation VideoStation   54187 Oct 31  2022 libvcwebapi.so
-rw-r--r--  1 VideoStation VideoStation   33227 Oct 31  2022 libvideo_ctrl.so
-rw-r--r--  1 VideoStation VideoStation  224643 Oct 31  2022 libvideo_plugin.so
-rw-r--r--  1 VideoStation VideoStation  116563 Oct 31  2022 libvideostation.so
-rw-r--r--  1 VideoStation VideoStation  748875 Oct 31  2022 libvideostation_webapi.so
-rw-r--r--  1 VideoStation VideoStation  374531 Oct 31  2022 libvideostation_webapi_vte.so
-rw-r--r--  1 VideoStation VideoStation   75035 Oct 31  2022 libvideo_upnp.so
-rw-r--r--  1 VideoStation VideoStation 1591315 Oct 31  2022 libvsdbapi.so
-rw-r--r--  1 VideoStation VideoStation   58547 Oct 31  2022 libvspreprocess.so
drwx------  3 VideoStation VideoStation    4096 Oct 31  2022 python3.8
drwxr-xr-x  2 VideoStation VideoStation    4096 Oct 31  2022 realtek
total 28
drwxr-xr-x 7 root root 4096 Mar  3  2022 .
drwxr-xr-x 6 root root 4096 May 16 01:45 ..
drwxr-xr-x 2 root root 4096 Mar  3  2022 ffmpeg27
drwxr-xr-x 2 root root 4096 Mar  3  2022 ffmpeg33-for-surveillance
drwxr-xr-x 2 root root 4096 Mar  3  2022 ffmpeg41
drwxr-xr-x 3 root root 4096 Mar  3  2022 gstreamer
drwxr-xr-x 2 root root 4096 Mar  3  2022 realtek
total 824
drwxr-xr-x 2 root root   4096 May 22 11:17 .
drwxr-xr-x 6 root root   4096 May 16 01:45 ..
-rwxr-xr-x 1 root root 226024 Mar  3  2022 ffmpeg27
-rwxr-xr-x 1 root root 246776 Mar  3  2022 ffmpeg33-for-surveillance
-rwxr-xr-x 1 root root 259008 Mar  3  2022 ffmpeg41
-rwxr-xr-x 1 root root  44168 Mar  3  2022 gst-inspect-1.0
-rwxr-xr-x 1 root root  35688 Mar  3  2022 gst-launch-1.0
-rwxr-xr-x 1 root root  10168 Mar  3  2022 gst-plugin-scanner

registry.aarch64.bin

total 668
drwxr-xr-x 2 root      root        4096 May 16 01:51 .
drwxr-xr-x 3 CodecPack CodecPack   4096 May 16 01:51 ..
-rw------- 1 root      root      675294 May 16 01:51 registry.aarch64.bin

Here is pastebin with all the commands if that works better for you https://pastebin.com/R34hZrsi

darknebular commented 1 year ago

Please, I added a GStreamer Wrapper for Play Devices like yours. The new version with a GStreamer Wrapper is in SCPT_3.6.

Could you uninstall the wrapper and then try to re-install, the installer must detect your system and apply this GStreamer Wrapper.

Best Regards.

darknebular commented 1 year ago

The last One file, the .bin, It's the caché of the códec true? I am reading about It in its web portal. Perhaps, if I delete It or move It, the gstreamer Will reload This file with the new plugins.

darknebular commented 1 year ago

Look, I think that I left for delete the códec caché in my installer script.

https://forums.developer.nvidia.com/t/gstreamer-plugins-loading-issues/68253

Dinoslav commented 1 year ago

Please, I added a GStreamer Wrapper for Play Devices like yours. The new version with a GStreamer Wrapper is in SCPT_3.6.

Could you uninstall the wrapper and then try to re-install, the installer must detect your system and apply this GStreamer Wrapper.

Best Regards.

I've installed the new version of the Wrapper and the issue with sharing videos with EAC3 audio codec is still same format error. But watching locally works great and sharing movies with MP3 codecs now works again too.

darknebular commented 1 year ago

@Dinoslav This mean that now locally works great for you in DS218 Play? Can you confirm me this?

I am investigating the shared movies via Video Station, but I haven't any issue with this kind of connection. If you haven't any log in /tmp/wrapper_ffmpeg.log file, then your system doesn't touch at all nothing about my Wrappers.

I will inform you.

Best regards.

Dinoslav commented 1 year ago

Yes, locally every movie I tried worked without an issue.

Could you help me how to access the log file to check? Thanks

darknebular commented 1 year ago

All logs are visible using this command:

cat /tmp/wrapper_ffmpeg.log

Best regards.

Natzunur commented 1 year ago

Hello @Dinoslav !

I have an DS118 and I having trouble with Video Station (see my issue who is linked above). Can you please tell me in what version of DSM are you ? Also VideoStation / FFMPEG / AME versions ?

And what did you do before installing @darknebular Wrapper ? We have the same CPU so it's strange that everything works on yours but not on mine :(

Thanks

darknebular commented 1 year ago

https://community.synology.com/enu/forum/17/post/113751

darknebular commented 1 year ago

https://www.reddit.com/r/synology/comments/v68awp/latest_synology_dsm_update_on_my_ds118_seems_to/

Dinoslav commented 1 year ago

All logs are visible using this command:

cat /tmp/wrapper_ffmpeg.log

Best regards.

There seems to be no log file image

Dinoslav commented 1 year ago

Hello @Dinoslav !

I have an DS118 and I having trouble with Video Station (see my issue who is linked above). Can you please tell me in what version of DSM are you ? Also VideoStation / FFMPEG / AME versions ?

And what did you do before installing @darknebular Wrapper ? We have the same CPU so it's strange that everything works on yours but not on mine :(

Thanks

Hello! Currently I have DSM version 7.1.1-42962 Update 5, VideoStation 3.0.5-2503, FFmpeg6 6.0-2 by Vincent Fortier, AME 3.0.1-2004

I'm pretty sure I just installed the ffmpeg package from SynoCommunity and then followed the installation instructions. I don't remember doing anything other than that.

Natzunur commented 1 year ago

Thanks ! So I have extactly the same version of you for every package and the same CPU.. Same as you, the command "cat /tmp/wrapper_ffmpeg.log" does'nt return anything

But for me no video works :( What is your web browser for the local playback ?

Dinoslav commented 1 year ago

Thanks ! So I have extactly the same version of you for every package and the same CPU.. Same as you, the command "cat /tmp/wrapper_ffmpeg.log" does'nt return anything

But for me no video works :( What is your web browser for the local playback ?

I'm using Google Chrome, but it works even with the videostation android app for example. Weird that it is not working for you.

darknebular commented 1 year ago

@Dinoslav I know that the Simplest is recommended for the Play devices, but Could you test the behaviour in your system using the Advanced Wrapper?

Thanks in advance.

Dinoslav commented 1 year ago

@Dinoslav I know that the Simplest is recommended for the Play devices, but Could you test the behaviour in your system using the Advanced Wrapper?

Thanks in advance.

I've tried the Advanced Wrapper and the sharing issue is still the same, plus when playing locally, there is alot of buffering every few seconds.

darknebular commented 1 year ago

I just upload the new version with additionals libraries for GStreamer SCPT_3.9. Now with AAC support for those devices without AAC support.

Best regards.

darknebular commented 1 year ago

@Dinoslav With the new SCPT_3.9 with additional libraries is working for you?

Dinoslav commented 1 year ago

I've tried the new version. The Simplest Wrapper works just as before - locally works fine but sharing gives the format error. Advanced Wrapper is also same for me - locally freezes every few seconds and sharing gives the same error.

darknebular commented 1 year ago

Ok @Dinoslav The correct for your system is the Simplest. The advanced having 5.1 need better CPU. Sharing option in your system doesn't touch my Wrapper, then due to this I can't do so much.

I wonder, if you haven't tried to give that other user an account to your Video Station, people don't usually share videos without credentials. In your system the shared videos do not use my Wrapper.

I'm sorry to tell you that I'm going to have to close this issue. It is not something that is misconfigured in my Wrapper, because your system when you share a video is not touching my Wrapper at all.

Regards.