Jump to content

Search the Community

Showing results for tags 'transcoding'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • General
    • Announcements
    • Emby Premiere Purchase/Subscription Support
    • Feature Requests
    • Tutorials and Guides
  • Emby Server
    • General/Windows
    • Android Server
    • Asustor
    • FreeBSD
    • Linux
    • NetGear ReadyNAS
    • MacOS
    • QNAP
    • Synology
    • TerraMaster NAS
    • Thecus
    • Western Digital
    • DLNA
    • Live TV
  • Emby Apps
    • Amazon Alexa
    • Android Mobile
    • Android TV / Fire TV
    • Emby Theater
    • iOS
    • Apple TV
    • Kodi
    • Raspberry Pi
    • Roku
    • Samsung Smart TV
    • Sony PlayStation
    • LG Smart TV
    • Web App
    • Windows Media Center
    • Plugins
  • Language-specific support
    • Arabic
    • Dutch
    • French
    • German
    • Italian
    • Portuguese
    • Russian
    • Spanish
    • Swedish
  • Community Contributions
    • Ember for Emby
    • Fan Art & Videos
    • Tools and Utilities
    • Web App CSS
  • Other
    • Non-Emby General Discussion
    • Developer API
    • Hardware
    • Media Clubs
    • Legacy Support


  • Emby Blog

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...

  1. Dear sirs, The web client could not play some movies from my library. These movies are nicely played by Roku and Android apps. Checking the transcoding log I found: http://pf304.no-ip.biz:8096/mediabrowser/videos/9e8a3d5169a643207d29af7ed206ea91/stream.webm?DeviceId=ff13285f90809b2fce0a077bfe7c64793c6d5763&MediaSourceId=9e8a3d5169a643207d29af7ed206ea91&VideoCodec=vpx&AudioCodec=vorbis&AudioStreamIndex=1&SubtitleStreamIndex=2&VideoBitrate=29680000&AudioBitrate=320000&MaxWidth=1920&ClientTime=635676407043961337&PlaySessionId=14ddc7a104474a8d9dbb71a5b8fd3ff8&api_key=68dff2d78c194d0b8641ab54870af156 {"Protocol":"File","Id":"9e8a3d5169a643207d29af7ed206ea91","Path":"E:\\Videos\\Filmes\\One Flew Over the Cuckoo's Nest (1975)\\One Flew Over the Cuckoo's Nest (1975).mkv","Type":"Default","Container":"mkv","Name":"1080P/H264/AC3","RunTimeTicks":80222720000,"ReadAtNativeFramerate":false,"SupportsTranscoding":true,"SupportsDirectStream":true,"SupportsDirectPlay":true,"RequiresOpening":false,"RequiresClosing":false,"VideoType":"VideoFile","MediaStreams":[{"Codec":"h264","Language":"eng","IsInterlaced":false,"BitRate":10833197,"BitDepth":8,"RefFrames":4,"IsDefault":true,"IsForced":false,"Height":1080,"Width":1920,"AverageFrameRate":23.97599,"RealFrameRate":23.97599,"Profile":"High","Type":"Video","AspectRatio":"16:9","Index":0,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"PixelFormat":"yuv420p","Level":41,"IsAnamorphic":false,"IsCabac":true},{"Codec":"ac3","Language":"eng","IsInterlaced":false,"ChannelLayout":"5.1","BitRate":640000,"Channels":6,"SampleRate":48000,"IsDefault":true,"IsForced":false,"Type":"Audio","Index":1,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":0},{"Codec":"srt","Language":"por","IsInterlaced":false,"IsDefault":false,"IsForced":false,"Type":"Subtitle","Index":2,"IsExternal":false,"IsTextSubtitleStream":true,"SupportsExternalStream":false,"Level":0},{"Codec":"srt","IsInterlaced":false,"IsDefault":false,"IsForced":false,"Type":"Subtitle","Index":3,"IsExternal":true,"IsTextSubtitleStream":true,"SupportsExternalStream":false,"Path":"E:\\Videos\\Filmes\\One Flew Over the Cuckoo's Nest (1975)\\One Flew Over the Cuckoo's Nest (1975).srt"}],"PlayableStreamFileNames":[],"Formats":["mkv","webm"],"Bitrate":10833197,"RequiredHttpHeaders":{}} C:\Users\Eduardo\AppData\Roaming\MediaBrowser-Server\ffmpeg\20150331\ffmpeg.exe -fflags +genpts -i file:"E:\Videos\Filmes\One Flew Over the Cuckoo's Nest (1975)\One Flew Over the Cuckoo's Nest (1975).mkv" -map 0:0 -map 0:1 -codec:v:0 libvpx -force_key_frames expr:gte(t,n_forced*5) -copyts -vf "scale=min(iw\,1920):trunc(ow/dar/2)*2,subtitles='E\:/Videos/Filmes/One Flew Over the Cuckoo's Nest (1975)/One Flew Over the Cuckoo's Nest (1975).mkv:si=0',setpts=PTS -0/TB" -pix_fmt yuv420p -speed 16 -quality good -profile:v 0 -slices 8 -crf 4 -qmin 0 -qmax 50 -maxrate:v 10833197 -bufsize:v (10833197*2) -b:v 10833197 -vsync vfr -map_metadata -1 -threads 7 -codec:a:0 libvorbis -ab 320000 -af "aresample=async=1,asetpts=PTS-0/TB" -y "C:\Users\Eduardo\AppData\Roaming\MediaBrowser-Server\transcoding-temp\b2cd06aab078084eb806f0b0a22b0351.webm" ffmpeg version N-71182-g5cba529 Copyright (c) 2000-2015 the FFmpeg developers built with gcc 4.9.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-libbs2b --enable-libcaca --enable-libdcadec --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-lzma --enable-decklink --enable-zlib libavutil 54. 21.100 / 54. 21.100 libavcodec 56. 32.100 / 56. 32.100 libavformat 56. 27.100 / 56. 27.100 libavdevice 56. 4.100 / 56. 4.100 libavfilter 5. 13.101 / 5. 13.101 libswscale 3. 1.101 / 3. 1.101 libswresample 1. 1.100 / 1. 1.100 libpostproc 53. 3.100 / 53. 3.100 Input #0, matroska,webm, from 'file:E:\Videos\Filmes\One Flew Over the Cuckoo's Nest (1975)\One Flew Over the Cuckoo's Nest (1975).mkv': Metadata: title : One Flew Over the Cuckoo's Nest (1975) encoder : libebml v1.2.3 + libmatroska v1.3.0 creation_time : 2015-05-19 12:29:04 Duration: 02:13:42.27, start: 0.000000, bitrate: 10833 kb/s Stream #0:0(eng): Video: h264 (High), yuv420p, 1920x1080, SAR 1:1 DAR 16:9, 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default) Metadata: title : One Flew Over the Cuckoo's Nest (1975) Stream #0:1(eng): Audio: ac3, 48000 Hz, 5.1(side), fltp, 640 kb/s (default) Metadata: title : English Stream #0:2(por): Subtitle: subrip Metadata: title : Português [Parsed_subtitles_1 @ 0000000004aec800] Unable to open E:/Videos/Filmes/One Flew Over the Cuckoos Nest (1975)/One Flew Over the Cuckoos Nest (1975).mkv [AVFilterGraph @ 0000000004aed220] Error initializing filter 'subtitles' with args 'E\:/Videos/Filmes/One Flew Over the Cuckoos Nest (1975)/One Flew Over the Cuckoos Nest (1975).mkv:si=0' Error opening filters! I was able to circunvent it by renaming both folder, file and subtitle excluding the apostrophe. Same occurs to "Singin' in the Rain (1952)". But only when trying to play by the web client. server-63567629869.txt transcode-3b2161b6-58a2-409f-bcbd-9cded1590b85.txt
  2. Hi guys, I'd really like to upgrade my rather old Kodi HTPC setup by replacing the backend with Mediabrowser. I like the possibility to watch on multiple devices in my home network without keeping media databases in sync. So what I did was installing Mediabrowser on my Ubuntu server (HP N36L) for testing before buying a faster server (for transcoding). I am running into the problem that I cannot playback any content without transcoding being in place. The library is set up using linux local paths ( /media/Storage/movies ). I configured path substitution so that the clients can access the files directly. This is the point where I am not sure why transcoding is still in place. I tried the following configurations for substitution None of these worked for the web client on my Macbook (using Google Chrome), since I still see the bandwidth settings in the top right corner. All the options also didn't work for a Windows 7 client using Firefox. I did not test the following clients yet. Kodi, iPhone, iPad. My server can provide access to the media files via NFS, AFP or SMB. Can anyone help me troubleshoot the setup so I can playback with direct file access? Is it even possible that devices with different OS can playback with direct file access at the same time? Regards, Bondfreak
  3. Hi, first off extremely nice work. I have not found any really serious issues. Overview: In short, I cannot correctly; play a video, stop/resume and then stop/resume again. Detail: - Play Vid with transcoding (works perfectly) - Stop Playback after $X Minutes and then hit resume (resumes from correct position, but the time counter starts at zero again) - watch $Y more Minutes then stop playback again - now i only get the option to resume from $Y minutes, not ($X + $Y) as would be expected. Please let me know if I can provide any further info, and thanks in advance for any insights.
  4. Looking for some advice. My setup is laptop (Windows 7 64-bit) with the server software (mbs not compatible with my NAS at this time). This is connected wirelessly to my readynas NV+ v2, which is wired to the internet. My client are: NowTV box in front room, Samsung Smart TV in the bedroom and MB android app on phone. I am unable to directly connect my laptop to the NAS. I get a fair bit of buffering, especially with movies, and was thinking about possibly converting all my media to a format that will be recognised by all my clients so that I can direct play. Firstly, are there any settings (on the nas/mbs/NowTV) anyone can recommend that may help reduce buffering Secondly, what format will all my clients be able to direct play - I would rather not go down this route as it will take forever to convert all my media, but know that I may have no choice in the end Thanks for any help/info you can give me
  5. Server is running on Windows 7. I have tested three clients... Chrome on an i7 Laptop; MediaBrowser Android client on Samsung Galaxy Note 3 (running android 4.4.4) and MediaBrowser Android client on Samsung Galaxy Tab s 10.5" (running Android 4.4.2). In general, when transcoding, on the server dashboard, the Note 3 shows 30~40 FPS; for Chrome and the Tab S, it shows about 12~13 FPS. Needless to say playback is flawless on the Note 3, but choppy on the other two clients. I'm surprised - because I always thought the transcoding speed is dependent on server load, and not related to client. Is there something in settings that I could've missed ? Or is it related to Android/Chrome versions?
  6. Hi, When I start playback on either our Roku3 or Android tablets, the server cpu is running at 100%. I was expecting / hoping for a lot less. The server has an i7-4790T so whilst not the most powerful chip, it's no slouch either, and it's running Windows Server 2012 R2. There are Transcoding settings in the Server Dashboard, under Playback, but these make no difference. I looked through the log that gets produced, and what I think is happening is that the server is transcoding the whole file as quickly as it can(it finished after about 20 minutes - the CPU usage is down close to zero), rather than just transcoding as it is needed. Is my above theory correct? If so, is there a way to get it to transcode less aggressively? (essentially can the ffmpeg process that gets launched be restricted to less cores? or be told to go slower?) Also what happens when two people try to watch at once? does the 2nd have to wait for the server to get through to the end of the 1st file?
  7. Hello, I am in the process of moving from Plex to MediaBrowser, and have noticed that the server load when transcoding is rather extreme. Server: MediaBrowser Server Version 3.0.5518.3 Hardware: Mac Mini (2011) with 2.7GHz Intel Core i7 with 8GB RAM running OSX 10.9.5 Client: Nexus 7 (Android 5.0.2) running MediaBrowser version 2.2.03 Network: Same subnet, Nexus 2 meters away from high speed access point with 1GE link to MacMini Symptom: ffmpeg using 372% CPU, Mac Mini getting warm, fan going full speed. The file being transcoded is as follows. Have not changed any default transcode settings. Server set to "Auto". Codec: H264 Profile: High Level: 41 Resolution:1920x1080 Aspect ratio:16:9 Anamorphic: No Interlaced: No Framerate: 23.97602 Bitrate: 10732 kbps Bit depth: 8 bit Pixel format: yuv420p Ref frames: 4 CABAC: Yes Pictures of system load: While transcoding, extreme load: After transcoding, normal load: As you can see it's a huge difference. I have run Plex Media Server for a few years, and it manages to transcode multiple sessions to multiple different clients without getting the same extreme load. Is this due to a horrible misconfiguration on my end, or a bug in how MediaBrowserServer on OSX uses ffmpeg? Attached is what I presume to be the correct transcode log. Please advise - this is my first experience with Media Server, and first day of using it, and as I didn't find this referenced anywhere, I figured this would probably be the place to ask. Thanks much in advance! transcode.log
  8. I am just after some clarification around setting up MBS. I have MBS installed on a PC that has all my media on it. I then have another PC in my living room with MBC installed on it. Do I need to install codecs either on the MBS PC or MBC PC to be able to play all file types including .mkv files and also have external subtitles working? I have read about transcoding and not sure how it all works and if I need to configure anything to get it all going.
  9. https://github.com/MediaBrowser/Wiki/wiki/Transcoding
  10. Hi , playing movies with idx/sub over dlna has never worked for me, I been using the latest dev build and every time I try to play a movie with sub/idx my tv respond with a "format not supported" error. Playing the same movie with a srt subtitle works just fine. The reason that sub/idx doesn't work is that the transcoding is failing when it cant find the .sub file when the path contains a whitespace as the cmdline reference -i isn't inclosed in "-marks. The last row in the transcoding log tells the tale.(see example below) I guess this would be an easy thing to fix ? C:\Users\KAKA123\AppData\Roaming\MediaBrowser-Server\ffmpeg\20141111\ffmpeg.exe -fflags +genpts -i file:"\\BOX\HDMOVIES\The Identical\The.Identical.2014.720p.BluRay.x264-ROVERS.mkv" -i \\BOX\HDMOVIES\The Identical\The.Identical.2014.720p.BluRay.x264-ROVERS.sub -map 0:0 -map 0:1 -map 1:0 -sn -codec:v:0 libx264 -force_key_frames expr:gte(t,n_forced*5) -preset superfast -crf 23 -maxrate 7363491 -bufsize 14726982 -vsync vfr -level 41 -filter_complex "[1:0]format=yuva444p,scale=1280:528,lut=u=128:v=128:y=gammaval(.3) ; [0:0] overlay,scale=trunc(min(iw\,1920)/2)*2:trunc(min((iw/dar)\,1080)/2)*2" -map_metadata -1 -threads 2 -codec:a:0 ac3 -ac 6 -ab 320000 -af "aresample=async=1" -y "C:\Users\KAKA123\AppData\Roaming\MediaBrowser-Server\transcoding-temp\streaming\270773ba3ea480678902893d63bbf6c0.ts" ffmpeg version N-67521-g48efe9e Copyright © 2000-2014 the FFmpeg developers built on Nov 11 2014 01:15:40 with gcc 4.9.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-libbs2b --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-zlib libavutil 54. 11.100 / 54. 11.100 libavcodec 56. 12.100 / 56. 12.100 libavformat 56. 12.103 / 56. 12.103 libavdevice 56. 2.100 / 56. 2.100 libavfilter 5. 2.103 / 5. 2.103 libswscale 3. 1.101 / 3. 1.101 libswresample 1. 1.100 / 1. 1.100 libpostproc 53. 3.100 / 53. 3.100 Input #0, matroska,webm, from 'file:\\BOX\HDMOVIES\The Identical\The.Identical.2014.720p.BluRay.x264-ROVERS.mkv': Metadata: encoder : libebml v1.3.0 + libmatroska v1.4.0 creation_time : 2014-12-30 00:28:26 Duration: 01:46:08.33, start: 0.000000, bitrate: 7363 kb/s Chapter #0:0: start 0.000000, end 774.107000 Metadata: title : 00:00:00.000 Chapter #0:1: start 774.107000, end 1782.322000 Metadata: title : 00:12:54.107 Chapter #0:2: start 1782.322000, end 2757.922000 Metadata: title : 00:29:42.322 Chapter #0:3: start 2757.922000, end 3403.317000 Metadata: title : 00:45:57.922 Chapter #0:4: start 3403.317000, end 4152.231000 Metadata: title : 00:56:43.317 Chapter #0:5: start 4152.231000, end 4859.897000 Metadata: title : 01:09:12.231 Chapter #0:6: start 4859.897000, end 5898.184000 Metadata: title : 01:20:59.897 Chapter #0:7: start 5898.184000, end 6368.331000 Metadata: title : 01:38:18.184 Stream #0:0(eng): Video: h264 (High), yuv420p, 1280x528 [sAR 1:1 DAR 80:33], 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default) Stream #0:1(eng): Audio: dts (DTS), 48000 Hz, 5.1(side), fltp, 1536 kb/s (default) \\BOX\HDMOVIES\The: No such file or directory
  11. Hi all, Redshirt explained something about the different video play methods in another thread, which explained a lot the me: Transcoding will occur on all the mobile clients if they don't support the codec/container of the source video, or they can't access the media directly. Transcoding is a necessary evil. Streamcopy is a form of transcoding, it means the device supports the stream, but not the container. It's just not as cpu intensive as a full transcode. Direct play and direct stream are two different things. Direct play means that the client can access the file directly. IE it can see the windows shares. Direct stream means the client couldnt' see the file directly so the server is streaming it without transcoding. However...I see a lot of movies on my Android device are transcoded and I wondered what decides which play method is choosen. Can someone explain me? - Is it the use of codecs on the server? - Is it determined by the client? - Is it determined by the video/audio file format? - ... somethinge else? help this noob!
  12. Hey there, I just wanted to say that the new update to the android app looks great. However, it used to work beautifully for me without issue but after the update playback won't start for any media types; movies or music. I also tried the web app on my ANdroid and transcoding will begin but playback will not start. This all started after the most recent updates. I will be happy to attach any logs you need. Also a family member that access my server over the web via a roku said that they couldn't get a movie to start either. I'm not sure if the two issues are related or not. Thanks in advance for the help!
  13. Hi, Having trouble getting a mkv rip to play in the web client, or anything else that transcodes. Movie was ripped to mkv yesterday with DVDFab and regardless of it having 3D in a description in one of the log files it is not a 3D movie. Originally ripped the 2D disc yesterday and had the same issue so I retried it with the 3D ISO and "converted" it to 2D with DVDFab. I am positive that I tried another rip yesterday that did the same thing but at this moment I cannot find it, I will keep looking. I cleared out my logs and restarted the server and then played the mkv through the web client. Thanks CrashKelly EDIT: The mkv plays fine via direct play EDIT 2: re-ripped to mkv and removed the TRUEHD 7.1 track. mkv now has AC3 audio and transcodes just fine. server-63547835944.txt transcode-851a001f-5342-4b0c-b437-abd5eef7530c.txt transcode-dacf43d1-a691-4cf2-8859-04f4d6812a64.txt server-63547818300.txt
  14. Hi, i will thank you for this great software it´s amazing. Now i have one little question. Will it be possible to use the GPU for transcoding (like Intel Quicksync) in the Webplayer? I know Mediabrowser Server 3 uses ffmpeg. I test with ffmpeg standalone at it can use quicksync to transcode. How could i turn this on in the MBS 3? It will be greate for all having a smal HTPC mit a CPU that allows this feature. I look forward to your response :-)
  15. First off, thank you to everyone who has worked on the XBMB3C plug-in and the assorted skins. I've been following the project since the beginning and am currently using the plug-in on two Windows 7 machines and an Android phone with the Confluence MB skin. I've been very happy with this setup and impressed with how quickly the project has progressed. I know that you just recently added support for transcoding. I was wondering exactly what is checked to determine if transcoding is necessary. I've edited some recorded TV episodes using VideoRedo to cut out commercials and then used Handbrake to convert from mpeg2 to h.264 in an mkv container to save space and for better playback using a Chromecast (with the Android MB app or Plex app) on bedroom TVs. But I've noticed that the XBMB3C clients on my Windows 7 machines use transcoding to play some of the episodes. Episodes that were recorded as 720p mpeg2 video with AC-3 audio and converted to 720p h.264 video with AAC audio play just fine. However, episodes that were recorded at 1080i mpeg2 video with AC-3 audio and converted to 720p h.264 video with AC-3 and AAC audio tracks are forced to use transcoding. These same files play just fine on the same machines using WMC MBC with MPC-HC as an external player. I'm no Handbrake expert, so I might be causing the transcoding with my choice of settings. But really the only difference between the settings for the different types of episodes is that I reduce the 1080i files to 1280 x 720 and use Bob for deinterlacing. I also noticed that you've added "Transcoding" or "Direct Play" to the episode name, but sometimes an episode plays without either of these being added to the name. What does that mean? Thanks.
  16. Having a problem with the app on my wife's Kindle Fire HD. It used to work, at least when I first set it up a few months ago. Essentially when I try to play anything, it starts to queue it up, then it stops, goes back to the splash screen and the whole app becomes basically locked up. Force closing it doesn't resolve the issue. The only thing that gets me back to being able to navigate around is to remove the app and re-install (but the play issue remains). From the log, this seems to be the relevant error (whole log attached): 2014-08-19 17:49:24.5344 Error - HttpResultFactory: Error streaming media Unable to write data to the transport connection: An existing connection was forcibly closed by the remote host. System.IO.IOException at System.Net.Sockets.NetworkStream.EndWrite(IAsyncResult asyncResult) at WebSocketSharp.Net.ResponseStream.EndWrite(IAsyncResult ares) at System.IO.Stream.<BeginEndWriteAsync>b__17(Stream stream, IAsyncResult asyncResult) at System.Threading.Tasks.TaskFactory`1.FromAsyncTrimPromise`1.Complete(TInstance thisRef, Func`3 endMethod, IAsyncResult asyncResult, Boolean requiresSynchronization) --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.IO.Stream.<CopyToAsyncInternal>d__2.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at MediaBrowser.Server.Implementations.HttpServer.StreamWriter.<WriteToAsync>d__0.MoveNext() InnerException: System.Net.Sockets.SocketException An existing connection was forcibly closed by the remote host at System.Net.Sockets.Socket.EndSend(IAsyncResult asyncResult) at System.Net.Sockets.NetworkStream.EndWrite(IAsyncResult asyncResult) That would make me think its a problem with the VM running my server, but I have no trouble using the Windows 8 App on my Surface Pro and streaming the exact same media. Thanks for any help! server-63544067232.txt transcode-ff65b879-9ed0-4614-81e7-c05086365a4f.txt
  17. Luke

    Scalabity question

    Yes often times we direct stream the file through the server api, which as far as the client is concerned is identical to file playback through the LAN. Then other times we just do a container swap, keeping the audio/video in their original forms but just changing the container from say, mkv to mp4. These techniques are cheap and will scale to a large number of people easily.
  18. acdvorak

    WD TV Live transcoding fails

    Hi there, I'm having trouble streaming a handful of movies to my WD TV Live, and after much digging I suspect this to be a bug in Media Browser Server. Most of my files stream directly (without transcoding) and play without issue, but a few cause Media Browser to (incorrectly, AFAIK) fire up FFmpeg and then immediately terminate the process. The result is a screen like this on my WD TV Live: Contrary to what the above message says, my WD TV can indeed play the video file as-is without transcoding (see below). My entire library is MKV / H.264 encoded with HandBrake, ranging from High Profile @ Level 4.0 to 5.1. Most of the videos that fail to play are HP@L5.0 or L5.1, but a few are L4.0. According to the WD TV Live's User Manual, appendix page 211, the device supports a maximum of HP@L4.1 1920×1080p30 w/ a bit rate of HD:40. However, I routinely stream HP@L5.0 and HP@L5.1 videos over DLNA using Serviio and they play fine without issue. So the WD TV is certainly capable of directly playing the videos that are failing without any transcoding, but Media Browser appears to be attempting to transcode them anyway, and for some reason it immediately kills the FFmpeg process - even though FFmpeg doesn't throw any errors or abend. Curiously, if I copy the FFmpeg command that Media Browser tries to run and run it manually in command prompt, it works like a charm. Thus I suspect this is a Media Browser bug. Here's the relevant portion of the Media Browser Server log file (full version attached): 21:06:47.4049 Info - App: C:\Users\BobaFett\AppData\Roaming\MediaBrowser-Server\ffmpeg\old\20140105\ffmpeg.exe -fflags genpts -i file:"M:\MB3\Shared\Disney\Brave (2012) [1080p].mkv" -map 0:0 -map 0:1 -map -0:s -vcodec libx264 -force_key_frames expr:if(isnan(prev_forced_t),gte(t,.1),gte(t,prev_forced_t+5)) -vf "scale=trunc(min(iw\,1920)/2)*2:trunc(min((iw/dar)\,1080)/2)*2" -preset ultrafast -crf 23 -r 23.97602 -vsync vfr -profile:v baseline -level 41 -map_metadata -1 -threads 2 -acodec aac -strict experimental -ac 2 -ab 128000 -af "adelay=1,aresample=async=1,volume=2" -y "C:\Users\BobaFett\AppData\Roaming\MediaBrowser-Server\transcoding-temp\533d0985-6037-a22e-7474-7dd0d8ceeec7.ts" 21:06:48.0960 Debug - HttpServer: HTTP GET;jpg;512;512 21:06:48.1510 Debug - HttpServer: HTTP Response 200 to Response time: 54.003 ms Url:;jpg;512;512 21:06:48.8850 Error - App: Error streaming media The specified network name is no longer available System.Net.HttpListenerException at System.Net.HttpResponseStream.EndWrite(IAsyncResult asyncResult) at System.IO.Stream.<BeginEndWriteAsync>b__17(Stream stream, IAsyncResult asyncResult) at System.Threading.Tasks.TaskFactory`1.FromAsyncTrimPromise`1.Complete(TInstance thisRef, Func`3 endMethod, IAsyncResult asyncResult, Boolean requiresSynchronization) --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.IO.Stream.<CopyToAsyncInternal>d__2.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at MediaBrowser.Api.Playback.Progressive.ProgressiveStreamWriter.<StreamFile>d__3.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at MediaBrowser.Api.Playback.Progressive.ProgressiveStreamWriter.<WriteToAsync>d__0.MoveNext() 21:06:48.9210 Debug - HttpServer: HTTP Response 500 to Response time: 1530.0875 ms Url:;test;445cc5e11de0ae3b2e93b9473ccb6bda;false;h264;aac;;;;128000;2;;1920;1080;0;41 21:06:49.9131 Info - App: Killing ffmpeg process for C:\Users\BobaFett\AppData\Roaming\MediaBrowser-Server\transcoding-temp\533d0985-6037-a22e-7474-7dd0d8ceeec7.ts 21:06:50.0281 Info - App: FFMpeg exited with code -1 21:06:50.0361 Info - App: Deleting partial stream file(s) C:\Users\BobaFett\AppData\Roaming\MediaBrowser-Server\transcoding-temp\533d0985-6037-a22e-7474-7dd0d8ceeec7.ts Note that in addition to transcoding the video to HP@L4.1, in all cases I observed Media Browser attempts transcode audio tracks to 2.0 ch AAC, which is unnecessary because the WD TV Live supports all Blu-ray audio codecs and channel layouts (e.g., Dolby TrueHD 7.1 ch, DTS-HD MA 5.1 ch). FWIW, I have no problem streaming (transcoding) the same files to my Roku 3 via the Media Browser channel. Here are my system specs: Media Browser Server version 3.0.5267.16902 Windows 7 64-bit SP1 WD TV Live Streaming Media Player (Gen 3) - WDBHG70000NBK-02 Attached are the full Media Browser Server log file, two ffmpeg transcode log files, and the MediaInfo dumps of the files that are failing. Please let me know if you require any additional information and I'll be happy to provide it. I have a little bit of experience writing Windows .NET apps in C# and using FFmpeg, so if there's anything I can do to help with this issue, just let me know. Thanks! mediainfo-brave.txt mediainfo-princess-frog.txt mediainfo-snow-white.txt mediainfo-toy-story-2.txt mediainfo-toy-story-3.txt mediainfo-toy-story.txt mediainfo-up.txt transcode-61fb02dd-c06f-4304-a533-135ffe597d17.txt transcode-461e8d72-acee-48ff-a52a-dd38147e7299.txt server-63537597258.txt
  19. It would be helpful if you could add the following streaming option to the Web UI inside the file: /%appdata%/MediaBrowser-Server/System/dashboard-uiI/scripts/mediaplayer-video.js options.push({ name: '720p - 1.0Mbps', maxWidth: 1280, bitrate: 1000000 });
  20. thisguy2626

    Video bitrate

    The server is running on INTEL i5-3570k 3.40 gHz 16 GB ram windows 7 Home Premium x64 OK I'm hoping someone can help clarify this for me. Ive been reading on the server that if you have a file encoded with h.264 and aac in either mp4 or mkv containers then it will direct play to your device, so I have been experimenting a bit, and have yet to see no transcoding going on on my server with files that fit that description. But, while I was playing around with it, I noticed that if I increase my iphone 5's bitrate settings to higher than the bitrate of my video file, then the video will be jittery or freeze all together and the audio will sound off. I know next to nothing about this, but I had assumed that it should play better if the bit rate settings exceed the files settings? For example, the file I am attempting to play is 5,368 kb/s. H.264 AC-3 in MKV container. VIDEO stream 4,877 kb/s 1920*1080 at 23.976 fp/s; AUDIO stream 384 kb/s 48 khz, 16 bit 6 channels AC-3. I set the cellular quality bit rate settings in the MB ios app to 5 mb/s and it plays wonderfully over LTE. The audio is crisp, the video is clear and smooth during playback, but CPU utilization on my PC is very high, around 80-90%. If I increase the bit rate on the iOS device to 6 mb/s, it takes longer to begin playback, and when it does the audio is hollow and the video freezes while the audio plays on, though on my PC the CPU utilization is significantly lower between 20-30%. It happens with all of the files I have played with while on the cellular network and my LAN wifi, this is just the one I have open in mediainfo currently. Why is the playback not improved by having the devices bit rate settings exceed that of the file? Why is the CPU utilization so much higher when the bit rate levels are lower than the bit rate of the video file? Will I have to adjust the bit rate for each video file I watch? What settings will give me optimum playback quality for all video files remotely, over network and over wifi? Also, if someone wants to try and explain the direct play concept to me that would be wonderful. I cannot seem to find a file that will play directly even though many of my video files fit the h.264 aac encode description, maybe it is because I am using an iOS device... Thanks for any help you can give. This is confusing me and I would appreciate the insight.
  21. Concept211

    Tweak or Add Encoding Options?

    Is it possible to add or change existing encoding/transcoding parameters when streaming a video via the web UI? I would like to try and tweak the lowest 720p option with a lower bitrate so that it can stream a little bit more reliably on my ISP's 1mb upload cap. I looked in the server config files and can't find anywhere to change it.
  22. jfarre20

    Transcoded Audio Issue

    WMP and Media Player Classic Home Cinema sounded the same - So, I think it is producing the proper sound. Also, when I tried playing the transcoded .webm with WMP - it sounded weird. There is something wrong with the transcoder or the transcoder settings. I have also tried the web interface on older video files that I know aren't in 5.1 - they still sound wrong. The audio plays normally through mediabrowser classic on WMC and through the mediabrowser 3 app on windows - however, these do not require transcoding. *Added the media-info to the main post
  23. jorrell0733

    Transcoding MBT remotely

    HI, I ve just joined the forum and loving the new MBT. However im coming across a problem i hope someone can help with. If I use the web interface to play and watch my tv and films the server transcoding is working perfectly remotely from my laptop. However, If I use MBT, it seems to try and play the file direct (even though im not at home or on my LAN). Is there somehwere else other than the server web interface where i adjust the bitrate because id prefer to watch through MBt than over a browser? When using a browser, I can set the bitrate to 2 mbps which is ideal,however theres no options in MBT to do this, hence i think thats why its trying to stream directly which is never gonna work! thanks Jorrell
  24. I got a Chromecast last week and have been testing it to maybe take the job as a media player in the living room. First thing I notice is transcoding was needed for most my media, a bummer, but not a big deal. However I've had mixed results. My server is a 3.2ghz xeon sandy bridge WHS2011. I did a test and cpu use on the 4 cores are 80-90%, ~50%, ~40%, ~30% - total about 50% when transcoding. But the result is not very good, picture quality is ok, but video is not smooth. Now I know it's a issue with Chromecast only doing 60hz but it's not that. So, since my Freenas has plex as plugin I did a test there, it's also transcoding, cpu use is about the same (same cpu), but quality and smoothness is excellent, very close to original. As far as I can tell it's as good as the original and only the judder from not running native hz a issue. My MB3 transcoding is set to Max Quality. Is it possible to tweak transcoding ? I've tried several different bitrate settings in the app for chromecast but videosmoothness is allways the same (not smooth) only picture quality is different.
  25. Hello All I am experiencing an issue with all my formats(all are in m2ts) not being able to transcode. The other night I was able to watch movies and tv shows in mediabrowser classic on my xbox360 extender just fine. Although in the morning I get an error stating "Transcode Error Could not start the transcoding process" I tried to play a few different movies as well as different tv shows and receive the same error on my extender. I can get the videos to play on my desktop, through the web interface and in the iOS app, just not the extender. I have went into the configurator and attempted to play files with transcode360 turned off and on (it has always been on) and still cannot get any files to play. Any insight will be appreciated MBClassic-732014d25e2feb77924a0d8937258fc55aa5aa.log
  • Create New...