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.
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.
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.
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.
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.
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
Edit: MiniDLNA on my QNAP NAS serves .mkv and .mp4 without any problem
Last edited by annie on Sat May 29, 2021 13:18; edited 1 time in total
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.