Jump to content

help enable quick sync


Recommended Posts

Posted (edited)

Hi my PC I5 6600k with nvidia 770gtx ( pci express) set as primary

 

i have enabled intel gpu in bios and giving it 128mb of ram.... I have also install latest intel drivers  and I"m able to see both cards on the device manager.

 

but i can't get quicksync to work at all 

i turn it on under trans-coding tab  however everything works well with ffmpeg software mode  

 

post-196971-0-13688800-1490771552_thumb.png

 

I start a channel and wait wait nothing happens this on same PC/server emby running in software mode takes 3-4 seconds to display video

 

post-196971-0-40898300-1490771550_thumb.png

 

I closed the browser and  ffmpeg still running 30% cpu usage 

post-196971-0-25711800-1490771545_thumb.png

 

 

post-196971-0-45708000-1490772184_thumb.png

this are the settings 

 

 

hopefully someone can tell me what i'm doing wrong thx

 

 

post-196971-0-34565000-1490773839_thumb.png 

with dvi cable connected to onboard video card  don't see ffmpeg but emby and chrome cpu usage jump to 10%+ compared to 1.6% under software mode

 

 

here the log as well 

http://localhost:8096/emby/videos/6653d9559b3c9c6a83d1e808ce13e8c7/live.m3u8?DeviceId=958100b9943cf7f5889234e34784012ebffe5781&MediaSourceId=4495a619a3e546a0ab5bedc3ce11ee85_native_29bcd7cee0229f127adf68fad5e0033b&VideoCodec=h264&AudioCodec=aac,mp3&AudioStreamIndex=1&VideoBitrate=1066282666&AudioBitrate=384000&Level=51&Profile=high&PlaySessionId=1bb5e924d9ff4718812071b6cd4433f0&api_key=7478362ac81046d5aae138592eb73da2&LiveStreamId=a17c75760a04e99b68cf766e11316e1c_09efa0d56b934a82adec00a87b837fb0_4495a619a3e546a0ab5bedc3ce11ee85_native_29bcd7cee0229f127adf68fad5e0033b&CopyTimestamps=false&TranscodingMaxAudioChannels=6&EnableSubtitlesInManifest=false&RequireAvc=true

{"Protocol":"Http","Id":"4495a619a3e546a0ab5bedc3ce11ee85_native_29bcd7cee0229f127adf68fad5e0033b","Path":"http://127.0.0.1:8096/LiveTv/LiveStreamFiles/d7cbf0bd17ff4b71b9507b61424771c5/stream.ts","Type":"Default","Container":"mpegts","IsRemote":false,"ReadAtNativeFramerate":false,"SupportsTranscoding":true,"SupportsDirectStream":true,"SupportsDirectPlay":false,"IsInfiniteStream":true,"RequiresOpening":true,"RequiresClosing":true,"SupportsProbing":true,"LiveStreamId":"a17c75760a04e99b68cf766e11316e1c_09efa0d56b934a82adec00a87b837fb0_4495a619a3e546a0ab5bedc3ce11ee85_native_29bcd7cee0229f127adf68fad5e0033b","BufferMs":0,"MediaStreams":[{"Codec":"mpeg2video","TimeBase":"1/90000","CodecTimeBase":"1001/60000","IsInterlaced":true,"BitRate":8000000,"RefFrames":1,"IsDefault":false,"IsForced":false,"Height":1080,"Width":1920,"AverageFrameRate":29.97003,"RealFrameRate":29.97003,"Profile":"Main","Type":"Video","AspectRatio":"16:9","Index":0,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"PixelFormat":"yuv420p","Level":4,"IsAnamorphic":false},{"Codec":"ac3","Language":"eng","TimeBase":"1/90000","CodecTimeBase":"1/48000","DisplayTitle":"Eng Dolby Digital 5.1","IsInterlaced":false,"ChannelLayout":"5.1","BitRate":448000,"Channels":6,"SampleRate":48000,"IsDefault":false,"IsForced":false,"Type":"Audio","Index":1,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":0},{"Codec":"ac3","Language":"spa","TimeBase":"1/90000","CodecTimeBase":"1/48000","DisplayTitle":"Spa Dolby Digital stereo","IsInterlaced":false,"ChannelLayout":"stereo","BitRate":192000,"Channels":2,"SampleRate":48000,"IsDefault":false,"IsForced":false,"Type":"Audio","Index":2,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":0},{"Codec":"ac3","Language":"por","TimeBase":"1/90000","CodecTimeBase":"1/48000","DisplayTitle":"Por Dolby Digital stereo","IsInterlaced":false,"ChannelLayout":"stereo","BitRate":192000,"Channels":2,"SampleRate":48000,"IsDefault":false,"IsForced":false,"Type":"Audio","Index":4,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":0}],"PlayableStreamFileNames":[],"Formats":[],"Bitrate":8832000,"RequiredHttpHeaders":{},"AnalyzeDurationMs":2000,"DefaultAudioStreamIndex":1}

C:\Users\ATT\AppData\Roaming\Emby-Server\ffmpeg\20160410\ffmpeg.exe -analyzeduration 2000000 -c:v mpeg2_qsv  -i "http://127.0.0.1:8096/LiveTv/LiveStreamFiles/d7cbf0bd17ff4b71b9507b61424771c5/stream.ts" -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 h264_qsv -preset 7 -look_ahead 0 -b:v 8000000 -maxrate 8000000 -bufsize 16000000 -vsync -1 -profile:v high -level 4.1 -force_key_frames "expr:gte(t,n_forced*3)" -vf "yadif=0:-1:0" -flags -global_header -max_delay 5000000 -avoid_negative_ts disabled -start_at_zero -codec:a:0 aac -strict experimental -ac 6 -ab 384000 -af "adelay=1,aresample=async=1" -hls_time 3 -individual_header_trailer 0 -start_number 0 -hls_list_size 0 -hls_base_url "hls/ee4c1cf5564679e3d242be9052c856b1/" -y "C:\Users\ATT\AppData\Roaming\Emby-Server\transcoding-temp\ee4c1cf5564679e3d242be9052c856b1.m3u8"


ffmpeg version N-79277-g0c90b2e Copyright (c) 2000-2016 the FFmpeg developers
  built with gcc 5.3.0 (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-libmfx --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-lzma --enable-decklink --enable-zlib
  libavutil      55. 20.100 / 55. 20.100
  libavcodec     57. 34.100 / 57. 34.100
  libavformat    57. 32.100 / 57. 32.100
  libavdevice    57.  0.101 / 57.  0.101
  libavfilter     6. 41.100 /  6. 41.100
  libswscale      4.  1.100 /  4.  1.100
  libswresample   2.  0.101 /  2.  0.101
  libpostproc    54.  0.100 / 54.  0.100
[mpegts @ 00000000024f3140] Could not find codec parameters for stream 3 (Unknown: none ([134][0][0][0] / 0x0086)): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options
Input #0, mpegts, from 'http://127.0.0.1:8096/LiveTv/LiveStreamFiles/d7cbf0bd17ff4b71b9507b61424771c5/stream.ts':
  Duration: N/A, start: 23108.599733, bitrate: N/A
  Program 766 
    Stream #0:0[0x1ded]: Video: mpeg2video ([2][0][0][0] / 0x0002), nv12, 1920x1080, max. 64000 kb/s, 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc
    Stream #0:1[0x1dee](eng): Audio: ac3 ([129][0][0][0] / 0x0081), 48000 Hz, 5.1(side), fltp, 448 kb/s
    Stream #0:2[0x1def](spa): Audio: ac3 ([129][0][0][0] / 0x0081), 48000 Hz, stereo, fltp, 192 kb/s
    Stream #0:3[0x1df0]: Unknown: none ([134][0][0][0] / 0x0086)
    Stream #0:4[0x1df1](por): Audio: ac3 ([129][0][0][0] / 0x0081), 48000 Hz, stereo, fltp, 192 kb/s (visual impaired)
Output #0, hls, to 'C:\Users\ATT\AppData\Roaming\Emby-Server\transcoding-temp\ee4c1cf5564679e3d242be9052c856b1.m3u8':
  Metadata:
    encoder         : Lavf57.32.100
    Stream #0:0: Video: h264 (h264_qsv), nv12, 1920x1080, q=2-31, 8000 kb/s, 29.97 fps, 90k tbn, 29.97 tbc
    Metadata:
      encoder         : Lavc57.34.100 h264_qsv
    Side data:
      cpb: bitrate max/min/avg: 8000000/0/8000000 buffer size: 16000000 vbv_delay: -1
    Stream #0:1: Audio: aac (LC), 48000 Hz, 5.1, fltp, 384 kb/s
    Metadata:
      encoder         : Lavc57.34.100 aac
Stream mapping:
  Stream #0:0 -> #0:0 (mpeg2video (mpeg2_qsv) -> h264 (h264_qsv))
  Stream #0:1 -> #0:1 (ac3 (native) -> aac (native))
Press [q] to stop, [?] for help
[ac3 @ 0000000002ccaac0] frame sync error
Error while decoding stream #0:1: Invalid data found when processing input
Edited by rrmelgar
daedalus
Posted

i recommend to first update your ffmpeg bulid

yours (20160410) is nearly a year old :blink:

Posted

I'm using the stable release v3.2.7.0 release

What version should i use...

daedalus
Posted

no i don't mean the server itself but ffmpeg

 

in your log i just saw your using a build from 2016-04-10

its possible that this just too old and simply don't support quick sync

 

you can get a newer one from here https://ffmpeg.zeranoe.com/builds/

Posted

What he's saying is that you could try downloading a newer ffmpeg. Then you can configure it in the Emby Server dashboard under the Transcoding menu.

Posted (edited)

I just dropped ffmpeg "ffmpeg-20170327-d65b595-win64-static"  from https://ffmpeg.zeranoe.com/builds/

effectely replacing the ones on my  C:\Users\ATT\AppData\Roaming\Emby-Server\ffmpeg\20160410 folder ffmepg and ffprobe

 

still get all black screem  with quicksync enable I don't see ffmpeg come up on task manager at all  also tried  with NVenc  same results 

is there a special version i though this will be as easy as enabling the option on menu B)

 

I can navigate through menus and channels but ones I load a channel loading  screen animation just spins and spins 

 

with software mode everything works fine with the new ffmpeg 

Log new ffmpeg.txt

Edited by rrmelgar

Create an account or sign in to comment

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

Create an account

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

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...