Jump to content

Live TV dropping frames


robkingutah1

Recommended Posts

robkingutah1

Not sure what happened to my other post but here is a new one with part of the log file also. The issue is my source frame rate is being changed by the transcode slowing motion down to slow a frame rate other then that everything works great. Any help please ?

C:\Users\Steve\AppData\Roaming\MediaBrowser-Server\ffmpeg\20140612\ffmpeg.exe -fflags +genpts -async 1 -vsync -1 -re -i file:"C:\Users\Public\Recorded TV\TempSWMC\LiveTV_MediaBrowser^2_Digital Cable_668_2014_08_22_16_01_11.ts" -map_metadata -1 -threads 0 -sn -codec:v:0 libx264 -preset superfast -crf 23 -maxrate 4700000 -bufsize 9400000 -r 23.97602 -vsync vfr -profile:v high -level 4.0 -force_key_frames expr:gte(t,n_forced*5) -vf "yadif=0:-1:0,scale=trunc(min(iw\,1920)/2)*2:trunc(min((iw/dar)\,1080)/2)*2" -sc_threshold 0 -codec:a:0 aac -strict experimental -ac 2 -ab 128000 -af "adelay=1,aresample=async=1000,volume=2" -hls_time 5 -start_number 0 -hls_list_size 100 -y "C:\Users\Steve\AppData\Roaming\MediaBrowser-Server\transcoding-temp\68f8d9cc89f4b2418c7502a753cb77c8.m3u8"ffmpeg version N-63911-g3a1c895 Copyright (c) 2000-2014 the FFmpeg developers  built on Jun 11 2014 22:01:49 with gcc 4.8.2 (GCC)  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-decklink --enable-zlib  libavutil      52. 89.100 / 52. 89.100  libavcodec     55. 66.100 / 55. 66.100  libavformat    55. 43.100 / 55. 43.100  libavdevice    55. 13.101 / 55. 13.101  libavfilter     4.  8.100 /  4.  8.100  libswscale      2.  6.100 /  2.  6.100  libswresample   0. 19.100 /  0. 19.100  libpostproc    52.  3.100 / 52.  3.100[mpeg2video @ 028326c0] Invalid frame dimensions 0x0.    Last message repeated 2 times[mpegts @ 0294e6e0] DTS 346590 < 349560 out of order[mpeg2video @ 028326c0] Invalid frame dimensions 0x0.    Last message repeated 4 times[mpegts @ 0294e6e0] PES packet size mismatchInput #0, mpegts, from 'file:C:\Users\Public\Recorded TV\TempSWMC\LiveTV_MediaBrowser^2_Digital Cable_668_2014_08_22_16_01_11.ts':  Duration: 00:00:02.74, start: 3.147000, bitrate: 8805 kb/s  Program 1     Stream #0:0[0x1100](eng): Audio: ac3 ([129][0][0][0] / 0x0081), 48000 Hz, 5.1(side), fltp, 448 kb/s    Stream #0:1[0x1011]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p(tv), 1280x720 [SAR 1:1 DAR 16:9], max. 25000 kb/s, 59.94 fps, 60 tbr, 90k tbn, 119.88 tbc-async is forwarded to lavfi similarly to -af aresample=async=1:min_hard_comp=0.100000:first_pts=0.[libx264 @ 0294a820] using SAR=1/1[libx264 @ 0294a820] using cpu capabilities: MMX2 SSE2Fast LZCNT[libx264 @ 0294a820] profile High, level 4.0Output #0, hls, to 'C:\Users\Steve\AppData\Roaming\MediaBrowser-Server\transcoding-temp\68f8d9cc89f4b2418c7502a753cb77c8.m3u8':  Metadata:    encoder         : Lavf55.43.100    Stream #0:0: Video: h264 (libx264), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], q=-1--1, max. 4700 kb/s, 23.98 fps, 90k tbn, 23.98 tbc    Metadata:      encoder         : Lavc55.66.100 libx264    Stream #0:1: Audio: aac, 48000 Hz, stereo, fltp, 128 kb/s    Metadata:      encoder         : Lavc55.66.100 aacStream mapping:  Stream #0:1 -> #0:0 (mpeg2video (native) -> h264 (libx264))  Stream #0:0 -> #0:1 (ac3 (native) -> aac (aac))Press [q] to stop, [?] for helpframe=    0 fps=0.0 q=0.0 size=N/A time=00:00:00.00 bitrate=N/A    frame=    6 fps=6.0 q=0.0 size=N/A time=00:00:00.27 bitrate=N/A dup=0 drop=5    frame=   18 fps= 12 q=27.0 size=N/A time=00:00:00.95 bitrate=N/A dup=0 drop=23    frame=   30 fps= 15 q=27.0 size=N/A time=00:00:01.45 bitrate=N/A dup=0 drop=42    frame=   42 fps= 17 q=23.0 size=N/A time=00:00:01.96 bitrate=N/A dup=0 drop=58    frame=   54 fps= 18 q=25.0 size=N/A time=00:00:02.46 bitrate=N/A dup=0 drop=77    frame=   66 fps= 19 q=24.0 size=N/A time=00:00:02.96 bitrate=N/A dup=0 drop=95    frame=   78 fps= 19 q=24.0 size=N/A time=00:00:03.46 bitrate=N/A dup=0 drop=113    frame=   90 fps= 20 q=25.0 size=N/A time=00:00:03.96 bitrate=N/A dup=0 drop=131    frame=  102 fps= 20 q=25.0 size=N/A time=00:00:04.46 bitrate=N/A dup=0 drop=149    frame=  114 fps= 21 q=26.0 size=N/A time=00:00:04.96 bitrate=N/A dup=0 drop=167    frame=  125 fps= 21 q=24.0 size=N/A time=00:00:05.42 bitrate=N/A dup=0 drop=183    frame=  138 fps= 21 q=26.0 size=N/A time=00:00:05.96 bitrate=N/A dup=0 drop=203    frame=  150 fps= 21 q=26.0 size=N/A time=00:00:06.46 bitrate=N/A dup=0 drop=221    frame=  162 fps= 22 q=26.0 size=N/A time=00:00:06.96 bitrate=N/A dup=0 drop=239    frame=  174 fps= 22 q=26.0 size=N/A time=00:00:07.46 bitrate=N/A dup=0 drop=257    frame=  186 fps= 22 q=25.0 size=N/A time=00:00:07.96 bitrate=N/A dup=0 drop=275    frame=  198 fps= 22 q=26.0 size=N/A time=00:00:08.46 bitrate=N/A dup=0 drop=292    frame=  210 fps= 22 q=26.0 size=N/A time=00:00:08.96 bitrate=N/A dup=0 drop=311    frame=  222 fps= 22 q=24.0 size=N/A time=00:00:09.46 bitrate=N/A dup=0 drop=329    frame=  234 fps= 22 q=28.0 size=N/A time=00:00:09.96 bitrate=N/A dup=0 drop=346    frame=  246 fps= 22 q=27.0 size=N/A time=00:00:10.46 bitrate=N/A dup=0 drop=364    frame=  258 fps= 22 q=24.0 size=N/A time=00:00:10.96 bitrate=N/A dup=0 drop=382    frame=  270 fps= 22 q=24.0 size=N/A time=00:00:11.46 bitrate=N/A dup=0 drop=401    frame=  282 fps= 23 q=24.0 size=N/A time=00:00:11.97 bitrate=N/A dup=0 drop=419    frame=  294 fps= 23 q=24.0 size=N/A time=00:00:12.47 bitrate=N/A dup=0 drop=436    frame=  306 fps= 23 q=24.0 size=N/A time=00:00:12.97 bitrate=N/A dup=0 drop=455    frame=  318 fps= 23 q=24.0 size=N/A time=00:00:13.47 bitrate=N/A dup=0 drop=472    frame=  330 fps= 23 q=24.0 size=N/A time=00:00:13.97 bitrate=N/A dup=0 drop=490    frame=  342 fps= 23 q=24.0 size=N/A time=00:00:14.47 bitrate=N/A dup=0 drop=508    frame=  354 fps= 23 q=23.0 size=N/A time=00:00:14.97 bitrate=N/A dup=0 drop=527    frame=  366 fps= 23 q=22.0 size=N/A time=00:00:15.47 bitrate=N/A dup=0 drop=545    frame=  378 fps= 23 q=22.0 size=N/A time=00:00:15.97 bitrate=N/A dup=0 drop=563    frame=  390 fps= 23 q=22.0 size=N/A time=00:00:16.47 bitrate=N/A dup=0 drop=581    frame=  402 fps= 23 q=21.0 size=N/A time=00:00:16.97 bitrate=N/A dup=0 drop=599    frame=  414 fps= 23 q=22.0 size=N/A time=00:00:17.47 bitrate=N/A dup=0 drop=616    frame=  426 fps= 23 q=22.0 size=N/A time=00:00:17.97 bitrate=N/A dup=0 drop=635    frame=  437 fps= 23 q=24.0 size=N/A time=00:00:18.43 bitrate=N/A dup=0 drop=652    frame=  450 fps= 23 q=22.0 size=N/A time=00:00:18.97 bitrate=N/A dup=0 drop=670    frame=  462 fps= 23 q=21.0 size=N/A time=00:00:19.47 bitrate=N/A dup=0 drop=689    frame=  474 fps= 23 q=22.0 size=N/A time=00:00:19.97 bitrate=N/A dup=0 drop=707    frame=  486 fps= 23 q=20.0 size=N/A time=00:00:20.47 bitrate=N/A dup=0 drop=724    frame=  498 fps= 23 q=19.0 size=N/A time=00:00:20.97 bitrate=N/A dup=0 drop=742    frame=  510 fps= 23 q=21.0 size=N/A time=00:00:21.47 bitrate=N/A dup=0 drop=760    frame=  522 fps= 23 q=20.0 size=N/A time=00:00:21.98 bitrate=N/A dup=0 drop=778    frame=  533 fps= 23 q=20.0 size=N/A time=00:00:22.43 bitrate=N/A dup=0 drop=796    frame=  546 fps= 23 q=20.0 size=N/A time=00:00:22.98 bitrate=N/A dup=0 drop=814    frame=  558 fps= 23 q=20.0 size=N/A time=00:00:23.48 bitrate=N/A dup=0 drop=832    frame=  570 fps= 23 q=22.0 size=N/A time=00:00:23.98 bitrate=N/A dup=0 drop=850    frame=  581 fps= 23 q=24.0 size=N/A time=00:00:24.44 bitrate=N/A dup=0 drop=867    frame=  594 fps= 23 q=20.0 size=N/A time=00:00:24.98 bitrate=N/A dup=0 drop=886    frame=  606 fps= 23 q=19.0 size=N/A time=00:00:25.48 bitrate=N/A dup=0 drop=905    frame=  618 fps= 23 q=23.0 size=N/A time=00:00:25.98 bitrate=N/A dup=0 drop=923    frame=  630 fps= 23 q=23.0 size=N/A time=00:00:26.48 bitrate=N/A dup=0 drop=940    frame=  642 fps= 23 q=20.0 size=N/A time=00:00:26.98 bitrate=N/A dup=0 drop=958    frame=  654 fps= 23 q=18.0 size=N/A time=00:00:27.48 bitrate=N/A dup=0 drop=977    frame=  666 fps= 23 q=19.0 size=N/A time=00:00:27.98 bitrate=N/A dup=0 drop=995    frame=  678 fps= 23 q=22.0 size=N/A time=00:00:28.48 bitrate=N/A dup=0 drop=1013    frame=  690 fps= 23 q=23.0 size=N/A time=00:00:28.98 bitrate=N/A dup=0 drop=1030    frame=  702 fps= 23 q=21.0 size=N/A time=00:00:29.48 bitrate=N/A dup=0 drop=1048    frame=  714 fps= 23 q=24.0 size=N/A time=00:00:29.98 bitrate=N/A dup=0 drop=1066    frame=  726 fps= 23 q=19.0 size=N/A time=00:00:30.48 bitrate=N/A dup=0 drop=1085    frame=  738 fps= 23 q=19.0 size=N/A time=00:00:30.98 bitrate=N/A dup=0 drop=1103    frame=  750 fps= 23 q=22.0 size=N/A time=00:00:31.48 bitrate=N/A dup=0 drop=1121    frame=  762 fps= 23 q=22.0 size=N/A time=00:00:31.99 bitrate=N/A dup=0 drop=1139    frame=  774 fps= 23 q=18.0 size=N/A time=00:00:32.49 bitrate=N/A dup=0 drop=1156    frame=  786 fps= 23 q=23.0 size=N/A time=00:00:32.99 bitrate=N/A dup=0 drop=1174    frame=  798 fps= 23 q=20.0 size=N/A time=00:00:33.49 bitrate=N/A dup=0 drop=1192    frame=  810 fps= 23 q=20.0 size=N/A time=00:00:33.99 bitrate=N/A dup=0 drop=1210    frame=  822 fps= 23 q=22.0 size=N/A time=00:00:34.49 bitrate=N/A dup=0 drop=1228    frame=  834 fps= 23 q=22.0 size=N/A time=00:00:34.99 bitrate=N/A dup=0 drop=1246    frame=  846 fps= 23 q=23.0 size=N/A time=00:00:35.49 bitrate=N/A dup=0 drop=1265    frame=  858 fps= 23 q=21.0 size=N/A time=00:00:35.99 bitrate=N/A dup=0 drop=1283    frame=  870 fps= 23 q=20.0 size=N/A time=00:00:36.49 bitrate=N/A dup=0 drop=1301    frame=  882 fps= 24 q=19.0 size=N/A time=00:00:36.99 bitrate=N/A dup=0 drop=1319    frame=  894 fps= 24 q=22.0 size=N/A time=00:00:37.49 bitrate=N/A dup=0 drop=1336    frame=  905 fps= 23 q=24.0 size=N/A time=00:00:37.95 bitrate=N/A dup=0 drop=1353    frame=  918 fps= 24 q=23.0 size=N/A time=00:00:38.49 bitrate=N/A dup=0 drop=1373    frame=  930 fps= 24 q=23.0 size=N/A time=00:00:38.99 bitrate=N/A dup=0 drop=1391    frame=  942 fps= 24 q=24.0 size=N/A time=00:00:39.49 bitrate=N/A dup=0 drop=1409    frame=  954 fps= 24 q=24.0 size=N/A time=00:00:39.99 bitrate=N/A dup=0 drop=1427    frame=  966 fps= 24 q=23.0 size=N/A time=00:00:40.49 bitrate=N/A dup=0 drop=1445    frame=  978 fps= 24 q=22.0 size=N/A time=00:00:40.99 bitrate=N/A dup=0 drop=1462    frame=  990 fps= 24 q=23.0 size=N/A time=00:00:41.49 bitrate=N/A dup=0 drop=1481    frame= 1002 fps= 24 q=25.0 size=N/A time=00:00:42.00 bitrate=N/A dup=0 drop=1499    frame= 1014 fps= 24 q=25.0 size=N/A time=00:00:42.50 bitrate=N/A dup=0 drop=1517    frame= 1026 fps= 24 q=24.0 size=N/A time=00:00:43.00 bitrate=N/A dup=0 drop=1535    frame= 1038 fps= 24 q=24.0 size=N/A time=00:00:43.50 bitrate=N/A dup=0 drop=1553    frame= 1050 fps= 24 q=24.0 size=N/A time=00:00:44.00 bitrate=N/A dup=0 drop=1571    frame= 1062 fps= 24 q=25.0 size=N/A time=00:00:44.50 bitrate=N/A dup=0 drop=1589    frame= 1074 fps= 24 q=23.0 size=N/A time=00:00:45.00 bitrate=N/A dup=0 drop=1607    frame= 1086 fps= 24 q=21.0 size=N/A time=00:00:45.50 bitrate=N/A dup=0 drop=1625    frame= 1098 fps= 24 q=21.0 size=N/A time=00:00:46.00 bitrate=N/A dup=0 drop=1643    frame= 1110 fps= 24 q=23.0 size=N/A time=00:00:46.50 bitrate=N/A dup=0 drop=1661    
Link to comment
Share on other sites

JeremyFr79

Looks like a hardware issue, most likely your cpu isn't up to the task of transcoding the stream, log is indicating a low frame rate and lots of dropped frames.  What CPU are you using for your server?

Link to comment
Share on other sites

robkingutah1

At present it's a amd quad core just orded a new motherboard and an i7.

 

It looked to me as if it was setting the frame rate as 23.97 from the get go if you look towards the top in the ffmpeg instructions there's a -r 23.97

 

Is there a way to change this to say 29.97 or 59.97?

 

Thanks

Link to comment
Share on other sites

robkingutah1

Looks like a hardware issue, most likely your cpu isn't up to the task of transcoding the stream, log is indicating a low frame rate and lots of dropped frames.  What CPU are you using for your server?

So i finally changed out the hardware new motherboard proccessor and SSD. Fresh install latest version now have a Core i7 4.0ghz CPU Usage is pretty low no more then 20%. I am still having frame rate problems and dropped frames log still looks like the one above where does it not keep source frame rate? ffmpeg is telling it to do 24fps should be 29.97 or 50.94 depending on channel selected. Driving me crazy don"t know what else to do. Any more input really appreciated.

 

thanks,

 

Robert

Link to comment
Share on other sites

JeremyFr79

So I'm seeing your source is 59.95 FPS which is standard 60hz TV, BUT for some reason the transcoder is converting it to 23.98fps (which isn't correct 24p, 24p would be 23.97) however that means that just in transcoding alone it would be dropping just over half the frames which won't play right no matter what.  I'm not sure why it would be doing that UNLESS you have the output of the playback device you're using set for 24p even then I don't think MBS is smart enough to see what the output refresh rate of your playback device is, This unfortunately best looked at by some of the developers.  An I7 should have no problem doing this transcode.  It appears to me that the transcoder is incorrectly downconverting the refresh rate.

Link to comment
Share on other sites

Happy2Play

What client is transcoding your video?  Do you know if you are using a DLNA profile?

Link to comment
Share on other sites

robkingutah1

running on a roku and on my pc through the web client to watch. serverWMC and MediaBrowser 3 is what im using for backend and server using with comcast cable DLNA is disabled

 

im just not understanding why in the ffmpeg instructions it setting that low frame rate instead of taking from the source which is 29.97 for 59.94 depending on channel coming from being 720p or 1080i

Edited by robkingutah1
Link to comment
Share on other sites

robkingutah1

here is a new log after the upgrades different channel same problem source frame rate is 29.97 on this one dropped to 23.98 by ffmpeg -r flag

C:\Users\Steve\AppData\Roaming\MediaBrowser-Server\ffmpeg\20140612\ffmpeg.exe -fflags +genpts -async 1 -vsync -1 -re -i file:"\\BOXEE\Users\Public\Recorded TV\TempSWMC\LiveTV_MediaBrowser@BOXEE-5_Digital Cable_701_2014_08_24_01_45_17.ts" -sn -vcodec libvpx -force_key_frames expr:gte(t,n_forced*5) -vf "yadif=0:-1:0,scale=min(iw\,1280):trunc(ow/dar/2)*2" -speed 16 -quality good -profile:v 0 -slices 8 -crf 4 -maxrate:v 3872000 -bufsize:v (3872000*2) -b:v 3872000 -r 23.97602 -vsync vfr -map_metadata -1 -threads 7 -acodec libvorbis -ac 2 -ab 128000 -af "aresample=async=1000,volume=2" -y "\\BOXEE\Users\Public\Recorded TV\cbee8b1205731092e0b9cf850e5afe16.webm"ffmpeg version N-63911-g3a1c895 Copyright (c) 2000-2014 the FFmpeg developers  built on Jun 11 2014 22:01:49 with gcc 4.8.2 (GCC)  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-decklink --enable-zlib  libavutil      52. 89.100 / 52. 89.100  libavcodec     55. 66.100 / 55. 66.100  libavformat    55. 43.100 / 55. 43.100  libavdevice    55. 13.101 / 55. 13.101  libavfilter     4.  8.100 /  4.  8.100  libswscale      2.  6.100 /  2.  6.100  libswresample   0. 19.100 /  0. 19.100  libpostproc    52.  3.100 / 52.  3.100[mpeg2video @ 0490fc00] Invalid frame dimensions 0x0.    Last message repeated 5 times[mpegts @ 0490f160] DTS 242640 < 248580 out of order[mpeg2video @ 0490fc00] Invalid frame dimensions 0x0.    Last message repeated 16 times[mpegts @ 0490f160] PES packet size mismatchInput #0, mpegts, from 'file:\\BOXEE\Users\Public\Recorded TV\TempSWMC\LiveTV_MediaBrowser@BOXEE-5_Digital Cable_701_2014_08_24_01_45_17.ts':  Duration: 00:00:02.73, start: 2.140000, bitrate: 8946 kb/s  Program 1     Stream #0:0[0x1100](eng): Audio: ac3 ([129][0][0][0] / 0x0081), 48000 Hz, 5.1(side), fltp, 384 kb/s    Stream #0:1[0x1011]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p(tv), 1920x1080 [SAR 1:1 DAR 16:9], max. 24000 kb/s, 29.97 fps, 60 tbr, 90k tbn, 59.94 tbc-async is forwarded to lavfi similarly to -af aresample=async=1:min_hard_comp=0.100000:first_pts=0.[libvpx @ 05030020] v1.3.0Output #0, webm, to '\\BOXEE\Users\Public\Recorded TV\cbee8b1205731092e0b9cf850e5afe16.webm':  Metadata:    encoder         : Lavf55.43.100    Stream #0:0: Video: vp8 (libvpx), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], q=-1--1, 3872 kb/s, 23.98 fps, 1k tbn, 23.98 tbc    Metadata:      encoder         : Lavc55.66.100 libvpx    Stream #0:1: Audio: vorbis (libvorbis), 48000 Hz, stereo, fltp, 128 kb/s    Metadata:      encoder         : Lavc55.66.100 libvorbisStream mapping:  Stream #0:1 -> #0:0 (mpeg2video (native) -> vp8 (libvpx))  Stream #0:0 -> #0:1 (ac3 (native) -> vorbis (libvorbis))Press [q] to stop, [?] for helpframe=    0 fps=0.0 q=0.0 size=       5kB time=00:00:00.00 bitrate=N/A    frame=    0 fps=0.0 q=0.0 size=       5kB time=00:00:00.40 bitrate=  94.7kbits/s    frame=    9 fps=6.0 q=0.0 size=      17kB time=00:00:01.58 bitrate=  87.5kbits/s    frame=   21 fps= 10 q=0.0 size=      21kB time=00:00:02.08 bitrate=  83.3kbits/s dup=0 drop=3    frame=   33 fps= 13 q=0.0 size=      44kB time=00:00:02.58 bitrate= 138.1kbits/s dup=0 drop=6    frame=   45 fps= 15 q=0.0 size=     210kB time=00:00:03.08 bitrate= 558.0kbits/s dup=0 drop=9    frame=   56 fps= 16 q=0.0 size=     363kB time=00:00:03.54 bitrate= 838.9kbits/s dup=0 drop=9    frame=   69 fps= 17 q=0.0 size=     685kB time=00:00:04.08 bitrate=1372.8kbits/s dup=0 drop=9    frame=   81 fps= 18 q=0.0 size=    1219kB time=00:00:04.58 bitrate=2177.0kbits/s dup=0 drop=10    frame=   93 fps= 19 q=0.0 size=    1411kB time=00:00:05.08 bitrate=2270.6kbits/s dup=0 drop=10    frame=  105 fps= 19 q=0.0 size=    1652kB time=00:00:05.58 bitrate=2421.3kbits/s dup=0 drop=10    frame=  117 fps= 19 q=0.0 size=    1782kB time=00:00:06.09 bitrate=2396.8kbits/s dup=0 drop=10    frame=  129 fps= 20 q=0.0 size=    2084kB time=00:00:06.58 bitrate=2591.5kbits/s dup=0 drop=10    frame=  141 fps= 20 q=0.0 size=    2396kB time=00:00:07.09 bitrate=2768.3kbits/s dup=0 drop=13    frame=  153 fps= 20 q=0.0 size=    2681kB time=00:00:07.59 bitrate=2893.6kbits/s dup=0 drop=14    frame=  165 fps= 21 q=0.0 size=    2987kB time=00:00:08.09 bitrate=3023.9kbits/s dup=0 drop=14    frame=  178 fps= 21 q=0.0 size=    3192kB time=00:00:08.63 bitrate=3028.3kbits/s dup=0 drop=14    frame=  190 fps= 21 q=0.0 size=    3349kB time=00:00:09.13 bitrate=3003.9kbits/s dup=0 drop=14    frame=  202 fps= 21 q=0.0 size=    3620kB time=00:00:09.63 bitrate=3078.0kbits/s dup=0 drop=14    frame=  213 fps= 21 q=0.0 size=    3821kB time=00:00:10.09 bitrate=3100.8kbits/s dup=0 drop=14    frame=  226 fps= 21 q=0.0 size=    4027kB time=00:00:10.63 bitrate=3101.8kbits/s dup=0 drop=14    frame=  238 fps= 22 q=0.0 size=    4315kB time=00:00:11.13 bitrate=3174.3kbits/s dup=0 drop=14    frame=  250 fps= 22 q=0.0 size=    4544kB time=00:00:11.63 bitrate=3199.1kbits/s dup=0 drop=14    frame=  259 fps= 21 q=0.0 size=    4737kB time=00:00:12.01 bitrate=3230.7kbits/s dup=0 drop=14    frame=  274 fps= 22 q=0.0 size=    4958kB time=00:00:12.63 bitrate=3214.1kbits/s dup=0 drop=14    frame=  286 fps= 22 q=0.0 size=    5188kB time=00:00:13.13 bitrate=3234.9kbits/s dup=0 drop=14    frame=  298 fps= 22 q=0.0 size=    5564kB time=00:00:13.63 bitrate=3341.7kbits/s dup=0 drop=14    frame=  310 fps= 22 q=0.0 size=    5841kB time=00:00:14.13 bitrate=3384.2kbits/s dup=0 drop=14    frame=  322 fps= 22 q=0.0 size=    6012kB time=00:00:14.64 bitrate=3364.3kbits/s dup=0 drop=14    frame=  334 fps= 22 q=0.0 size=    6167kB time=00:00:15.14 bitrate=3336.9kbits/s dup=0 drop=14    frame=  336 fps= 22 q=0.0 Lsize=    6573kB time=00:00:15.22 bitrate=3536.9kbits/s dup=0 drop=14    video:6357kB audio:200kB subtitle:0kB other streams:0kB global headers:4kB muxing overhead: 0.242686%
Link to comment
Share on other sites

robkingutah1

Is there a work around or manual edit I can do for now maybe editing the ffmpeg options ? It's driving me crazy to juddering slow motion to really use right now

Link to comment
Share on other sites

  • 2 weeks later...
farside847

Hi all!

 

I have setup my live TV and trying playback through the web client and a few roku3's. Everything seems to work well, except I am noticing some frame skipping in the video playback. The video does not stop or show the buffer screen. But the frame rate drop is especially noticeable when watching live football, or looking at the scrollbar on ESPN.

 

I will attach the log file. If I am reading this right it looks like the source is 59fps and the output is 23fps and there seem to be a huge amount of dropped frames. Is this normal for this kind of live transcode? Is there anyway to improve it?

 

thank you in advance for any help!

 

More details:

 - MB server Version 3.0.5347.22095

 - serverWMC version 1.0.0.39 build 1162

 - tuner HDHR3-CC

 - server i7 win7 system with 8gb ram and 5400rpm HD

 - roku player version 1.52,

 - and web browser (Chrome on a Win 7 PC)

 - everything has a wired connection, no wireless

 - playback via Windows Media Center is perfect

 - I have tried changing the encoding settings to Auto, High Speed, and Max Quality on server

 - I have tried 20mb/s and 3mb/s on the roku3 (it has a wired connection)

 - I have tried 10mb/s and 3mb/s on the browser player

 - I have updated my server with all windows updates

 

 

transcode.txt

Link to comment
Share on other sites

overClocked!

The client quality settings will not affect this because of the -r option being added to the ffmpeg command line that is forcing the low, constant frame rate in your LiveTV stream. It will drop frames to achieve the target 23.97602 fps rate, which is what shows up in your transcode log.

 

See this thread to see how a couple of us dealt with it: http://mediabrowser.tv/community/index.php?/topic/9947-comcast-cable-and-live-tv-windows-server/

 

Basically, it's a bug in 3.0.5347.22095 that will be fixed in the next stable release. In the meantime, we reverted back to a previous version (3.0.5309.26857) of MBS that doesn't force the frame rate on the stream. Works great again.

Link to comment
Share on other sites

farside847

Just thought I would check in and see if anyone knew of a way to change the encoding settings. I would love to try 29fps to see if it improves things. Also is there a way to use handbrake to Transco De live tv?

 

Thanks!

Link to comment
Share on other sites

overClocked!

Just thought I would check in and see if anyone knew of a way to change the encoding settings. I would love to try 29fps to see if it improves things. Also is there a way to use handbrake to Transco De live tv?

Thanks!

Not directly. Only way we could overcome this was to rollback either with Windows System Restore, or by using the C:\Users\USERNAME\AppData\Roaming\MediaBrowser-Server\System.old folder to restore your previous server version (assuming it was working properly in that version).
Link to comment
Share on other sites

farside847

Thanks for the reply!!!

 

Sadly, this is a new install and I do not have previous versions to revert to. I will anxiously wait for the next release :)

Link to comment
Share on other sites

Also interested in this. To be clear, if I'm streaming a 60FPS live TV stream via HDHomeRun Prime -> WMC -> ServerWMC -> MB3 Server -> Roku 3 will it be transcoded at 60FPS? Because that's exactly what I want. I watch a lot of fast-action sports that are basically unwatchable at ~24FPS.

 

I have an overclocked i5-2500K, wired gigabit LAN, etc. so there should not be any bandwidth/CPU constraint.

 

Also just wanted to drop a line to say thanks, that this is even possible is truly amazing. You rock MB team!

Edited by blah238
Link to comment
Share on other sites

farside847

Also interested in this. To be clear, if I'm streaming a 60FPS live TV stream via HDHomeRun Prime -> WMC -> ServerWMC -> MB3 Server -> Roku 3 will it be transcoded at 60FPS? Because that's exactly what I want. I watch a lot of fast-action sports that are basically unwatchable at ~24FPS.

 

I have an overclocked i5-2500K, wired gigabit LAN, etc. so there should not be any bandwidth/CPU constraint.

 

Also just wanted to drop a line to say thanks, that this is even possible is truly amazing. You rock MB team!

 

Does the roku support 60fps?

Link to comment
Share on other sites

farside847

Just thought I would close off on this issue. Updated server last night to the latest version and live TV looks MUCH better :)

 

Will give it a good test this weekend with some live football :)

 

Thanks everyone!

Link to comment
Share on other sites

overClocked!

Just thought I would close off on this issue. Updated server last night to the latest version and live TV looks MUCH better :)

Will give it a good test this weekend with some live football :)

Thanks everyone!

Updated yesterday to Version 3.0.5366.22005 and can confirm the frame rate dropping problem has been eliminated.

 

Watched the Steelers and Ravens last night and it was perfect!

 

Set a Windows System Restore Point and backed up the C:\Users\USERNAME\AppData\Roaming\MediaBrowser-Server\System folder because this release is a darned good one!

Link to comment
Share on other sites

farside847

I watched some 9ers yesterday (painful game) and playback is MUCH better. But....

 

Most live sports are 58, 59, 60fps and the roku only handles 30fps. The picture quality is awesome but there is a noticeable quality drop during fast action. I have read that there are encoding methods that can smooth out a conversion from 60fps.

 

Does anyone think it would be possible to improve the smoothness by changing how the stream is encoded?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...