Page 2 of 3

Re: Compatible transcoding for Xbox 360

Posted: Wed Apr 17, 2013 11:26 am
by barnito
I always keep the latest FFMPEG installed from here... http://ffmpeg.zeranoe.com/builds/ x64 works on PMS 1.72

Re: Compatible transcoding for Xbox 360

Posted: Wed Apr 17, 2013 12:39 pm
by SubJunk
OK. Please post logs from PMS 1.72 and UMS 2.6.1 so that I can compare them

Re: Compatible transcoding for Xbox 360

Posted: Wed Apr 17, 2013 4:22 pm
by barnito
ok, PMS 1.72 buffer fills in less than 5 seconds, usually before the 360 gets past the "opening" message, playing fine: http://pastebin.com/KkShR294

UMS 2.6.1 with the buffer never getting above 1-2 MB stuttering: http://pastebin.com/XM5ai7LS

Re: Compatible transcoding for Xbox 360

Posted: Wed Apr 17, 2013 5:30 pm
by SubJunk
Hmm OK I think I see what it is now. Can you please try this version, and please try with both MEncoder and FFmpeg: http://www.spirton.com/uploads/UMS/UMS-barnito-2.exe

Re: Compatible transcoding for Xbox 360

Posted: Wed Apr 17, 2013 6:00 pm
by barnito
testing now

Re: Compatible transcoding for Xbox 360

Posted: Wed Apr 17, 2013 6:10 pm
by barnito
ok, now all the videos that need transcoding are gone, just shows other files and an empty transcode folder...

Videos that don't require transcode play fine

Re: Compatible transcoding for Xbox 360

Posted: Wed Apr 17, 2013 7:17 pm
by SubJunk
Cool, we're making progress. Please try this one http://www.spirton.com/uploads/UMS/UMS-barnito-3.exe and if it doesn't work please provide logs

Re: Compatible transcoding for Xbox 360

Posted: Wed Apr 17, 2013 7:31 pm
by barnito
unplayable content

Code: Select all

INFO  2013-04-17 03:29:25.286 [main] Starting Universal Media Server 3.0.0
INFO  2013-04-17 03:29:25.352 [main] Based on PS3 Media Server by shagrath, copyright 2008-2013
INFO  2013-04-17 03:29:25.357 [main] http://www.universalmediaserver.com
INFO  2013-04-17 03:29:25.360 [main] 
INFO  2013-04-17 03:29:25.360 [main] Build: a1fe721bc (2013-04-17)
INFO  2013-04-17 03:29:25.362 [main] Java: 1.7.0_17 - 64bit - Oracle Corporation
INFO  2013-04-17 03:29:25.365 [main] OS: Windows 7 64-bit 6.1
INFO  2013-04-17 03:29:25.366 [main] Encoding: UTF-8
INFO  2013-04-17 03:29:25.368 [main] Memory: 1137 MB
INFO  2013-04-17 03:29:25.368 [main] 
INFO  2013-04-17 03:29:25.369 [main] Working directory: C:\Program Files (x86)\Universal Media Server
INFO  2013-04-17 03:29:25.377 [main] Temp directory: C:\Users\JIMBAR~1\AppData\Local\Temp\universalmediaserver
INFO  2013-04-17 03:29:25.380 [main] Logging config file: C:\Program Files (x86)\Universal Media Server\logback.xml
INFO  2013-04-17 03:29:25.381 [main] debug.log: C:\Program Files (x86)\Universal Media Server\debug.log
INFO  2013-04-17 03:29:25.382 [main] 
INFO  2013-04-17 03:29:25.383 [main] Profile directory: C:\ProgramData\UMS
INFO  2013-04-17 03:29:25.383 [main] Profile path: C:\ProgramData\UMS\UMS.conf
INFO  2013-04-17 03:29:25.384 [main] Profile permissions: rw
INFO  2013-04-17 03:29:25.385 [main] Profile name: SERVER
INFO  2013-04-17 03:29:25.386 [main] 
INFO  2013-04-17 03:29:25.398 [main] Loading MediaInfo library
INFO  2013-04-17 03:29:25.513 [main] Loaded MediaInfoLib - v0.7.62
INFO  2013-04-17 03:29:25.519 [main] Loading renderer configurations from C:\Program Files (x86)\Universal Media Server\renderers
INFO  2013-04-17 03:29:25.520 [main] Loading configuration file: AirPlayer.conf
INFO  2013-04-17 03:29:25.529 [main] Loading configuration file: Android.conf
INFO  2013-04-17 03:29:25.533 [main] Loading configuration file: BlackBerryPlayBook-KalemSoftMP.conf
INFO  2013-04-17 03:29:25.540 [main] Loading configuration file: Bravia4500.conf
INFO  2013-04-17 03:29:25.544 [main] Loading configuration file: Bravia5500.conf
INFO  2013-04-17 03:29:25.548 [main] Loading configuration file: BraviaEX.conf
INFO  2013-04-17 03:29:25.572 [main] Loading configuration file: BraviaEX620.conf
INFO  2013-04-17 03:29:25.578 [main] Loading configuration file: BraviaHX.conf
INFO  2013-04-17 03:29:25.584 [main] Loading configuration file: DirecTVHR.conf
INFO  2013-04-17 03:29:25.586 [main] Loading configuration file: DLinkDSM510.conf
INFO  2013-04-17 03:29:25.589 [main] Loading configuration file: FreeboxHD.conf
INFO  2013-04-17 03:29:25.591 [main] Loading configuration file: FreecomMusicPal.conf
INFO  2013-04-17 03:29:25.593 [main] Loading configuration file: iPad-iPhone.conf
INFO  2013-04-17 03:29:25.596 [main] Loading configuration file: Kuro.conf
INFO  2013-04-17 03:29:25.599 [main] Loading configuration file: LGST600.conf
INFO  2013-04-17 03:29:25.603 [main] Loading configuration file: N900.conf
INFO  2013-04-17 03:29:25.606 [main] Loading configuration file: NetgearNeoTV.conf
INFO  2013-04-17 03:29:25.609 [main] Loading configuration file: OnkyoTX-NR717.conf
INFO  2013-04-17 03:29:25.610 [main] Loading configuration file: OPPOBDP83.conf
INFO  2013-04-17 03:29:25.612 [main] Loading configuration file: OPPOBDP93.conf
INFO  2013-04-17 03:29:25.614 [main] Loading configuration file: Panasonic.conf
INFO  2013-04-17 03:29:25.622 [main] Loading configuration file: Philips.conf
INFO  2013-04-17 03:29:25.624 [main] Loading configuration file: PhilipsPFL.conf
INFO  2013-04-17 03:29:25.630 [main] Loading configuration file: PopcornHour.conf
INFO  2013-04-17 03:29:25.632 [main] Loading configuration file: PS3.conf
INFO  2013-04-17 03:29:25.636 [main] Loading configuration file: Realtek.conf
INFO  2013-04-17 03:29:25.639 [main] Loading configuration file: Samsung-SMT-G7400.conf
INFO  2013-04-17 03:29:25.643 [main] Loading configuration file: SamsungAllShare.conf
INFO  2013-04-17 03:29:25.646 [main] Loading configuration file: SamsungWiseLink.conf
INFO  2013-04-17 03:29:25.648 [main] Loading configuration file: SharpAquos.conf
INFO  2013-04-17 03:29:25.651 [main] Loading configuration file: Showtime3.conf
INFO  2013-04-17 03:29:25.655 [main] Loading configuration file: Showtime4.conf
INFO  2013-04-17 03:29:25.658 [main] Loading configuration file: SMP-N100.conf
INFO  2013-04-17 03:29:25.662 [main] Loading configuration file: SonyBluray.conf
INFO  2013-04-17 03:29:25.665 [main] Loading configuration file: SonyHomeTheatreSystem.conf
INFO  2013-04-17 03:29:25.668 [main] Loading configuration file: Streamium.conf
INFO  2013-04-17 03:29:25.670 [main] Loading configuration file: TelstraTbox.conf
INFO  2013-04-17 03:29:25.671 [main] Loading configuration file: VideoWebTV.conf
INFO  2013-04-17 03:29:25.673 [main] Loading configuration file: VizioSmartTV.conf
INFO  2013-04-17 03:29:25.677 [main] Loading configuration file: WDTVLive.conf
INFO  2013-04-17 03:29:25.679 [main] Loading configuration file: WMP.conf
INFO  2013-04-17 03:29:25.681 [main] Loading configuration file: XBMC.conf
INFO  2013-04-17 03:29:25.683 [main] Loading configuration file: XBOX360.conf
INFO  2013-04-17 03:29:25.685 [main] Loading configuration file: YamahaRXA1010.conf
INFO  2013-04-17 03:29:25.687 [main] Loading configuration file: YamahaRXV3900.conf
INFO  2013-04-17 03:29:25.688 [main] Loading configuration file: YamahaRXV671.conf
INFO  2013-04-17 03:29:25.689 [main] Please wait while we check the MPlayer font cache, this can take a minute or so.
DEBUG 2013-04-17 03:29:25.690 [main] Launching: win32/mplayer.exe
DEBUG 2013-04-17 03:29:26.293 [main] Launching: win32/mplayer.exe
INFO  2013-04-17 03:29:26.440 [main] Finished checking the MPlayer font cache.
DEBUG 2013-04-17 03:29:26.449 [main] AviSynth plugins directory: C:\Program Files (x86)\AviSynth\plugins
INFO  2013-04-17 03:29:26.449 [main] VSFilter / DirectVobSub was not found. This can cause problems when trying to play subtitled videos with AviSynth.
INFO  2013-04-17 03:29:26.450 [main] Found VideoLAN version 2.0.1 at: C:\Program Files (x86)\VideoLAN\VLC\vlc.exe
ERROR 2013-04-17 03:29:26.451 [main] Only VLC versions 2.0.2 and above are supported
INFO  2013-04-17 03:29:26.457 [main] Searching for plugins in C:\Program Files (x86)\Universal Media Server\plugins
INFO  2013-04-17 03:29:26.459 [main] No plugins found
INFO  2013-04-17 03:29:26.491 [main] Registering transcoding engine: AviSynth/FFmpeg
INFO  2013-04-17 03:29:26.492 [main] Registering transcoding engine: FFmpeg Audio
INFO  2013-04-17 03:29:26.497 [main] Registering transcoding engine: MEncoder
INFO  2013-04-17 03:29:26.498 [main] Registering transcoding engine: AviSynth/MEncoder
INFO  2013-04-17 03:29:26.499 [main] Registering transcoding engine: FFmpeg
DEBUG 2013-04-17 03:29:26.500 [main] Found VLC version 2.0.1 in Windows Registry: C:\Program Files (x86)\VideoLAN\VLC\vlc.exe
DEBUG 2013-04-17 03:29:26.500 [main] Found VLC version 2.0.1 in Windows Registry: C:\Program Files (x86)\VideoLAN\VLC\vlc.exe
DEBUG 2013-04-17 03:29:26.500 [main] Found VLC version 2.0.1 in Windows Registry: C:\Program Files (x86)\VideoLAN\VLC\vlc.exe
DEBUG 2013-04-17 03:29:26.500 [main] Found VLC version 2.0.1 in Windows Registry: C:\Program Files (x86)\VideoLAN\VLC\vlc.exe
INFO  2013-04-17 03:29:26.500 [main] Registering transcoding engine: VLC
INFO  2013-04-17 03:29:26.501 [main] Registering transcoding engine: MPlayer Audio
DEBUG 2013-04-17 03:29:26.750 [main] FFmpeg supported protocols: [bluray, cache, concat, crypto, data, file, gopher, hls, http, httpproxy, https, mmsh, mmst, pipe, rtp, srtp, tcp, tls, udp, rtmp, rtmpe, rtmps, rtmpt, rtmpte, mms, https]
INFO  2013-04-17 03:29:26.757 [main] Registering transcoding engine: FFmpeg Web Video
INFO  2013-04-17 03:29:26.758 [main] Registering transcoding engine: MEncoder Web
INFO  2013-04-17 03:29:26.759 [main] Registering transcoding engine: MPlayer Video Dump
INFO  2013-04-17 03:29:26.759 [main] Registering transcoding engine: MPlayer Web
INFO  2013-04-17 03:29:26.761 [main] Registering transcoding engine: tsMuxeR
INFO  2013-04-17 03:29:26.762 [main] Registering transcoding engine: Audio High Fidelity
DEBUG 2013-04-17 03:29:26.763 [main] Found VLC version 2.0.1 in Windows Registry: C:\Program Files (x86)\VideoLAN\VLC\vlc.exe
DEBUG 2013-04-17 03:29:26.763 [main] Found VLC version 2.0.1 in Windows Registry: C:\Program Files (x86)\VideoLAN\VLC\vlc.exe
DEBUG 2013-04-17 03:29:26.763 [main] Found VLC version 2.0.1 in Windows Registry: C:\Program Files (x86)\VideoLAN\VLC\vlc.exe
DEBUG 2013-04-17 03:29:26.763 [main] Found VLC version 2.0.1 in Windows Registry: C:\Program Files (x86)\VideoLAN\VLC\vlc.exe
INFO  2013-04-17 03:29:26.763 [main] Registering transcoding engine: VLC Audio Streaming
DEBUG 2013-04-17 03:29:26.764 [main] Found VLC version 2.0.1 in Windows Registry: C:\Program Files (x86)\VideoLAN\VLC\vlc.exe
DEBUG 2013-04-17 03:29:26.764 [main] Found VLC version 2.0.1 in Windows Registry: C:\Program Files (x86)\VideoLAN\VLC\vlc.exe
DEBUG 2013-04-17 03:29:26.764 [main] Found VLC version 2.0.1 in Windows Registry: C:\Program Files (x86)\VideoLAN\VLC\vlc.exe
DEBUG 2013-04-17 03:29:26.764 [main] Found VLC version 2.0.1 in Windows Registry: C:\Program Files (x86)\VideoLAN\VLC\vlc.exe
INFO  2013-04-17 03:29:26.764 [main] Registering transcoding engine: VLC Video Streaming
INFO  2013-04-17 03:29:26.765 [main] Registering transcoding engine: FFmpeg DVR-MS Remux
INFO  2013-04-17 03:29:26.766 [main] Registering transcoding engine: dcraw Thumbnailer
INFO  2013-04-17 03:29:26.859 [main] Using address /192.168.1.2 found on network interface: name:eth5 (NVIDIA nForce 10/100/1000 Mbps Ethernet )
INFO  2013-04-17 03:29:26.860 [main] Created socket: /192.168.1.2:5001
DEBUG 2013-04-17 03:29:26.989 [main] Sending ALIVE...
INFO  2013-04-17 03:29:27.030 [main] Using the following UUID configured in UMS.conf: fe80320f-6a71-400d-87e7-93b0fe848753
INFO  2013-04-17 03:29:27.157 [New I/O worker #1] No IP filter specified, access granted to /192.168.1.141
INFO  2013-04-17 03:29:27.187 [pool-7-thread-1] Checking IP: 192.168.1.141 for Xbox 360
DEBUG 2013-04-17 03:29:27.210 [New I/O worker #1] HTTP User-Agent: Xbox/2.0.16203.0 UPnP/1.0 Xbox/2.0.16203.0
DEBUG 2013-04-17 03:29:27.214 [New I/O worker #1] DLNA changes for Xbox 360
INFO  2013-04-17 03:29:27.286 [main] The server is now available for renderers to find
DEBUG 2013-04-17 03:29:31.261 [New I/O worker #2] DLNA changes for Xbox 360
INFO  2013-04-17 03:29:31.477 [New I/O worker #4] Checking shared folder: E:\Webshare\Video
INFO  2013-04-17 03:29:31.478 [New I/O worker #4] Checking shared folder: F:\Webshare\Shows and Clips
INFO  2013-04-17 03:29:32.305 [pool-7-thread-1] Renderer Xbox 360 found on this address: 192.168.1.141
DEBUG 2013-04-17 03:29:32.311 [pool-7-thread-1] Starting ping -n 3 -l 64000 192.168.1.141
DEBUG 2013-04-17 03:29:32.730 [Thread-14] 
DEBUG 2013-04-17 03:29:32.730 [Thread-14] Pinging 192.168.1.141 with 64000 bytes of data:
INFO  2013-04-17 03:29:33.822 [UPNPHelper] No IP filter specified, access granted to /192.168.1.20
DEBUG 2013-04-17 03:29:34.311 [SpeedStats Failsafe] Stopping process: ping-0
DEBUG 2013-04-17 03:29:37.286 [UPNP-AliveMessageSender] Sending ALIVE...
INFO  2013-04-17 03:29:47.496 [New I/O worker #8] Starting transcode/remux of 30 Minutes or Less  2011 1080p BRRip .mkv
DEBUG 2013-04-17 03:29:47.508 [ffmpeg.exe-1] Starting "C:\Program Files (x86)\Universal Media Server\win32\ffmpeg.exe" -y -loglevel warning -i "E:\Webshare\Video\HD_Movies\30 Minutes or Less  2011 1080p BRRip x264 aac vice (HDScene Release)\30 Minutes or Less  2011 1080p BRRip .mkv" -map 0:2 "C:\ProgramData\UMS\data\subs\30 Minutes or Less  2011 1080p BRRip .mkv_EMB_ID0.ass"
DEBUG 2013-04-17 03:29:47.559 [ffmpeg.exe-1] Attaching thread: ffmpeg.exe-1
DEBUG 2013-04-17 03:29:57.344 [UPNP-AliveMessageSender] Sending ALIVE...
DEBUG 2013-04-17 03:30:09.973 [ffmpeg.exe-2] Starting "C:\Program Files (x86)\Universal Media Server\win32\ffmpeg.exe" -y -loglevel warning -threads 4 -i "E:\Webshare\Video\HD_Movies\30 Minutes or Less  2011 1080p BRRip x264 aac vice (HDScene Release)\30 Minutes or Less  2011 1080p BRRip .mkv" -threads 4 -vf "ass=C\\:/ProgramData/UMS/data/subs/30 Minutes or Less  2011 1080p BRRip .mkv_EMB_ID0.ass" -bufsize 1835000 -maxrate 14000000 -ac 6 -ab 384k -g 5 -q:v 1 -qmin 2 -c:a ac3 -c:v mpeg2video -f vob pipe:
DEBUG 2013-04-17 03:30:10.038 [ffmpeg.exe-2] Attaching thread: ffmpeg.exe-2
DEBUG 2013-04-17 03:30:11.414 [Thread-20] [Parsed_ass_0 @ 0226c6a0] Added subtitle file: 'C:/ProgramData/UMS/data/subs/30 Minutes or Less  2011 1080p BRRip .mkv_EMB_ID0.ass' (2 styles, 1410 events)
DEBUG 2013-04-17 03:30:11.913 [Thread-20] [Parsed_ass_0 @ 0226c6a0] Neither PlayResX nor PlayResY defined. Assuming 384x288
INFO  2013-04-17 03:30:16.009 [StartPlaying Event] Started playing 30 Minutes or Less  2011 1080p BRRip .mkv on your Xbox 360
DEBUG 2013-04-17 03:30:16.030 [StartPlaying Event] The full filename of which is: E:\Webshare\Video\HD_Movies\30 Minutes or Less  2011 1080p BRRip x264 aac vice (HDScene Release)\30 Minutes or Less  2011 1080p BRRip .mkv and the address of the renderer is: 192.168.1.141

Re: Compatible transcoding for Xbox 360

Posted: Wed Apr 17, 2013 7:35 pm
by barnito
Wait, worked the second time... but now FFMPEG is taking all unused cpu time, hang on

Re: Compatible transcoding for Xbox 360

Posted: Wed Apr 17, 2013 7:42 pm
by barnito
cache still doesn't fill, although it got to 20MB and gradually went down to 0, skipping still, although it is nice that subs are working, FFMPEG is using 100% CPU time.

Code: Select all

INFO  2013-04-17 03:37:22.244 [New I/O worker #3] Starting transcode/remux of 30 Minutes or Less  2011 1080p BRRip .mkv
DEBUG 2013-04-17 03:37:22.258 [ffmpeg.exe-2] Starting "C:\Program Files (x86)\Universal Media Server\win32\ffmpeg.exe" -y -loglevel warning -threads 4 -i "E:\Webshare\Video\HD_Movies\30 Minutes or Less  2011 1080p BRRip x264 aac vice (HDScene Release)\30 Minutes or Less  2011 1080p BRRip .mkv" -threads 4 -vf "ass=C\\:/ProgramData/UMS/data/subs/30 Minutes or Less  2011 1080p BRRip .mkv_EMB_ID0.ass" -bufsize 1835000 -maxrate 14000000 -ac 6 -ab 384k -g 5 -q:v 1 -qmin 2 -c:a ac3 -c:v mpeg2video -f vob pipe:
DEBUG 2013-04-17 03:37:22.281 [ffmpeg.exe-2] Attaching thread: ffmpeg.exe-2
DEBUG 2013-04-17 03:37:22.394 [Thread-20] [Parsed_ass_0 @ 0239c400] Added subtitle file: 'C:/ProgramData/UMS/data/subs/30 Minutes or Less  2011 1080p BRRip .mkv_EMB_ID0.ass' (2 styles, 1410 events)
DEBUG 2013-04-17 03:37:22.425 [Thread-20] [Parsed_ass_0 @ 0239c400] Neither PlayResX nor PlayResY defined. Assuming 384x288
INFO  2013-04-17 03:37:28.267 [StartPlaying Event] Started playing 30 Minutes or Less  2011 1080p BRRip .mkv on your Xbox 360
DEBUG 2013-04-17 03:37:28.268 [StartPlaying Event] The full filename of which is: E:\Webshare\Video\HD_Movies\30 Minutes or Less  2011 1080p BRRip x264 aac vice (HDScene Release)\30 Minutes or Less  2011 1080p BRRip .mkv and the address of the renderer is: 192.168.1.141
DEBUG 2013-04-17 03:37:31.338 [New I/O worker #6] Setting InputStream new position to: 5,640
INFO  2013-04-17 03:38:04.072 [New I/O worker #1] No IP filter specified, access granted to /192.168.1.146
INFO  2013-04-17 03:38:04.075 [New I/O worker #1] Another renderer like Xbox 360 was found!
DEBUG 2013-04-17 03:38:04.077 [New I/O worker #1] HTTP User-Agent: Xbox/2.0.16203.0 UPnP/1.0 Xbox/2.0.16203.0
INFO  2013-04-17 03:38:04.077 [pool-7-thread-2] Checking IP: 192.168.1.146 for Xbox 360
INFO  2013-04-17 03:38:08.686 [pool-7-thread-2] Renderer Xbox 360 found on this address: 192.168.1.146
DEBUG 2013-04-17 03:38:08.688 [pool-7-thread-2] Starting ping -n 3 -l 64000 192.168.1.146
DEBUG 2013-04-17 03:38:08.795 [Thread-25] 
DEBUG 2013-04-17 03:38:08.796 [Thread-25] Pinging 192.168.1.146 with 64000 bytes of data:
DEBUG 2013-04-17 03:38:10.699 [SpeedStats Failsafe] Stopping process: ping-3
DEBUG 2013-04-17 03:38:24.086 [New I/O worker #8] Setting margin to 2Mb
DEBUG 2013-04-17 03:40:17.741 [UPNP-AliveMessageSender] Sending ALIVE...
INFO  2013-04-17 03:41:18.501 [UPNPHelper] No IP filter specified, access granted to /192.168.1.3
DEBUG 2013-04-17 03:41:41.843 [Buffered IO End Checker] Stopping process: ffmpeg.exe-2
INFO  2013-04-17 03:41:43.344 [StopPlaying Event] Stopped playing 30 Minutes or Less  2011 1080p BRRip .mkv on your Xbox 360
DEBUG 2013-04-17 03:41:43.346 [StopPlaying Event] The full filename of which is: E:\Webshare\Video\HD_Movies\30 Minutes or Less  2011 1080p BRRip x264 aac vice (HDScene Release)\30 Minutes or Less  2011 1080p BRRip .mkv and the address of the renderer is: 192.168.1.141