v13.60 to v14.40 playback issues
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
v13.60 to v14.40 playback issues
When going from UMS v13.60 to v14.40-SNAPSHOT (pre-v14.50), I have discovered two new videos that still refuse to play properly.
On one of them, the video is out of sync with the audio and subtitles.
The other video plays audio, but with a black/blank screen. Also, the time showing jumps in increments of 3-4 seconds.
A problem with FFMpeg was fixed recently (viewtopic.php?t=16089&sid=784ae00f5e989 ... 6d4642cd33) that resolved problems with most playback issues. However, I just discovered these videos that still do not play properly with the fix made earlier.
I have attached a debug log for the new version.
On one of them, the video is out of sync with the audio and subtitles.
The other video plays audio, but with a black/blank screen. Also, the time showing jumps in increments of 3-4 seconds.
A problem with FFMpeg was fixed recently (viewtopic.php?t=16089&sid=784ae00f5e989 ... 6d4642cd33) that resolved problems with most playback issues. However, I just discovered these videos that still do not play properly with the fix made earlier.
I have attached a debug log for the new version.
- Attachments
-
- ums_dbg_2024-08-28-21-44.zip
- (454.06 KiB) Downloaded 166 times
Re: v13.60 to v14.40 playback issues
Thanks for reporting it, I am looking into all of these playback issues now
Re: v13.60 to v14.40 playback issues
For those two files:
Test.S05E01.Internal Subs (audio and subs out-of-sync).mkv:
The code used is:
FFmpeg is passing it along to MEncoder, because FFmpeg can take a long time to precache subtitles before it outputs any video, while MEncoder can start immediately. The drawback as you have discovered is that MEncoder audio sync can be wrong. You might want to try disabling the "Defer to MEncoder..." option in the FFmpeg options in UMS. It can sometimes mean you have to attempt to play a file several times before it will work, especially for large videos as FFmpeg is limited by hard drive speed.
Also I think this will have always been a problem, so if this was behaving differently in another version of UMS, please let me know since that is unexpected.
and then:
Test.S05E01.No subs (plays audio but black picture).mkv:
The code used is:
This is annoying because we are hardly doing anything, just repackaging the video stream with no conversion. So for some reason the TV does not like that video stream inside of a vob (MPG) container.
It would be helpful if you could try playing the file from the #--TRANSCODE--# folder. If that fixes it, is means the TV needs us to re-encode the video stream to be accepted.
Test.S05E01.Internal Subs (audio and subs out-of-sync).mkv:
The code used is:
Code: Select all
"C:\Program Files (x86)\Universal Media Server\bin\mencoder.exe" -ss 0 "e:\iso\mp4s\test\Test.S05E01.Internal Subs (audio and subs out-of-sync).mkv" -msglevel statusline=2 -oac lavc -of mpeg -mpegopts format=mpeg2:muxrate=500000:vbuf_size=1194:abuf_size=64 -ovc lavc -channels 2 -lavdopts debug=0:threads=4 -lavcopts autoaspect=1:vcodec=mpeg2video:acodec=ac3:abitrate=448:threads=4:keyint=25:vqmin=2:vqmax=5:vrc_maxrate=42000:vrc_buf_size=1835 -ass -ass-color FFFFFF00 -ass-border-color 00000000 -ass-font-scale 1.4 -font C:\WINDOWS\Fonts\Arial.ttf -ass-force-style FontName=Arial,Outline=1,Shadow=1,MarginV=10 -fontconfig -noautosub -sid 0 -ofps 24000/1001 -lavdopts fast -mc 0 -noskip -af lavcresample=48000 -srate 48000 -o \\.\pipe\mencoder1724895681433
Also I think this will have always been a problem, so if this was behaving differently in another version of UMS, please let me know since that is unexpected.
and then:
Test.S05E01.No subs (plays audio but black picture).mkv:
The code used is:
Code: Select all
"C:\Program Files (x86)\Universal Media Server\bin\ffmpeg.exe" -y -loglevel info -i "e:\iso\mp4s\test\Test.S05E01.No subs (plays audio but black picture).mkv" -ab 448k -c:a ac3 -c:v copy -f vob \\.\pipe\ffmpegvideo_118_1724895777612
It would be helpful if you could try playing the file from the #--TRANSCODE--# folder. If that fixes it, is means the TV needs us to re-encode the video stream to be accepted.
Re: v13.60 to v14.40 playback issues
Disabling "Defer to MEncoder..." appears to have fixed the first issue (log file attached). However, it works fine with v13.60 and "Defer to MEncoder..." is Enabled.
When playing the second video from the TRANSCODE folder using MEncoder, no subtitles are shown AND audio and video are out of sync.
(log file attached for these also).
When playing the second video from the TRANSCODE folder using FFMPEG, no subtitles are shown (audio and video are fine though).When playing the second video from the TRANSCODE folder using MEncoder, no subtitles are shown AND audio and video are out of sync.
(log file attached for these also).