mp4 Playback Quality
Forum rules
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply
Re: mp4 Playback Quality
Have you tried it on 13.0.1 yet as that should have fixed one bug that may have been causing it to transcode at a low quality.
If it is still doing it then could you post some more logs using v13.0.1.
What are you using to play this on?
If it is still doing it then could you post some more logs using v13.0.1.
What are you using to play this on?
Logs are important for us to help, Please follow This Link before asking for support. Just a forum cleaner, Will help if I can but no expert.
Re: mp4 Playback Quality
@mik_s: Updated to 13.0.1 No change. This was done playing in web browser: Firefox on iMac-M1 macOS Ventura 13.1. Safari won't play any video, Chrome has the same degraded video as Firefox.
Thanks...
Thanks...
- Attachments
-
- ums_dbg_2023-01-05-11-04.zip
- (376.55 KiB) Downloaded 455 times
Re: mp4 Playback Quality
Ah I missed you were playing in the browser. I think almost everything is transcoded to a standard format now for the webplayer but I don't know much about that.
Maybe there is something that can be improved with the transcoding command that is being used, or that the settings used were chosen as a balance between speed and quality.
I have nothing to compare this to but for reference the transcode command is
See if you can find what Plex uses.
At least I can confirm that those errors were not the cause as they are now gone.
Maybe there is something that can be improved with the transcoding command that is being used, or that the settings used were chosen as a balance between speed and quality.
I have nothing to compare this to but for reference the transcode command is
Code: Select all
Starting "/Applications/Universal Media Server.app/Contents/Resources/osx/ffmpeg" -y -loglevel info -ss 1026 -t 6.0 -sn -i "/Volumes/Video 2/Swing U/3 A Closer Listen/Brian Blade S20E13.mp4" -sn -dn -copyts -s:v 842x480 -c:v libx264 -keyint_min 25 -preset ultrafast -profile:v high -level 30 -pix_fmt yuv420p -c:a aac -ac 2 -ab 160000 -f mpegts -skip_estimate_duration_from_pts 1 -use_wallclock_as_timestamps 1 -movflags frag_keyframe /var/folders/0y/mnh4jdj548s21k24r40sxph00000gn/T/UMS-imac-m1/ffmpeghlsvideo_233_1672934620844
At least I can confirm that those errors were not the cause as they are now gone.
Logs are important for us to help, Please follow This Link before asking for support. Just a forum cleaner, Will help if I can but no expert.
Re: mp4 Playback Quality
@mik_s I was given commands to put in renderer.conf in this forum, but no one has ever told me where that is located...
Re: mp4 Playback Quality
You can use CustomFFmpegOptions in your conf but I don't think this will be used for the web player any more.
If you want to try it on other devices then this is the instructions on how to use from the defaultrenderer.conf
but on those the no transcoding option will probably work so is not needed.
The renderer confs are in the renderer folder in the installation directory. For windows this is "C:\Program Files (x86)\Universal Media Server\renderers"
If you want to try it on other devices then this is the instructions on how to use from the defaultrenderer.conf
Code: Select all
# Overrides the FFmpeg custom options in UMS for this renderer. Default is
# empty, which means the UMS settings will be used.
# All setting for output formats, codecs, bitrate e.g. can be used except video,
# audio and subs mapping (-map).
# Do not use it to override -vf; use OverrideFFmpegVideoFilter instead.
# Default: ""
CustomFFmpegOptions =
The renderer confs are in the renderer folder in the installation directory. For windows this is "C:\Program Files (x86)\Universal Media Server\renderers"
Logs are important for us to help, Please follow This Link before asking for support. Just a forum cleaner, Will help if I can but no expert.
Re: mp4 Playback Quality
I thought I had replied, but I don't see it here... I have no other TV playback at home other than my Macs... Is there any way I can get a browser to direct stream without any processing?
Re: mp4 Playback Quality
For the current web player everything is being converted to the same format so is guaranteed to be playable, and makes it easier for the Devs to focus on that one format instead of supporting loads across multiple devices and browsers. I don't know the technical details though but it is a trade off between speed and quality. Some types of video that has text like your screenshots may suffer.
If you want those to be streamed then you can try playing them in dedicated media players like VLC if you have no other renderers to play on as they will support most if not all formats.
If you want those to be streamed then you can try playing them in dedicated media players like VLC if you have no other renderers to play on as they will support most if not all formats.
Logs are important for us to help, Please follow This Link before asking for support. Just a forum cleaner, Will help if I can but no expert.
Re: mp4 Playback Quality
VLC seems to be ok, how do I default UMS to play mp4 in VLC? Or can I have it send to QuickTime? Thanks.
Re: mp4 Playback Quality
I don't understand your question.
VLC should play whatever file you want whether it is MP4, MKV, QT etc and these will be streamed unaltered instead of transcoded.
VLC should play whatever file you want whether it is MP4, MKV, QT etc and these will be streamed unaltered instead of transcoded.
Logs are important for us to help, Please follow This Link before asking for support. Just a forum cleaner, Will help if I can but no expert.
Re: mp4 Playback Quality
Sorry I wasn't clear. Of course I can play each file directly in VLC or Quicktime, but then I lose the wrapping of the files in UMS. How do I tell UMS to play an mp4 or mov file in VLC or Quicktime, rather than whatever it is doing?