Mediafile/Video skipping when transcoding

For help and support with Universal Media Server
Forum rules
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply
fedeaffedaffe
Posts: 11
Joined: Tue Oct 31, 2017 9:40 am

Mediafile/Video skipping when transcoding

Post by fedeaffedaffe »

Hi UMS forum users.

Plz help :?

Some of the media/movie files (H.264 in MP4, MKV), is 'skipping' after a short time when i transcode using the FFMPEG renderer. It does this continually every few minutes throughout the length of the movie.
No problems without transcoding, but then I can't use subtitles which I prefer, as my english is good but not great.
Tried transcoding without subtitles, to see if it was a subtitle problem, but to no avail.
Tried different renderers (MEncoder, AviSynth, VLC) with little succes.
I suspect the problem is that A/V goes out of sync, which causes the skipping, because I tried the same files with the older PS3 Media Server, and though it doesn't skip, the A/V goes out of sync after a short while.
On the mkv container I can enable internal subtitles on my TV when not transcoding, but I can't with external srt subs.
I'm using the latest UMS 6.7.4 via my PC (Windows 10, Intel G4560/3.5 GHz, 8GB RAM) to my Panasonic ST50 Plasma TV on a Wired 100 m/b connection.
I installed UMS on my gamer rig (i4790k, 32GB, Win10), thinking it could be the Intel G4560/3.5 GHz that was incapable of 'doing the job'. But that wasn't it. Cores are far from fully utilized on both PC's.
Not even degrading transcoding quality to lowest possible setting helped.
UMS debug zip file attached to post btw.
Any ideas?

Kind Regards Bjarke ;)
Attachments
ums_dbg.zip
(71.44 KiB) Downloaded 363 times
User avatar
Sami32
Posts: 851
Joined: Mon Apr 11, 2016 5:09 am

Re: Mediafile/Video skipping when transcoding

Post by Sami32 »

Hi,

In the GUI, go into the General Configuration tab, and select Force networking on interface.
Then select the one ending with xx.xxx.184.157
Quit and re run UMS to test if it solved your issue.

When you say "skipping", do you mean only the video skip, or also the audio ?

If you still get issue, as you media have a weird timebase that is certainly the root of your issue, could you post the full enhanced MediaInfo log ? Thanks.
Go into the MediaInfo GUI "Debug" tab, and select "Advanced mode". Then copy/paste the result here, or attach the log.
fedeaffedaffe
Posts: 11
Joined: Tue Oct 31, 2017 9:40 am

Re: Mediafile/Video skipping when transcoding

Post by fedeaffedaffe »

Hi again.

Thanks a lot for your reply. Tried to force my IP under network settings, sadly to no avail.
But okay, I closely observed what is happening this time, and what I observed goes for several other "problem" files as well.
The sound disappears firstly, a couple of seconds later the video skips, and sound and video returns again shortly after. As mentioned this happens again after a period of time.
If I play the same files on my PC using VLC or on my TV via USB connection, there is no problem whatsoever. (So I've solved it so far by doing just that, but I just don't understand why that works?)
Where do I find the Mediainfo GUI tab? Is that in UMS or Mediainfo or something else? I have Mediainfo installed, but can't find advanced tab anywhere..

Thanks again.
Bjarke ;)
User avatar
Sami32
Posts: 851
Joined: Mon Apr 11, 2016 5:09 am

Re: Mediafile/Video skipping when transcoding

Post by Sami32 »

Go into the MediaInfo GUI "Debug" tab, and select "Advanced mode". Then copy/paste the result here, or attach the log.
capture_11162017_042610.jpg
capture_11162017_042610.jpg (227.36 KiB) Viewed 12510 times
Your server and renderer are not on the same IP mask as it should, so you'll have to set it.
Tried to force my IP under network settings, sadly to no avail.
I'm not sure what you mean by "no avail". Do you mean that you don't have the one ending with 184.xxx ?
fedeaffedaffe
Posts: 11
Joined: Tue Oct 31, 2017 9:40 am

Re: Mediafile/Video skipping when transcoding

Post by fedeaffedaffe »

Hi again.

Sorry, I guess I was a bit too vague in my reply. I did as you suggested and forced my IP under the UMS network settings, but that did not solve the issue.
I have a log file attached, but its a bit messed up as it would only save a zero file when I chose to export. So I made a copy/paste one instead.
Hope it's okay though.

Kind Regards,
Bjarke
Attachments
mediainfo.txt
(11.16 KiB) Downloaded 338 times
User avatar
Sami32
Posts: 851
Joined: Mon Apr 11, 2016 5:09 am

Re: Mediafile/Video skipping when transcoding

Post by Sami32 »

If you could post something like that it will be nice ;)
General
Count : 330
Count of stream of this kind : 1
Kind of stream : General
Kind of stream : General
Stream identifier : 0
ID : 70
ID : 70 (0x46)
Count of video streams : 1
Count of audio streams : 2
Count of text streams : 2
OtherCount : 1
Count of menu streams : 1
Video_Format_List : AVC
Video_Format_WithHint_List : AVC
Codecs Video : AVC
Audio_Format_List : MPEG Audio / AC-3
Audio_Format_WithHint_List : MPEG Audio / AC-3
Audio codecs : MPEG-1 Audio layer 2 / AC3
Audio_Language_List : Norwegian / Norwegian
Text_Format_List : DVB Subtitle / DVB Subtitle
Text_Format_WithHint_List : DVB Subtitle / DVB Subtitle
Text codecs : DVB Subtitle / DVB Subtitle
Text_Language_List : Norwegian / Norwegian
Other_Format_List : Teletext
Other_Format_WithHint_List : Teletext
Other_Language_List : Norwegian
Menu_Format_List : AVC / MPEG Audio / AC-3 / DVB Subtitle / DVB Subtitle / Teletext
Menu_Format_WithHint_List : AVC / MPEG Audio / AC-3 / DVB Subtitle / DVB Subtitle / Teletext
Menu codecs : AVC / MPA1L2 / AC3 / DVB Subtitle / DVB Subtitle / Teletext
Menu_Language_List : / Norwegian / Norwegian / Norwegian / Norwegian / Norwegian
Complete name : F:\!MEDIA_TEST_FILES\UMS Video Testing Suite (20150121)\TESTS\INTERNAL SUBTITLES\20130718 2342 - NRK2 HD - Barnearbeid og slaveri.[0].ts
Folder name : F:\!MEDIA_TEST_FILES\UMS Video Testing Suite (20150121)\TESTS\INTERNAL SUBTITLES
File name : 20130718 2342 - NRK2 HD - Barnearbeid og slaveri.[0]
File extension : ts
Format : MPEG-TS
Format : MPEG-TS
Format/Extensions usually used : ts m2t m2s m4t m4s tmf ts tp trp ty
Commercial name : MPEG-TS
Internet media type : video/MP2T
Codec : MPEG-TS
Codec : MPEG-TS
Codec/Extensions usually used : ts m2t m2s m4t m4s tmf ts tp trp ty
File size : 68524872
File size : 65.4 MiB
File size : 65 MiB
File size : 65 MiB
File size : 65.4 MiB
File size : 65.35 MiB
Duration : 46618.410156
Duration : 46 s 618 ms
Duration : 46 s 618 ms
Duration : 46 s 618 ms
Duration : 00:00:46.618
Duration : 00:00:46:01
Duration : 00:00:46.618 (00:00:46:01)
Overall bit rate mode : VBR
Overall bit rate mode : Variable
Overall bit rate : 11538706
Overall bit rate : 11.5 Mb/s
Frame rate : 50.000
Frame rate : 50.000 FPS
Frame count : 2301
File creation date : UTC 2017-11-08 20:23:30.250
File creation date (local) : 2017-11-08 21:23:30.250
File last modification date : UTC 2017-11-08 20:33:03.718
File last modification date (local) : 2017-11-08 21:33:03.718
OverallBitRate_Precision_Min : 11538582
OverallBitRate_Precision_Max : 11538830

Video
Count : 338
Count of stream of this kind : 1
Kind of stream : Video
Kind of stream : Video
Stream identifier : 0
StreamOrder : 1-0
ID : 513
ID : 513 (0x201)
Menu ID : 1040
Menu ID : 1040 (0x410)
Format : AVC
Format/Info : Advanced Video Codec
Format/Url : http://developers.videolan.org/x264.html
Commercial name : AVC
Format profile : [email protected]
Format settings : CABAC / 4 Ref Frames
Format settings, CABAC : Yes
Format settings, CABAC : Yes
Format settings, RefFrames : 4
Format settings, RefFrames : 4 frames
Format settings, GOP : M=4, N=32
Internet media type : video/H264
Codec ID : 27
Codec : AVC
Codec : AVC
Codec/Family : AVC
Codec/Info : Advanced Video Codec
Codec/Url : http://developers.videolan.org/x264.html
Codec profile : [email protected]
Codec settings : CABAC / 4 Ref Frames
Codec settings, CABAC : Yes
Codec_Settings_RefFrames : 4
Duration : 46019
Duration : 46 s 19 ms
Duration : 46 s 19 ms
Duration : 46 s 19 ms
Duration : 00:00:46.019
Duration : 00:00:46:01
Duration : 00:00:46.019 (00:00:46:01)
Bit rate : 10257361
Bit rate : 10.3 Mb/s
Width : 1280
Width : 1 280 pixels
Height : 720
Height : 720 pixels
Sampled_Width : 1280
Sampled_Height : 720
Pixel aspect ratio : 1.000
Display aspect ratio : 1.778
Display aspect ratio : 16:9
Frame rate : 50.000
Frame rate : 50.000 FPS
Frame count : 2301
Resolution : 8
Resolution : 8 bits
Colorimetry : 4:2:0
Color space : YUV
Chroma subsampling : 4:2:0
Chroma subsampling : 4:2:0
Bit depth : 8
Bit depth : 8 bits
Scan type : Progressive
Scan type : Progressive
Interlacement : PPF
Interlacement : Progressive
Bits/(Pixel*Frame) : 0.223
Delay : 72168592.000
Delay : 20 h 2 min
Delay : 20 h 2 min 48 s 592 ms
Delay : 20 h 2 min
Delay : 20:02:48.592
Delay, origin : Container
Delay, origin : Container
Stream size : 59005467
Stream size : 56.3 MiB (86%)
Stream size : 56 MiB
Stream size : 56 MiB
Stream size : 56.3 MiB
Stream size : 56.27 MiB
Stream size : 56.3 MiB (86%)
Proportion of this stream : 0.86108
Color range : Limited
colour_description_present : Yes
Color primaries : BT.709
Transfer characteristics : BT.709
Matrix coefficients : BT.709

Audio #1
Count : 275
Count of stream of this kind : 2
Kind of stream : Audio
Kind of stream : Audio
Stream identifier : 0
Stream identifier : 1
StreamOrder : 1-1
ID : 644
ID : 644 (0x284)
Menu ID : 1040
Menu ID : 1040 (0x410)
Format : MPEG Audio
Commercial name : MPEG Audio
Format version : Version 1
Format profile : Layer 2
Internet media type : audio/mpeg
Codec ID : 4
Codec : MPA1L2
Codec : MPEG-1 Audio layer 2
Duration : 46848
Duration : 46 s 848 ms
Duration : 46 s 848 ms
Duration : 46 s 848 ms
Duration : 00:00:46.848
Duration : 00:00:46:20
Duration : 00:00:46.848 (00:00:46:20)
Bit rate mode : CBR
Bit rate mode : Constant
Bit rate : 256000
Bit rate : 256 kb/s
Channel(s) : 2
Channel(s) : 2 channels
Samples per frame : 1152
Sampling rate : 48000
Sampling rate : 48.0 kHz
Samples count : 2248704
Frame rate : 41.667
Frame rate : 41.667 FPS (1152 SPF)
Frame count : 1952
Compression mode : Lossy
Compression mode : Lossy
Delay : 72168312.000
Delay : 20 h 2 min
Delay : 20 h 2 min 48 s 312 ms
Delay : 20 h 2 min
Delay : 20:02:48.312
Delay, origin : Container
Delay, origin : Container
Delay relative to video : -280
Delay relative to video : -280 ms
Delay relative to video : -280 ms
Delay relative to video : -280 ms
Delay relative to video : -00:00:00.280
Video0 delay : -280
Video0 delay : -280 ms
Video0 delay : -280 ms
Video0 delay : -280 ms
Video0 delay : -00:00:00.280
Stream size : 1499136
Stream size : 1.43 MiB (2%)
Stream size : 1 MiB
Stream size : 1.4 MiB
Stream size : 1.43 MiB
Stream size : 1.430 MiB
Stream size : 1.43 MiB (2%)
Proportion of this stream : 0.02188
Language : no
Language : Norwegian
Language : Norwegian
Language : no
Language : nor
Language : no

Audio #2
Count : 298
Count of stream of this kind : 2
Kind of stream : Audio
Kind of stream : Audio
Stream identifier : 1
Stream identifier : 2
StreamOrder : 1-2
ID : 645
ID : 645 (0x285)
Menu ID : 1040
Menu ID : 1040 (0x410)
Format : AC-3
Format/Info : Audio Coding 3
Commercial name : AC-3
Format settings, Endianness : Big
Codec ID : 6
Codec : AC3
Codec : AC3
Duration : 46848
Duration : 46 s 848 ms
Duration : 46 s 848 ms
Duration : 46 s 848 ms
Duration : 00:00:46.848
Duration : 00:00:47:07
Duration : 00:00:46.848 (00:00:47:07)
Bit rate mode : CBR
Bit rate mode : Constant
Bit rate : 448000
Bit rate : 448 kb/s
Channel(s) : 2
Channel(s) : 2 channels
Channel positions : Front: L R
Channel positions : 2/0/0
ChannelLayout : L R
Samples per frame : 1536
Sampling rate : 48000
Sampling rate : 48.0 kHz
Samples count : 2248704
Frame rate : 31.250
Frame rate : 31.250 FPS (1536 SPF)
Frame count : 1464
Resolution : 16
Resolution : 16 bits
Bit depth : 16
Bit depth : 16 bits
Compression mode : Lossy
Compression mode : Lossy
Delay : 72168312.000
Delay : 20 h 2 min
Delay : 20 h 2 min 48 s 312 ms
Delay : 20 h 2 min
Delay : 20:02:48.312
Delay, origin : Container
Delay, origin : Container
Delay relative to video : -280
Delay relative to video : -280 ms
Delay relative to video : -280 ms
Delay relative to video : -280 ms
Delay relative to video : -00:00:00.280
Video0 delay : -280
Video0 delay : -280 ms
Video0 delay : -280 ms
Video0 delay : -280 ms
Video0 delay : -00:00:00.280
Stream size : 2623488
Stream size : 2.50 MiB (4%)
Stream size : 3 MiB
Stream size : 2.5 MiB
Stream size : 2.50 MiB
Stream size : 2.502 MiB
Stream size : 2.50 MiB (4%)
Proportion of this stream : 0.03829
Language : no
Language : Norwegian
Language : Norwegian
Language : no
Language : nor
Language : no
Service kind : CM
Service kind : Complete Main
bsid : 6
dialnorm : -27
dialnorm : -27 dB
compr : -0.28
compr : -0.28 dB
dsurmod : 1
dsurmod : Not Dolby Surround encoded
acmod : 2
lfeon : 0
dialnorm_Average : -27
dialnorm_Average : -27 dB
dialnorm_Minimum : -27
dialnorm_Minimum : -27 dB
dialnorm_Maximum : -27
dialnorm_Maximum : -27 dB
dialnorm_Count : 1464
compr_Average : -0.76
compr_Average : -0.76 dB
compr_Minimum : -1.16
compr_Minimum : -1.16 dB
compr_Maximum : -0.56
compr_Maximum : -0.56 dB
compr_Count : 51

Text #1
Count : 244
Count of stream of this kind : 2
Kind of stream : Text
Kind of stream : Text
Stream identifier : 0
Stream identifier : 1
StreamOrder : 1-3
ID : 602
ID : 602 (0x25A)
Menu ID : 1040
Menu ID : 1040 (0x410)
Format : DVB Subtitle
Commercial name : DVB Subtitle
Codec ID : 6
Codec : DVB Subtitle
Codec : DVB Subtitle
Duration : 37960
Duration : 37 s 960 ms
Duration : 37 s 960 ms
Duration : 37 s 960 ms
Duration : 00:00:37.960
Duration : 00:00:37.960
Delay : 72177256.000
Delay : 20 h 2 min
Delay : 20 h 2 min 57 s 256 ms
Delay : 20 h 2 min
Delay : 20:02:57.256
Delay, origin : Container
Delay, origin : Container
Delay relative to video : 8664
Delay relative to video : 8 s 664 ms
Delay relative to video : 8 s 664 ms
Delay relative to video : 8 s 664 ms
Delay relative to video : 00:00:08.664
Video0 delay : 8664
Video0 delay : 8 s 664 ms
Video0 delay : 8 s 664 ms
Video0 delay : 8 s 664 ms
Video0 delay : 00:00:08.664
Language : no
Language : Norwegian
Language : Norwegian
Language : no
Language : nor
Language : no
subtitle_stream_id : 0 / 0 / 0 / 0
page_id : 1 / 1 / 1 / 1
region_id : 0 / 1 / 2 / 3
region_horizontal_address : 0 / 0
region_vertical_address : 461 / 503
region_width : 720 / 720 / 720 / 720
region_height : 42 / 42 / 42 / 42
region_depth : 4 / 4 / 4 / 4

Text #2
Count : 244
Count of stream of this kind : 2
Kind of stream : Text
Kind of stream : Text
Stream identifier : 1
Stream identifier : 2
StreamOrder : 1-4
ID : 603
ID : 603 (0x25B)
Menu ID : 1040
Menu ID : 1040 (0x410)
Format : DVB Subtitle
Commercial name : DVB Subtitle
Codec ID : 6
Codec : DVB Subtitle
Codec : DVB Subtitle
Duration : 37960
Duration : 37 s 960 ms
Duration : 37 s 960 ms
Duration : 37 s 960 ms
Duration : 00:00:37.960
Duration : 00:00:37.960
Delay : 72177256.000
Delay : 20 h 2 min
Delay : 20 h 2 min 57 s 256 ms
Delay : 20 h 2 min
Delay : 20:02:57.256
Delay, origin : Container
Delay, origin : Container
Delay relative to video : 8664
Delay relative to video : 8 s 664 ms
Delay relative to video : 8 s 664 ms
Delay relative to video : 8 s 664 ms
Delay relative to video : 00:00:08.664
Video0 delay : 8664
Video0 delay : 8 s 664 ms
Video0 delay : 8 s 664 ms
Video0 delay : 8 s 664 ms
Video0 delay : 00:00:08.664
Language : no
Language : Norwegian
Language : Norwegian
Language : no
Language : nor
Language : no
subtitle_stream_id : 0 / 0 / 0 / 0
page_id : 1 / 1 / 1 / 1
region_id : 0 / 1 / 2 / 3
region_horizontal_address : 0 / 0
region_vertical_address : 461 / 503
region_width : 720 / 720 / 720 / 720
region_height : 42 / 42 / 42 / 42
region_depth : 4 / 4 / 4 / 4

Other
Count : 113
Count of stream of this kind : 1
Kind of stream : Other
Kind of stream : Other
Stream identifier : 0
ID : 576-100
ID : 576 (0x240)-100
Menu ID : 1040
Menu ID : 1040 (0x410)
Format : Teletext
Commercial name : Teletext
Language : no
Language : Norwegian
Language : Norwegian
Language : no
Language : nor
Language : no

Menu
Count : 94
Count of stream of this kind : 1
Kind of stream : Menu
Kind of stream : Menu
Stream identifier : 0
StreamOrder : 1
ID : 257
ID : 257 (0x101)
Menu ID : 1040
Menu ID : 1040 (0x410)
Format : AVC / MPEG Audio / AC-3 / DVB Subtitle / DVB Subtitle / Teletext
Commercial name : AVC / MPEG Audio / AC-3 / DVB Subtitle / DVB Subtitle / Teletext
Codec : AVC / MPA1L2 / AC3 / DVB Subtitle / DVB Subtitle / Teletext
Codec : AVC / MPA1L2 / AC3 / DVB Subtitle / DVB Subtitle / Teletext
Duration : 46618.410156
Duration : 46 s 618 ms
Duration : 46 s 618 ms
Duration : 46 s 618 ms
Duration : 00:00:46.618
Duration : 00:00:46.618
Delay : 72167158.888889
Delay : 20 h 2 min
Delay : 20 h 2 min 47 s 159 ms
Delay : 20 h 2 min
Delay : 20:02:47.159
List_StreamKind : 1 / 2 / 2 / 3 / 3 / 4
List_StreamPos : 0 / 0 / 1 / 0 / 1 / 0
List : 513 / 644 / 645 / 602 / 603 / 576-100
List : 513 (0x201) (AVC) / 644 (0x284) (MPEG Audio, Norwegian) / 645 (0x285) (AC-3, Norwegian) / 602 (0x25A) (DVB Subtitle, Norwegian) / 603 (0x25B) (DVB Subtitle, Norwegian) / 576 (0x240)-100 (Teletext, no)
Language : / no / no / no / no / no
Language : / Norwegian / Norwegian / Norwegian / Norwegian / Norwegian
Language : / Norwegian / Norwegian / Norwegian / Norwegian / Norwegian
Language : / no / no / no / no / no
Language : / nor / nor / nor / nor / nor
Language : / no / no / no / no / no
pointer_field : 0
section_length : 91
fedeaffedaffe
Posts: 11
Joined: Tue Oct 31, 2017 9:40 am

Re: Mediafile/Video skipping when transcoding

Post by fedeaffedaffe »

Hope this helps :)
The .txt file is advanced mode "details -0" and the .png file is with "details -10", for some reason I can seem to display the later in txt mode.

Kind Regards,
Bjarke
Attachments
mediainfo.png
mediainfo.png (389.55 KiB) Viewed 12459 times
mediainfo.txt
(12.97 KiB) Downloaded 332 times
User avatar
Sami32
Posts: 851
Joined: Mon Apr 11, 2016 5:09 am

Re: Mediafile/Video skipping when transcoding

Post by Sami32 »

Yes, thanks ;)
I saw 2 things that could be at the origin of your synchro issue, so give some time and i'll post a test build for you.
User avatar
Sami32
Posts: 851
Joined: Mon Apr 11, 2016 5:09 am

Re: Mediafile/Video skipping when transcoding

Post by Sami32 »

Could you post a link for download your little sample that give you synchro issue, so that i can try to reproduce it ?
Thank you for you understanding.
Last edited by Sami32 on Sun Nov 19, 2017 4:19 am, edited 2 times in total.
fedeaffedaffe
Posts: 11
Joined: Tue Oct 31, 2017 9:40 am

Re: Mediafile/Video skipping when transcoding

Post by fedeaffedaffe »

Hi again :)

Thanks for all your efforts.
I think I will try some other DLNA streamers and see how that works.
If indeed you are right, then I should be able to produce the problem on other software streamers too.
And if that is the case, then it must be the media files that must be the root to my problems.
I guess I've always had this problem, though the PS3 Media Server didn't "skip" but produced A/V out of sync issue instead.
Is there any other DLNA streamers you would recommend ?

Thanks again for your time and efforts,
Kind regards,
Bjarke
Post Reply