Jump to content

Search the Community

Showing results for tags 'transcoding'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • 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
    • Android TV / Fire TV
    • Windows & Xbox
    • Apple iOS / macOS
    • Apple TV
    • Kodi
    • LG Smart TV
    • Linux & Raspberry Pi
    • Roku
    • Samsung Smart TV
    • Sony PlayStation
    • Web App
    • Windows Media Center
    • Plugins
  • Language-specific support
    • Arabic
    • Dutch
    • French
    • German
    • Italian
    • Portuguese
    • Russian
    • Spanish
    • Swedish
  • Community Contributions
    • Third Party Apps
    • Fan Art & Videos
    • Tools and Utilities
    • Web App CSS
  • Testing Area
    • WMC UI (Beta)
  • Other
    • Non-Emby General Discussion
    • Developer API
    • Hardware
    • Media Clubs

Blogs

  • Emby Blog

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

  1. adam1010

    Audio boost when dowmixing

    I'm trying to get louder volume on my Android mobile devices. I have set the server's Transcoding setting of "Audio boost when downmixing" to its maximum setting of 3, however, the volume doesn't appear to increase much. I have verified that the video is being transcoded (downmixed) and not using Direct Play. I'd almost say there isn't any distinguishable difference when I switch on and off the transcoding on my Android device (I'm using Ubuntu for the server). I'm assuming you're taking my value of "3" and normalizing it to something and plugging it into ffmpeg like so: ffmpeg -i in.mp4 -af "volume=1.5" out.mp4 This example represents a 50% audio boost. 1) What does level 3 correspond to percentage-wise, and is there a reason it's been capped at 3? 2) Is there any kind of debug information I can look at to verify that the audio amplification flag is being set in ffmpeg?
  2. alchemi183

    Confused by download setting

    Can someone help me understand the server-side user setting called "Allow downloading that requires transcoding"? Server > Users > {select a user} > Downloading There are two settings that can each be independently enabled/disabled per user: * Allow media downloading * Allow downloading that requires transcoding The first seems pretty self-explanatory and I have it enabled for all users. The second setting is relatively new (I don't remember seeing it before) and it confuses me. I understand what transcoding means in the context of video playback over the network, but not what it means in the context of downloading a media file. What does transcoding have to do with a file download? Any help you could give me in understanding that setting would be appreciated. The wiki doesn't show the setting (yet?).
  3. Hi there! First of all, I'd like to thank everyone who contributes to this project. It's awesome! I'm having a transcode quality issue with a certain set of files that seems to be related to the value emby chooses for the -maxrate option of the h264 codec. Here's my evidence: I took the ffmpeg transcode command from the (attached) server log and ran it locally (I removed the segment stuff and limited duration with -t, but no changes other than that). Playing the result with a local media player resulted in the same aggressive artifacting I was seeing in my browser. Then, I ran the exact same transcode without "-maxrate 1165053", and boom, no visible artifacts. The bitrate is 2x larger than the original source (not really sure why that's the case), but I run everything over LAN and I have a lot of throughput headroom to spare, so I'd really like to make the trade-off for quality. Is there any way I can affect what emby chooses for maxrate? I've done some poking around and found this thread (https://emby.media/community/index.php?/topic/36226-transcode-quality-degradation-maxrate/), but not much info in there. Running server ver 3.2.15.0 on Ubuntu. Thank you in advance! Log.txt
  4. justinglock40

    Emby Transcoding 4K HEVC

    Can't get 4K UHD to playback on Xbox One S. Sound plays in the background but the screen is green the entire time. It keeps transcoding. Any ideas why? Log.txt
  5. Ok.. I have been able to compile and install a custom ffmpeg with OMX (hardware encoding enabled) https://emby.media/community/index.php?/topic/36227-h264-omx-instead-of-x264/page-2 But when enabled in the Emby server.. it silently fails.. HOWEVER... When I copy/paste the command (for example): ffmpeg -i file:"/media/usb0/TV Shows/SpongeBob SquarePants (1999-2015) [480p] [720p] [HEVC] [x265]/Season 01/[pseudo] S01E02 Reef Blower [480p] [h.265].mkv" -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 h264_omx -b:v 2211644 -maxrate 2211644 -bufsize 4423288 -force_key_frames "expr:gte(t,n_forced*3)" -vf "scale=trunc(min(max(iw\,ih*dar)\,1280)/2)*2:trunc(ow/dar/2)*2" -copyts -vsync -1 -codec:a:0 aac -strict experimental -ac 2 -ab 192000 -f segment -max_delay 5000000 -avoid_negative_ts disabled -start_at_zero -segment_time 3 -individual_header_trailer 0 -segment_format mpegts -segment_list_type m3u8 -segment_start_number 0 -segment_list "/tmp/transcoding-temp/e438c53f7db6725b084b892f6c3028cf.m3u8" -y "/tmp/transcoding-temp/e438c53f7db6725b084b892f6c3028cf%d.ts" and sudo as ROOT ... it DOES work. I am really confused.. tried changing the temp folder... and properly installing the ffmpeg (instead of running it from its source folder where I compiled it). so.. the fact that ROOT can run it.. leads me to think it is a permissions issue.. the funny thing is that without ANY other changes.. by simply switching OMX off in the Emby config.. it WORKS. It is as if the omx extension inside ffmpeg is trying to do something... like accessing hardware or another path.. that user emby does not have access to. It is a near silent failure... (since error 255 really does not mean anything). " 2017-04-25 04:22:01.7063 Info HttpServer: HTTP Response 500 to 192.168.50.74. Time: 28122ms (slow). http://192.168.50.60:8096/emby/videos/74d91a1ee63cfcb5cdc99751ba1b5c68/hls1/main/0.ts?DeviceId=4b23de016b5225894d6e76c8edb8536321d8b37b&MediaSourceId=74d91a1ee63cfcb5cdc99751ba1b5c68&VideoCodec=h264&AudioCodec=aac&AudioStreamIndex=1&VideoBitrate=193747394&AudioBitrate=192000&Level=51&Profile=high&PlaySessionId=52bf6796426d495ab39c16770487c4cf&CopyTimestamps=false&TranscodingMaxAudioChannels=6&EnableSubtitlesInManifest=false&Tag=24a43aa38dd13e58d36422fbc16ced9c&RequireAvc=true&RequireNonAnamorphic=false&DeInterlace=false&SegmentContainer=ts&MinSegments=2&BreakOnNonKeyFrames=False 2017-04-25 04:22:01.7081 Info App: ffmpeg -i file:"/media/usb0/TV Shows/SpongeBob SquarePants (1999-2015) [480p] [720p] [HEVC] [x265]/Season 01/[pseudo] S01E03 Tea at the Treedome [480p] [h.265].mkv" -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 h264_omx -b:v 1122230 -maxrate 1122230 -bufsize 2244460 -force_key_frames "expr:gte(t,n_forced*3)" -vf "scale=trunc(min(max(iw\,ih*dar)\,1280)/2)*2:trunc(ow/dar/2)*2" -copyts -vsync -1 -codec:a:0 aac -strict experimental -ac 2 -ab 192000 -f segment -max_delay 5000000 -avoid_negative_ts disabled -start_at_zero -segment_time 3 -individual_header_trailer 0 -segment_format mpegts -segment_list_type m3u8 -segment_start_number 0 -segment_list "/var/tmp/transcoding-temp/transcoding-temp/aa6d990b7ad85df3cb9e9a131f4da08d.m3u8" -y "/var/tmp/transcoding-temp/transcoding-temp/aa6d990b7ad85df3cb9e9a131f4da08d%d.ts" 2017-04-25 04:22:02.1496 Info App: FFMpeg exited with code 255 2017-04-25 04:22:02.1643 Info App: returning /var/tmp/transcoding-temp/transcoding-temp/aa6d990b7ad85df3cb9e9a131f4da08d0.ts " And again.. if I take that line to my prompt and run it with sudo.. it WORKS: root@avcenter:/tmp# ffmpeg -i file:"/media/usb0/TV Shows/SpongeBob SquarePants (1999-2015) [480p] [720p] [HEVC] [x265]/Season 01/[pseudo] S01E03 Tea at the Treedome [480p] [h.265].mkv" -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 h264_omx -b:v 1122230 -maxrate 1122230 -bufsize 2244460 -force_key_frames "expr:gte(t,n_forced*3)" -vf "scale=trunc(min(max(iw\,ih*dar)\,1280)/2)*2:trunc(ow/dar/2)*2" -copyts -vsync -1 -codec:a:0 aac -strict experimental -ac 2 -ab 192000 -f segment -max_delay 5000000 -avoid_negative_ts disabled -start_at_zero -segment_time 3 -individual_header_trailer 0 -segment_format mpegts -segment_list_type m3u8 -segment_start_number 0 -segment_list "/var/tmp/transcoding-temp/transcoding-temp/aa6d990b7ad85df3cb9e9a131f4da08d.m3u8" -y "/var/tmp/transcoding-temp/transcoding-temp/aa6d990b7ad85df3cb9e9a131f4da08d%d.ts" ffmpeg version N-85641-gdd49eff Copyright (c) 2000-2017 the FFmpeg developers built with gcc 4.9.2 (Raspbian 4.9.2-10) configuration: --enable-gpl --enable-nonfree --enable-mmal --enable-omx --enable-omx-rpi --enable-libmp3lame --enable-libx264 --enable-libvorbis libavutil 55. 61.100 / 55. 61.100 libavcodec 57. 93.100 / 57. 93.100 libavformat 57. 72.101 / 57. 72.101 libavdevice 57. 7.100 / 57. 7.100 libavfilter 6. 86.100 / 6. 86.100 libswscale 4. 7.101 / 4. 7.101 libswresample 2. 8.100 / 2. 8.100 libpostproc 54. 6.100 / 54. 6.100 Input #0, matroska,webm, from 'file:/media/usb0/TV Shows/SpongeBob SquarePants (1999-2015) [480p] [720p] [HEVC] [x265]/Season 01/[pseudo] S01E03 Tea at the Treedome [480p] [h.265].mkv': Metadata: encoder : libebml v1.3.1 + libmatroska v1.4.2 creation_time : 2016-02-06T18:59:27.000000Z Duration: 00:11:03.73, start: 0.000000, bitrate: 561 kb/s Stream #0:0: Video: hevc (Main), yuv420p(tv), 704x480 [SAR 10:11 DAR 4:3], 29.97 fps, 29.97 tbr, 1k tbn, 29.97 tbc (default) Metadata: BPS : 469945 BPS-eng : 469945 DURATION : 00:11:03.729000000 DURATION-eng : 00:11:03.729000000 NUMBER_OF_FRAMES: 19892 NUMBER_OF_FRAMES-eng: 19892 NUMBER_OF_BYTES : 38989538 NUMBER_OF_BYTES-eng: 38989538 _STATISTICS_WRITING_APP: mkvmerge v8.4.0 ('A better way to fly') 64bit _STATISTICS_WRITING_APP-eng: mkvmerge v8.4.0 ('A better way to fly') 64bit _STATISTICS_WRITING_DATE_UTC: 2016-02-06 18:59:27 _STATISTICS_WRITING_DATE_UTC-eng: 2016-02-06 18:59:27 _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES Stream #0:1(eng): Audio: aac (LC), 48000 Hz, stereo, fltp (default) Metadata: BPS : 88626 BPS-eng : 88626 DURATION : 00:11:03.701000000 DURATION-eng : 00:11:03.701000000 NUMBER_OF_FRAMES: 31111 NUMBER_OF_FRAMES-eng: 31111 NUMBER_OF_BYTES : 7352727 NUMBER_OF_BYTES-eng: 7352727 _STATISTICS_WRITING_APP: mkvmerge v8.4.0 ('A better way to fly') 64bit _STATISTICS_WRITING_APP-eng: mkvmerge v8.4.0 ('A better way to fly') 64bit _STATISTICS_WRITING_DATE_UTC: 2016-02-06 18:59:27 _STATISTICS_WRITING_DATE_UTC-eng: 2016-02-06 18:59:27 _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES Stream mapping: Stream #0:0 -> #0:0 (hevc (native) -> h264 (h264_omx)) Stream #0:1 -> #0:1 (aac (native) -> aac (native)) Press [q] to stop, [?] for help [h264_omx @ 0x1d336a0] Using OMX.broadcom.video_encode Output #0, segment, to '/var/tmp/transcoding-temp/transcoding-temp/aa6d990b7ad85df3cb9e9a131f4da08d%d.ts': Metadata: encoder : Lavf57.72.101 Stream #0:0: Video: h264 (h264_omx), yuv420p, 704x528 [SAR 1:1 DAR 4:3], q=2-31, 1122 kb/s, 29.97 fps, 90k tbn, 29.97 tbc (default) Metadata: encoder : Lavc57.93.100 h264_omx Stream #0:1: Audio: aac (LC), 48000 Hz, stereo, fltp, 192 kb/s (default) Metadata: encoder : Lavc57.93.100 aac frame= 7342 fps= 24 q=-0.0 Lsize=N/A time=00:04:05.16 bitrate=N/A speed=0.793x video:34589kB audio:5817kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown [aac @ 0x1d34aa0] Qavg: 1460.591 Exiting normally, received signal 2. I tried once changing the emby default user to root.. but it did nothing. ANY help would be greatly appreciated.. I feel like I survived the desert to die at the water fountain with a broken handle. TTFN
  6. Question for folks, and while I've run my own server/library for quite a few years now, I'm not entirely sure the best language to use with the community, so please bear with me. I did some searching for relevant threads, but I'm not entirely sure what to keyword search on, truth be told. I just picked up a Synology 916+, and I'm running the Emby app as a server on it. Running great. Question is about transcoding support. I went with the shield because it can stream some of the widest selection of video and audio codecs. But when I was running Moana for my son, I noticed the 916+ CPU was pegged at 100%. Not shocking if it's transcoding. I confirmed in the logs that it WAS transcoding, I'm just trying to understand why. It's an MKV package with h.264 encoding, two audio streams encoded, DTS-HD pass thru and DTS-HD -> AAC. I'll post two different sections of logs. I'm not sure the most relevant. The one first looks most relevant, but will include a block after that (from earlier in the log) that might be: Block 1: I think most relevant Stream #0:0: Video: h264 (Main), yuv420p(tv, bt709, progressive), 1920x804 [SAR 1:1 DAR 160:67], 23.98 fps, 23.98 tbr, 1k tbn, 180k tbc (default) Stream #0:1(eng): Audio: dts (DTS-HD MA), 48000 Hz, 7.1, s32p (24 bit) (default) Metadata: title : Surround Stream #0:2(eng): Audio: aac (LC), 48000 Hz, 5.1, fltp Metadata: title : Surround [libx264 @ 0x209fc20] using SAR=1/1 [libx264 @ 0x209fc20] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 [libx264 @ 0x209fc20] profile Main, level 4.0 Output #0, mpegts, to '/var/packages/EmbyServer/target/var/transcoding-temp/35068d1055a4a879cab336d840c40511.ts': Metadata: encoder : Lavf57.56.101 Stream #0:0: Video: h264 (libx264), yuv420p, 1920x804 [SAR 1:1 DAR 160:67], q=-1--1, 23.98 fps, 90k tbn, 23.98 tbc (default) Metadata: encoder : Lavc57.64.101 libx264 Side data: cpb: bitrate max/min/avg: 5068000/0/0 buffer size: 10136000 vbv_delay: -1 Stream #0:1: Audio: aac (LC), 48000 Hz, stereo, fltp (24 bit), 128 kb/s (default) Metadata: encoder : Lavc57.64.101 aac Stream mapping: Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264)) Stream #0:1 -> #0:1 (dts (dca) -> aac (native)) Block 2: Less certain {"Protocol":"File","Id":"d35722b76bfbbfae223da72991767538","Path":"/volume1/*******/Movies/Moana/Moana.mkv","Type":"Default","Container":"mkv","Name":"1080P/H264/DTS","IsRemote":false,"ETag":"25b53afbbfd9eb96cacda9cb1654e673","RunTimeTicks":64328230000,"ReadAtNativeFramerate":false,"SupportsTranscoding":true,"SupportsDirectStream":true,"SupportsDirectPlay":true,"IsInfiniteStream":false,"RequiresOpening":false,"RequiresClosing":false,"SupportsProbing":true,"RequiresLooping":false,"VideoType":"VideoFile","MediaStreams":[{"Codec":"h264","TimeBase":"1/1000","CodecTimeBase":"1001/48000","NalLengthSize":"4","IsInterlaced":false,"IsAVC":true,"BitRate":12614057,"BitDepth":8,"RefFrames":1,"IsDefault":true,"IsForced":false,"Height":804,"Width":1920,"AverageFrameRate":23.97602,"RealFrameRate":23.97602,"Profile":"Main","Type":"Video","AspectRatio":"2.40:1","Index":0,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"PixelFormat":"yuv420p","Level":40,"IsAnamorphic":false},{"Codec":"dts","Language":"eng","TimeBase":"1/1000","CodecTimeBase":"1/48000","Title":"Surround","DisplayTitle":"Eng Surround","IsInterlaced":false,"ChannelLayout":"7.1","BitDepth":24,"Channels":8,"SampleRate":48000,"IsDefault":true,"IsForced":false,"Profile":"DTS-HD MA","Type":"Audio","Index":1,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":0,"IsAnamorphic":false},{"Codec":"aac","Language":"eng","TimeBase":"1/1000","CodecTimeBase":"1/48000","Title":"Surround","DisplayTitle":"Eng Surround","IsInterlaced":false,"ChannelLayout":"5.1","Channels":6,"SampleRate":48000,"IsDefault":false,"IsForced":false,"Profile":"LC","Type":"Audio","Index":2,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":0,"IsAnamorphic":false}],"PlayableStreamFileNames":[],"Formats":[],"Bitrate":12614057,"RequiredHttpHeaders":{}} /var/packages/EmbyServer/target/ffmpeg/bin/ffmpeg -ss 00:37:11.059 -f matroska -codec:0 h264 -codec:1 dts -codec:2 aac -i file:"/volume1/*******/Movies/Moana/Moana.mkv" -map 0:0 -map 0:1 -map -0:s -codec:v:0 libx264 -force_key_frames "expr:gte(t,n_forced*5)" -copyts -avoid_negative_ts disabled -start_at_zero -pix_fmt yuv420p -preset superfast -crf 23 -maxrate 5068211 -bufsize 10136422 -x264opts:0 subme=0:rc_lookahead=10:me_range=4:me=dia:no_chroma_me:8x8dct=0:partitions=none -vsync -1 -map_metadata -1 -map_chapters -1 -threads 0 -codec:a:0 aac -strict experimental -ac 2 -ab 128000 -af "volume=2" -y "/var/packages/EmbyServer/target/var/transcoding-temp/35068d1055a4a879cab336d840c40511.ts" ffmpeg version 3.2.4-20170217T125043UTC Copyright (c) 2000-2017 the FFmpeg developers built with gcc 5.4.0 (GCC) configuration: --prefix=/var/packages/EmbyServer/target/ffmpeg --enable-cross-compile --cross-prefix=x86_64-pc-linux-gnu- --target-os=linux --disable-rpath --arch=x86_64 --enable-libzimg --enable-libmfx --enable-vaapi --enable-yasm --enable-gpl --enable-shared --disable-static --disable-debug --disable-ffplay --disable-ffserver --disable-doc --disable-htmlpages --disable-manpages --disable-podpages --disable-txtpages --enable-gnutls --enable-libass --enable-libmp3lame --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-libfreetype --enable-fontconfig --enable-gray --enable-libfribidi --enable-libvidstab --disable-indev=sndio --disable-outdev=sndio --extra-version=20170217T125043UTC --extra-libs='-lm -ldl -lrt -lpthread -llzma -lz -lstdc++ ' libavutil 55. 34.101 / 55. 34.101 libavcodec 57. 64.101 / 57. 64.101 libavformat 57. 56.101 / 57. 56.101 libavdevice 57. 1.100 / 57. 1.100 libavfilter 6. 65.100 / 6. 65.100 libswscale 4. 2.100 / 4. 2.100 libswresample 2. 3.100 / 2. 3.100 libpostproc 54. 1.100 / 54. 1.100 Input #0, matroska,webm, from
  7. Kimballslice1890

    Media loading/transcoding

    This issue is present for me on the current version of Emby server, not sure what version the issue began. I have not changed any of my server setup settings. The issue I am currently now having is accessing the Emby server and beginning to stream media, the full duration of the video starts at about 0:09 and gradually increases as watching. For example, if a video were to be 45 minutes long, when beginning to stream emby will show 0:00/0:09 and as I jump to the end the duration increases incrementally. This is very annoying especially if I am trying to seek through the playback or continue where I may have left off on another computer or account I have to have the video playing and continuously click the end of the video to expand my available seek. Looking for any help I can get with this. Its happening more frequently now, especially with newly added media content. I have tested on different browsers and client devices. Have attempted setting the quality to different levels, including auto, issue is present throughout all tests. This issue occurs when connecting inside of my LAN via HTTP and externally via HTTPS with the emby generated self signed cert. My server is running on Windows server 2008 R2 Virtual Machine 16 thread Xeon E5 2660 dedicated to the machine 8GB of RAM 12TB 7200RPM RAID 5 NAS for storage 70/70MBPS WAN and Gigabit LAN with a dedicated port on motherboard and switch for the VM. Maximum bandwidth for server is set to 35mbps via emby server management.
  8. ShoutingMan

    Comments on transcoding

    (I'd somewhat highjacked someone else's thread on transcoding. I'll leave theirs be and start this new one.) I had confusing experiences with Emby's transcoding. I did some intentional tests and better understand what's happening. These aren't bug reports. But I'm looking for more insights on how to best use Emby and ideally be able to live transcode content instead of having duplicate pre-transcoded copies. My system: Emby Premiere (3.2.9.0 during testing) ffmpeg is March 10, 2016 (I think) (installed by Emby into the Emby folders, I believe) Skylake i5 3.2 GHz (6th Gen 6500) Intel Graphics HD 530 Windows 10 Connected by 100Mbps switch to 1Gpbs LAN Testing by streaming to a 4th Gen AppleTV connected to the same 100Mbps switch running tvOS Emby
  9. The beta is certainly pretty and generally working well for me. However, I have run into an issue that affects me and probably others whose servers do not support transcoding very well. The problem has to do with subtitles. I first ran into this on a Japanese-language blu-ray that has also has an English audio track. The English audio track is the default, but I would prefer to hear the original and see the English captions that also come with the disc. Playback is smooth and continuous if captions are turned off. It starts and stops (with loading screens while stopped) if captions are turned on. Clearly, this is due to transcoding at the server end. I am running Emby server on my Synology 1813+, which has no hardware support for transcoding. FWIW, the video quality setting in the Roku app is set to AUTO. I have replicated this problem with another 1080p video. Turning on captions also causes the same behavior. I can supply log files if that would help, but from these data points it is pretty clear that the issue is transcoding at the server end. Is there any workaround for this? My Roku 4 is connected via HDMI to a Marantz av7702mkii receiver, and that sends the video via HDMI to an LG OLED65B6P UHDTV. Both the receiver and the HDTV have their own video decoding capabilities, so even if the Roku 4 may not be able to handle captions (I am not sure), either the receiver or the HDTV may be able to. Perhaps the answer to this is to put an option in the Roku app that tells it to take anything the server has directly (no transcoding at the server end) and then pass along anything that IT cannot transcode to whatever is upstream. Thanks!
  10. nwcatalyst

    Add HW Encoding for ODROID C2

    As discussed in this thread, would like to add HW encoding support for the ODROID C2. Another developer from the Hardkernel community has created a program that does the video encoding. We would just need team emby to create the code to re-pipe this into ffmpeg... The C2 would be an awesome and fully capable $40 emby box with this ability (for me, anyway... only looking to do a single 1080/720 stream). Thanks,
  11. Hi Everyone, Quick question: Is the Video Acceleration API (VA API) (found under: Emby Server, Transcoding, Hardware Acceleration, Video Acceleration API (VA API) (experimental) compatible with AMD GPUs? Thanks!
  12. I was experimenting with ffmpeg and I noticed that when Emby is transcoding it has ffmpeg leave the black bars untouched. Wouldn't it be more efficient to remove the black bars while transcoding since clients will put them back in on their own anyway? If I understand correctly, there would be performance gains and smaller file sizes in cropping out the black bars. Please correct me if I'm wrong.
  13. Greetings, I have NextPVR set up with my HDHR Connect to schedule and record live TV. The initial recording is a .ts file and for an hour show it was huge like 7-8 GB. Using ffmpeg I re-encoded the .ts file to an mp4 using these options: -c:v libx264 -preset slow -crf 26 -c:a aac. I've used these options before with mkv files and the resulting mp4 is able to be direct played on my xbox one, which is what I thought would happen here. Anyway, heres the problem: I try and play the new mp4 on my xbox one and it says I'm transcoding. (bitrate setting on app is set to auto) Weird. So I do my best to troubleshoot and try to play the same file on emby theater on my win 10 pc where my server lives. Still transcoding. So then I hook up my Dad's roku just to see what would happen and it direct streamed it with no buffering or stopping at all. For some reason the transcoding would not allow it to just play all the way through. So I guess I have two questions: 1) Why does my xbox have to transcode something i know it can direct play since all of my movies are mp4 and direct plays them with no problems. 2) If it can't direct play the file why can't the xbox direct stream it like the roku did which was great quality and no buffering/stopping? Attached are the server, remux, transcode log files, plus the media info for the file at hand. Thanks, server-63621468333.txt ffmpeg-remux-f42d1527-bb15-40a4-b4c3-e638d82bd902.txt ffmpeg-transcode-ab54a10c-5673-4f4d-8c50-e0e3b49e60c8.txt
  14. Hello, I have done a lot of reading up transcoding and multiple movie versions of the same title, but how things affect my exact scenario are a little unclear. I have a movie (movieA) of which I have two versions. One is a full blu ray rip, the other is a compressed version of the blu ray rip (via handbrake) that should be compatible with any playback client. Both are h264; each has different audio codec. /media/movies/movieA/movieA - bluray_rip.mkv (w/ dts master audio; 40mb/s total bitrate) /media/movies/movieA/movieA - compressed.mp4 (w/ AAC audiuo; 7mb/s total bitrate) Emby server picks up the multiple versions properly as expected. Here are my questions: If I try to play movieA on a client that fully supports the full blu ray rip file and has enough network bandwidth, the server should direct play the full blu ray rip. However, if I tried to play movieA on a client that supported everything in the full blu ray rip with the exception of the audio, would it still play the full blu ray rip file and only transcode the audio? Or would it just play the compressed file instead since the audio in that one should be compatible? (Would it sacrifice the far superior video quality just to avoid transcoding audio?) If I tried to play movieA on a client that supported everything in the full blu ray rip, but just didn't have enough bandwidth (bandwith at 30mb/s), would it just play the compressed file instead? Or would it transcode the full blu ray rip? There is a huge bitrate difference between the two files. My server should be capable of transcoding on the fly at a higher bitrate than the compressed file. (Since in this example the bandwidth is 30mb/s, would it sacrifice video quality by playing the compressed file instead of transcoding the full one at ~30mb/s?) I apologize if the answers are obvious. Just trying to understand exactly what happens behind the curtains.
  15. onehans

    Panasonic tv wont play transcoded MKV

    after struggle i found a way to play probably all video in my library via DLNA( the ones i have checked works ) i have two panasonic tv one old probably 7 years and one new just bought. profile that works for me on both tv is in transcoding tab TS, h264, mp3 it has to have option "enable M2ts mode" ON and other two off in advanced, and i removed MOV profile as well as DTS and AC3 from all profiles since they will not work on panasonic. now the problem 1. i have is that this tvs will play subtitles only on MKV container and as i said it wont play if i change TS to MKV. problem 2. is i cant pause or rewind for some reason despite trying options in advanced tab of profile and all posible combinations of MKV TS MP4 AVI my setup is QNAP 253 PRO and EMBY Version 3.1.2.0 my server is on intel and im using ffmpeg binary static 3.2.2 pls help
  16. My issue is related to playing to a chromecast and the server transcoding an HD mkv file instead of direct playing a folder-synced chromecast-quality version. Below is my setup: Emby Server 3.1.2.0 Folder Sync Plugin, version 3.0.6149.23393 Folder Sync Job HD TV Shows synced to external drive Sync job setup to convert new episodes ripped to mkv at 1080p resolution to the HD TV Shows sync folder using the General profile (which mentions compatability with chromecast) and High quality: For purposes of the log files attached, I attempted to play the s02e04 - Chuck Versus the Cougars - Chuck episode. My expectations is that when I cast one of my synced episodes to my Chromecast device, that the server would see the episode has a synced version that is compatible with the Chromecast device and direct play that version. This is how I interpret the Folder Sync help page's explanation of how it should work as well. However, the server is choosing the transcode the original mkv on the fly. I'm sure that I just don't have something setup correctly, or have missed an option somewhere but I can't seem to track it down on my own. Thanks to anyone and everyone who can help point me in the right direction. server-63619862400.txt ffmpeg-transcode-99604d7b-e27c-4328-8dbb-67c917a948d8.txt
  17. So I've searched google and the forums and haven't really come up with anything for my issue other than the fact that others seem to being having it in some form or another. As the title suggests, I have a Roku 3 and it seems to be transcoding content when it shouldn't be doing so. Rundown of system components: Roku 3 Model 4200X - Software Version: 7.5.0 build 4099-04 I've tried the regular Emby app (v2.25) and Emby Blue Neon Night (v4.01) Linux box running MB Server 3.1.2.0 I've attached a log file which shows my issue. I have (to the best of my knowledge) ensured that my files are in a suitable format for direct play but for whatever reason, transcoding persists. My current server is not suited to transcoding on the fly which is why this is important to me. Now, it's my understanding that the Roku 3 should be able to play H264 video and AAC audio in an MKV container directly. I have confirmed as much by inserting a flash drive containing such files directly into the Roku and watching them without incident. I am just at a loss at this point as to why the Roku will play these files from a flash drive but will not play the same files in the context of the Emby system. I've tried both the regular emby app and BNN versions. On the BNN version, forcing DirectPlay fails. Forcing DirectStream works but buffers at times (is this indicating a LAN speed issue?). When DirectStream is forced the server dashboard indicates that the file is being direct played. I'm not sure if that terminology is meant to be interchangeable like this but it is confusing and doesn't make it easier for me to reach any definitive conclusions. I've increased the bitrate to 30Mb/s on the MB client settings. The Roku is connected to a 1080p capable LG TV with onboard stereo speakers. Audio settings on the Roku app are set to "auto detect" and is accurately detecting that the TV is a stereo system. I'm not completely sure what all I'm looking at in the log file. I'm reasonably familiar with ffmpeg usage but emby is naturally using far more parameters than I would ever use and I haven't set down to decipher the complete command as of yet. I see the usage of the word "scale" with some math/variables and the numbers 1080 and 1920 being thrown around. It concerns me that the server may be upscaling the video from 720 to 1080 which I believe would be more efficiently handled by the TV or Roku. If this is indeed what is going on, can this behavior be turned off? Do the log files contain any of the "decision making" done by the server? By that, I mean, the server is deciding - based on a number of factors - to transcode and stream or to hand over a resource location to the client and let it play it handle it over the network. Are the relevant factors used in that decision making process logged anywhere? Are they in this log file and can someone tell me what they are? Can they be added to the log file by increasing verbosity in the logging system? My goal is to choose a file and have it direct play without being forced. I'm willing and able to do super complicated things the average user may not want to do in an effort to fix my system and help uncover issues which may be affecting others. Let me know if I can provide additional information. Log.txt
  18. When playing a Live TV stream the app defaults to full quality. When I try and change to a lower bitrate, the app stops playing and displays an error: Playback error: There was an error processing the request. Please try again later. Android app is 2.8.39 and Emby is running 3.1.2.0 on a QNAP NAS. Android app log and server log are attached. 5760c215-6535-4a20-a41c-628d5f29a1b3.log server.txt
  19. I was wondering about how streaming HD contenet down to SD works and how cpu intensive it is. Say you have a movie in 720 or 1080p but only want to stream it to a lower quality like 480 or 360. Would this count as a full transcoding, or lower? Im assuming a full but am not sure. My internet isn't good enough for high quality streams so that is a concern. Would direct play maybe be better overall?
  20. Right now I have Emby running on a NAS which was perfect for me at the beginning. It has plenty of storage and is always on. The downside is that it can only transcode 1 stream reliably, so if multiple people are watching remotely it can't keep up. I am looking for a box that will just be running the Emby server and has enough CPU to do multiple transcode streams (probably will use an SSD for transcode cache). I will still use the NAS for storage. I don't need any video card or anything along those lines (unless it is more cost effective to get one and utilize it for encoding, but I think a good processor is probably cheaper). I would like to keep the cost down as well. I have looked at some of the higher end NUC's, but the ones with better CPU's get pretty spendy because they are more targeted for gaming and have nice GPUs as well. Anyone have some good recommendations?
  21. Hello, I have an Emby server set up, and I'm moving it from my main PC to a spare I have set up that I can leave running 24/7. I bought a nice large HDD, but the problem is that the spare is just a cheap $300 machine without a real GPU. I plan on using my good gaming PC to encode everything I get into a format that won't require transcoding. What should I use? H.264? If so, which level or profile? What about audio? I don't know much about it, but I've heard AAC is good. I'm using handbrake for this. I've used it in the past, but usually my focus is always getting the smallest file size with the best quality. Now I'm more focused on making a video that can direct stream to anything from old iPods to PS4s... The one I plan on using has a i3-2120 processor (3.3Gh, 4 threads, supports Intel quicksync) and 4Gbs of RAM. Running Windows 7, although I could switch to something like Debian if it would be helpful. Any advice at all would be helpful.
  22. Hi all. I'd really appreciate a steer on where I'm going wrong with my Emby setup - it's becoming really frustrating! I have Emby Server (3.1.266.0 beta) set up in Lubuntu 16.04. My machine specs are as follows: i5 6600t HD 7950 3 GB 8GB RAM 1 TB 7200rpm HDD for media I have a powerline based home network using AV2 compliant adapters. I've tried a couple of different playback approaches - DNLA via my Bravia TV, Emby for Kodi on my RPi 2 and an old Android TV box (Minix Neo X7) but none work reliably. My media is really mixed in terms of formats and bitrates. I used to have an HTPC in the living room so had no problems with playback, but since moving to a server in another room I have had real trouble getting many things to play successfully. Higher quality files often stutter then fail and I have problems getting HEVC and other files to play at all at times. I'm happy that my network speed is decent - so I guess the issue is transcoding? I have used the Bravia 2014 profile in the past, but this didn't really help. Can someone please tell me what I need to look for in the logs? There's no info on profiles in the wiki so I'm a bit lost as to what to change to force transcoding and what settings would be best to ensure reliable playback. Attached are some recent logs - these will only show DNLA access via the TV I think Cheers ffmpeg-transcode-5b0315be-5855-4daa-8a47-e9bb820f6493.txt server-63618980178.txt
  23. FordGT90Concept

    HDHomeRun EXTEND transcoding profiles

    I have three general classes of devices I run Emby on: ​-Windows PCs, they would prefer MPEG2 -Amlogic S905/X, they would prefer MPEG4 "heavy" "mobile" -Surface 2 & smartphones, they would prefer MPEG4 "mobile" There's two situations: 1) Live TV: I assume Emby can request a specific profile from the HDHomeRun EXTEND and I also assume this isn't being done. If it is being done, then I get the impression it is broken because the default profile set in each EXTEND impacts the streams that are played from it. If it isn't automatically figuring this out, I'd like to be able to set it in Emby Server where Emby Theater requests MPEG2 and everything else gets MPEG4 "mobile." Is this possible now? It is possible to add? Is it something that will be added? 2) Recordings: This is where things get iffy because Emby Server itself isn't the destination where the video will be consumed. I think the best solution is to be able to select a transcoding profile on a per recording or series basis. For example, I know some series only get watched on the Windows computers so it would recorded as MPEG2. I know series may be watched on tablets or Amlogic boxes so it would be recorded as MPEG2 "mobile." Then there is sports events of all kinds need to be recorded as MPEG2 or MPEG4 "heavy" because MPEG4 "mobile" looks like crap. Is this possible now? It is possible to add? Is it something that will be added? HDHomeRun EXTEND are powerful little devices but options in Emby appear to prevent them from being used optimally. Edit: Apparently MPEG4 "heavy" is too much for the Amlogic 905/X devices. Here is what MPC-HC got off the recording: Video: MPEG4 Video (H264) 1920x1080 29.97fps [V: h264 high L4.0, yuv420p, 1920x1080] Audio: Dolby AC3 48000Hz stereo 384kbps [A: English [eng] (ac3, 48000 Hz, stereo, 384 kb/s)] Here's an MPEG4 "mobile": Video: MPEG4 Video (H264) 1280x720 29.97fps [V: h264 high L4.0, yuv420p, 1280x720] Audio: Dolby AC3 48000Hz 6ch 448kbps [A: English [eng] (ac3, 48000 Hz, 5.1, 448 kb/s)] That is of a football game which would definitely be at least 1080i. It appears "heavy" doesn't change resolution where "mobile" does.
  24. speedingcheetah

    Steaming not working - Black screen or error

    I posted about this issues before, but the forum seem to have been deleted. I have been unable to stream Live Tv to any device. I get " No compatible streams....error". I have refreshed the guide, restarted both sever and host computer. Problem started occurring 2 days ago. I use mainly Chrome to aces Emby. When I don't get the error message, it loads the payer box as if it was going to stream the channel or file, but its is just a black screen, sometimes, only the audio will start playing, the controls on the bottom of the player are dashes likes nothing is loaded. It seems local media files that do not require transcoding play fine, but nothing else will. The guide is accurate and recording works fine. I have recorded a few shows and was able to play back the recorded file with VLC just fine. But it will not play in Emby. I attached what logs i could find. Loga.txt Log2.txt
  25. Playback Error When I try to play a specific movie on either my Android TV box or my OnePlus 3 I get the attached error message, the Android TV client attempts it a couple of times before failing completely... If I navigate to this file directly and play it in VLC for Android or SPMC it plays fine, I've watched the film through and it's not corrupt or anything like that so I don't understand what's going on..? The error log doesn't seem to give much away but I gather it's not transcoding for whatever reason, I have created a custom path to a temp transcoding folder in the hope that would fix it, I've also downloaded the latest version of ffmpeg and pointed Emby to use that version instead as a just in case but nothing works... So I'm here to put it to you guys :-) Attached is the screenshot from Android and the log it produces on the server... Cheers! :-) transcode-log.txt
×
×
  • Create New...