Can MiniDLNA please be repaired?

Post new topic   Reply to topic    DD-WRT Forum Index -> General Questions
Author Message
annie
DD-WRT Novice


Joined: 17 Nov 2006
Posts: 32

PostPosted: Sat Jul 18, 2020 17:16    Post subject: Can MiniDLNA please be repaired? Reply with quote
Is there any chance MiniDLNA wil be functional again? The only files that are shown on clients are te .avi files that are shared.

Thanks for all the effort that's put in the builds. Really miss MiniDLNA functionality though.
Sponsor
annie
DD-WRT Novice


Joined: 17 Nov 2006
Posts: 32

PostPosted: Mon May 24, 2021 14:05    Post subject: Reply with quote
Today, build 46733 was installed on four TP-Link Arcer C7 v2 routers. MP3, FLAC, JPG and AVI is recognized as media files and displayed on the clients and in the status window on port 8200. However, MKV and MP4 files are still not seen by MiniDLNA.

Is there a fix for this?
kernel-panic69
DD-WRT Guru


Joined: 08 May 2018
Posts: 14125
Location: Texas, USA

PostPosted: Mon May 24, 2021 16:19    Post subject: Reply with quote
The current version in DD-WRT is the same as upstream, with very few other modifications to the code:

https://svn.dd-wrt.com/browser/src/router/minidlna/minidlna/NEWS

https://svn.dd-wrt.com/browser/src/router/minidlna/minidlna/

https://sourceforge.net/p/minidlna/git/ci/master/tree/

https://sourceforge.net/projects/minidlna/files/minidlna/1.3.0/

Not sure if any of the other repositories out there would contain any patches or anything that would fix this issue:

https://github.com/search?o=desc&q=minidlna&s=updated&type=Repositories

https://sourceforge.net/p/minidlna/git/forks/

https://sourceforge.net/p/minidlna/git/merge-requests/

_________________
"Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT
Pogo - A minimal level of ability is expected and needed...
DD-WRT Releases 2023 (PolitePol)
DD-WRT Releases 2023 (RSS Everything)

----------------------
Linux User #377467 counter.li.org / linuxcounter.net


Last edited by kernel-panic69 on Fri May 28, 2021 19:48; edited 1 time in total
yoyoma2
DD-WRT User


Joined: 24 Sep 2016
Posts: 371

PostPosted: Thu May 27, 2021 1:34    Post subject: Reply with quote
Could you supply small MKV and MP4 samples that don't work?
kernel-panic69
DD-WRT Guru


Joined: 08 May 2018
Posts: 14125
Location: Texas, USA

PostPosted: Thu May 27, 2021 1:59    Post subject: Reply with quote
I forgot to ask what was the client OS and program accessing your minidlna server.
_________________
"Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT
Pogo - A minimal level of ability is expected and needed...
DD-WRT Releases 2023 (PolitePol)
DD-WRT Releases 2023 (RSS Everything)

----------------------
Linux User #377467 counter.li.org / linuxcounter.net
annie
DD-WRT Novice


Joined: 17 Nov 2006
Posts: 32

PostPosted: Thu May 27, 2021 17:06    Post subject: Reply with quote
Hi,

It is not that the .mp4 and .mkv files do not work. They are not displayed at all. The folders (example \video\movies\mp4\movietitle) show up, but do not show their content. The folders with .avi, flac, mp3 show their content.

Clients are Samsung TV (2x) and Windows 10 (This Computer). In older DD-WRT versions everything showed up correctly.

The .mkv and .mp4 files are visible and playable when browsing to them in Windows 10 network neighborhood.
yoyoma2
DD-WRT User


Joined: 24 Sep 2016
Posts: 371

PostPosted: Thu May 27, 2021 17:29    Post subject: Reply with quote
I understand the problem but those file extensions are containers that can contain a variety of codecs. My understanding is that minidlna does some analysis of the contents and only presents what it deems valid media files. This check is likely failing for valid but unrecognized codecs. If you have a .mkv and .mp4 sample that used to work with dd-wrt I can try them on my working dd-wrt minidlna setup.
annie
DD-WRT Novice


Joined: 17 Nov 2006
Posts: 32

PostPosted: Fri May 28, 2021 17:11    Post subject: Reply with quote
Hi Yoyoma2,


Sent you a small file, attached to a PM,

greets,

André
annie
DD-WRT Novice


Joined: 17 Nov 2006
Posts: 32

PostPosted: Fri May 28, 2021 19:30    Post subject: Reply with quote
Hi Yoyoma,

Since the .mp4 file worked ok @ your setup, I tested the things you proposed:

With all media types (video/photo/music) selected, .mp3 files that are placed in a video folder are displayed and playable. Also .mp4 files are displayed and playable. Could it be that .mp4 is also recognized and thus displayed as being music?

However, .mkv is still not displayed on the clients. Knowing this, it simply looks like not all video extensions are recognized as video files.

What do you think?
kernel-panic69
DD-WRT Guru


Joined: 08 May 2018
Posts: 14125
Location: Texas, USA

PostPosted: Fri May 28, 2021 19:47    Post subject: Reply with quote
https://www.truenas.com/community/threads/minidlna-not-serving-mkv.8235/

It's been an issue for a while. Also, I screwed the pooch on the official git repo:

https://sourceforge.net/p/minidlna/git/ci/master/tree/

You should consider remux'ing or converting those .mkv files to .mp4.

_________________
"Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT
Pogo - A minimal level of ability is expected and needed...
DD-WRT Releases 2023 (PolitePol)
DD-WRT Releases 2023 (RSS Everything)

----------------------
Linux User #377467 counter.li.org / linuxcounter.net
annie
DD-WRT Novice


Joined: 17 Nov 2006
Posts: 32

PostPosted: Fri May 28, 2021 20:08    Post subject: Reply with quote
The Archer C7's are now running on build r46733. A year ago, running build 39296, all files were shown and playable. Including .mkv and .mp4.

Remuxing all files would take things too far Surprised
yoyoma2
DD-WRT User


Joined: 24 Sep 2016
Posts: 371

PostPosted: Fri May 28, 2021 22:28    Post subject: Reply with quote
These two mkv files play fine on kodi (on rpi2) served through minidlna from dd-wrt r46446. On Windows media player (Win10) one has no sound and the other gives a codec error and plays nothing but the mkv files are available in the video list. The folder has Audio, Video (not Images) checked in the dd-wrt GUI.
annie
DD-WRT Novice


Joined: 17 Nov 2006
Posts: 32

PostPosted: Sat May 29, 2021 7:25    Post subject: Reply with quote
So strange.....

The two files do not show up when i copy them to the video folder. Not when video is selected and not when both audio and video are selected. An .avi file, copied to the same folder, shows up and plays. So definitely no permissions issue.

There must be something that's different in our setups since you've got no problems at all. But what? I did not only try this with r46733, all recent versions behave like this on all C7's Shocked

Edit: MiniDLNA on my QNAP NAS serves .mkv and .mp4 without any problem Neutral


Last edited by annie on Sat May 29, 2021 13:18; edited 1 time in total
yoyoma2
DD-WRT User


Joined: 24 Sep 2016
Posts: 371

PostPosted: Sat May 29, 2021 13:15    Post subject: Reply with quote
As kernel-panic69 stated earlier minidlna "is the same as upstream, with very few other modifications". At this point it looks more like a setup issue or a minidlna quirk than a dd-wrt bug.

I would try getting mkv files working in a tiny minidlna setup in a brand new folder and incrementally add more files until it breaks. Could there be one file in there that messes things up or it's a total number of files thing, who knows? A minidlna specefic forum might have more expertise.
annie
DD-WRT Novice


Joined: 17 Nov 2006
Posts: 32

PostPosted: Sat May 29, 2021 13:23    Post subject: Reply with quote
Okay, thanks for all your trying & thinking Very Happy

Already made new folders after formatting the USB drive....

I'll try to determine what could be wrong.... If I solve this, i'll let you know!
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> General Questions All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum