Page 1 of 1
files in TranscodeExtensions are not shown
Posted: Sat Feb 26, 2022 8:59 am
by OlliL
Hi,
I am running UMS on a FreeBSD system where I unfortunally have no mediainfo because of jna Support on FreeBSD. So I rely on StreamExtensions and TranscodeExtensions only.
I recently bought a new DVD Player (LG BP450) which supports various video formats. Unfortunally I have some mp4 files which are not supported nativly and need transcoding. So I have this Configuration file:
Code: Select all
UserAgentSearch = LG-BDP
#UserAgentSearch = LG-BP450
UpnpDetailsSearch = LG-BP450
LoadingPriority = 1
TranscodeAudio = MP3
MaxVideoBitrateMbps = 50
TranscodedVideoFileSize = -1
StreamExtensions = asf,wmv,divx,m4v,mov,3gp,3g2,mkv,ts,trp,tp,mts,m2ts,vob,mpg,mpeg,mp3,jpg,jpeg,jpe,jps,mpo
TranscodeExtensions=flv,mp4,avi
The thing is - when I put "mp4" into StreamExtensions, the Player shows the File but can't play it. (unknown video format)
When I put "mp4" into TranscodeExtensions, the Player does not show the File at all. I can't select it for playing as it does not seem to exist at all from the players perspective.
How can this be fixed?
Cheers,
OlliL
Re: files in TranscodeExtensions are not shown
Posted: Tue Mar 01, 2022 2:06 am
by OlliL
OK, I downloaded the Sourcecode, hooked up remote-Debugging in Eclipse and found the difference between files shown and files not shown!
The to-be-transcoded files have no size attribute during the directory listing. The player seems to filter those out. Adding
Code: Select all
TranscodedVideoFileSize = 100000000000
fixed this!
Re: files in TranscodeExtensions are not shown
Posted: Tue Mar 01, 2022 2:15 am
by OlliL
Despite the fact, the player supports MPEGTS-H264-AC3 TranscodeVideo cannot set to this because the player also does not seem to like the suffix ".ts"
Re: files in TranscodeExtensions are not shown
Posted: Tue Mar 01, 2022 3:36 am
by OlliL
I also got Media-Info working now. I just placed jna-5.10.0.jar as "update.jar" in the UMS folder. Because it is included in ClassPath it now also finds the shared object for my FreeBSD system. So.... the correct Configuration for my LG BP450 is
Code: Select all
#----------------------------------------------------------------------------
# Profile for LG BP450 Blu-Ray players.
# See DefaultRenderer.conf for descriptions of all the available options.
RendererName = LG BP450
RendererIcon = LG-BP550.png
UserAgentSearch = LG-BDP
LoadingPriority = 1
TranscodeVideo = MPEGPS-MPEG2-AC3
TranscodeFastStart = true
TranscodedVideoFileSize = 100000000000
MediaInfo = true
# Supported video formats:
Supported = f:3gp|3g2 v:h264|mp4|mpeg1|mpeg2|vc1 a:aac-lc|ac3|dts|mpa|mp3|wma m:video/3gpp
Supported = f:avi v:h264|mp4|mpeg1|mpeg2 a:aac-lc|ac3|dts|mpa|mp3|wma m:video/x-divx qpel:no gmc:0
Supported = f:flv v:h264|mp4|mpeg1|mpeg2|vc1 a:aac-lc|ac3|dts|mpa|mp3|wma m:video/x-flv
Supported = f:mov v:h264|mp4|mpeg1|mpeg2|vc1 a:aac-lc|ac3|dts|mpa|mp3|wma m:video/quicktime
Supported = f:mkv v:h264|mp4|mpeg1|mpeg2|vc1 a:aac-lc|ac3|dts|he-aac|mpa|mp3|wma m:video/x-matroska
Supported = f:mp4 v:h264|mp4|mpeg1|mpeg2|vc1 a:aac-lc|ac3|dts|he-aac|mpa|mp3|wma m:video/mp4
Supported = f:mpegps v:h264|mp4|mpeg1|mpeg2|vc1 a:aac-lc|ac3|dts|mpa|mp3|wma m:video/mpeg
Supported = f:mpegts v:h264|mp4|mpeg1|mpeg2|vc1 a:aac-lc|ac3|dts|mpa|mp3|wma m:video/mpeg
Supported = f:wmv v:h264|mp4|mpeg1|mpeg2|vc1 a:aac-lc|ac3|dts|mpa|mp3|wma m:video/x-ms-wmv
# Supported audio formats:
Supported = f:flac m:audio/flac
Supported = f:m4a m:audio/mp4
Supported = f:mp3 m:audio/mpeg
Supported = f:oga m:audio/ogg
Supported = f:wav m:audio/wav
Supported = f:wma m:audio/x-ms-wma
SupportedExternalSubtitlesFormats = ASS,MICRODVD,SAMI,SUBRIP,TEXT
SupportedInternalSubtitlesFormats = ASS,DIVX,MICRODVD,SAMI,SUBRIP,TEXT
Re: files in TranscodeExtensions are not shown
Posted: Thu Mar 03, 2022 8:36 am
by SubJunk
Thanks for this! I'll add it to UMS in the next release
Edit: Can you please either post logs or let me know which user-agent your device identifies with? Looking for "LG-BDP" might be too general
Re: files in TranscodeExtensions are not shown
Posted: Sun Apr 10, 2022 11:34 pm
by OlliL
Hi,
thats what debug.log provides:
DEBUG 2022-02-28 15:23:38.930 [HTTPv2 Request Worker 11] Matched media renderer "LG BP450" based on headers {CONNECTION=Keep-Alive, DATE=Sun, 01 Jun 2014 00:26:05 GMT, Host=10.0.1.51:5001, USER-AGENT=LG-BDP Linux/2.6.35 UPnP/1.0 DLNADOC/1.50 LGE_DLNA_SDK/1.5.0}