witteschnitte 7 Posted October 26, 2015 Author Share Posted October 26, 2015 Very nice. Big thanks to all you guys!!! Link to comment Share on other sites More sharing options...
Spaceboy 2500 Posted October 26, 2015 Share Posted October 26, 2015 hello, if i enable quicksync all files in my library play fine but live and recorded tv stream failed. posted about it here, all logs attached. cheers http://emby.media/community/index.php?/topic/16771-devdvblink-live-tv-plugin/?p=256659 Link to comment Share on other sites More sharing options...
Tranquil 93 Posted October 27, 2015 Share Posted October 27, 2015 Very nice. Big thanks to all you guys!!! Dont know if you read Lukes post above yours. If you enable QSV on your Intel GPU it is only using hardware for the decoding process. Encoding is still software. Anyway, CPU load is reduced and this is one of the first steps of a maybe fully support of hw transcoding. Link to comment Share on other sites More sharing options...
robgfaulkner 15 Posted October 27, 2015 Share Posted October 27, 2015 (edited) This may be a dumb question but my Server has an AMD 8-Core FX-8350 and 2 GTX-970 Nvidia GPUs. Anyway I can enable hardware GPU NVENC without having an Intel CPU? If so, are there some instructions? Reading through this thread has left the answer unclear. Edited October 27, 2015 by robgfaulkner Link to comment Share on other sites More sharing options...
Luke 37151 Posted October 27, 2015 Share Posted October 27, 2015 This may be a dumb question but my Server has an AMD 8-Core FX-8350 and 2 GTX-970 Nvidia GPUs. Anyway I can enable hardware GPU NVENC without having an Intel CPU? If so, are there some instructions? Reading through this thread has left the answer unclear. Nvidia is not implemented at this time, and i'm not sure we can legally distribute it so it might be in limbo due to that. Link to comment Share on other sites More sharing options...
robgfaulkner 15 Posted October 27, 2015 Share Posted October 27, 2015 Nvidia is not implemented at this time, and i'm not sure we can legally distribute it so it might be in limbo due to that. Ok, then let me rephrase my question. I'm a developer of 25+ years. I understand there is a version of ffmpeg out there that will do NVENC. Am I correct? If so, could I do my own build and use that? And if I did that, and took the risk, are their any existing MAKE files available to ensure it would work with Emby Server? And even if I can't redistribute, I can still use it on my machine yes? I am sure I can figure out how to get ffmpeg to build. And to be honest, from what I see there are many builds out there already implementing NVENC for ffmpeg. Can you provide a link to some basic info on what I would need to do to get this going? Thanks, Link to comment Share on other sites More sharing options...
Luke 37151 Posted October 27, 2015 Share Posted October 27, 2015 at the moment you can't because emby server is not coded to take advantage of it. however, since you're a seasoned developer if you wanted to help out and research the required command line parameters for hvenc decoding & encoding, then we can quickly add them in. 1 Link to comment Share on other sites More sharing options...
robgfaulkner 15 Posted October 27, 2015 Share Posted October 27, 2015 Ok, well looks like I have a new project for this weekend. I drool for SLI based 970 GTX transcoding. Rob 4 Link to comment Share on other sites More sharing options...
Deihmos 147 Posted October 27, 2015 Share Posted October 27, 2015 (edited) Is this a core i3? I'm thinking of downgrading to a core i3 4130T for significant power consumption savings... Just wondered if its good enough for a couple of streams??? Do not do it. The 4130T is less powerful than the 4130 and both use pretty much the same power when idling. If you want to reduce performance and power you can easily down clock. My system with the i3-4130 idles at 7-8 watts. There was a comparison about it when I was researching cpus. Edited October 27, 2015 by Deihmos 2 Link to comment Share on other sites More sharing options...
jeromem75 0 Posted October 29, 2015 Share Posted October 29, 2015 (edited) I have a brand new NUC5i7RYH with IRIS 6100 and selected Intel Quicksync on the stable release of Emby but try to transcode a HD MKV movie , my cpu still goes all the way to 100% Should I use the Beta release or the stable version should work with Quick Sync now ? Edit: restarted the server . ffmpeg.exe cpu reach 85.5 % for the first minute then goes between 30 for a while with some spikes to 80% so I guess it is working. I guess it is normal. Edited October 29, 2015 by jeromem75 Link to comment Share on other sites More sharing options...
fantaxp7 190 Posted October 29, 2015 Share Posted October 29, 2015 Will this work win emby installed on a VM? I wouldn't think so but figured I'd ask. I suppose if/when robgfaulkner is successful I could passthrough an nvidia card to the vm 1 Link to comment Share on other sites More sharing options...
Karbowiak 27 Posted November 1, 2015 Share Posted November 1, 2015 Ok, well looks like I have a new project for this weekend. I drool for SLI based 970 GTX transcoding. Rob Only issue, nvenc will only do two transcode streams at the same time, and also it doesn't matter if you have a 970, two 970s or a more lowly 950 - it's still 2, and also it uses specialized hardware on the board, so you're not even gaining anything by using a 970 over a 950 (Or hell, even a 6xx series, or 7xx series for that matter) That and, Server with two 970s in SLi ?! dafuq? Link to comment Share on other sites More sharing options...
robgfaulkner 15 Posted November 3, 2015 Share Posted November 3, 2015 Only issue, nvenc will only do two transcode streams at the same time, and also it doesn't matter if you have a 970, two 970s or a more lowly 950 - it's still 2, and also it uses specialized hardware on the board, so you're not even gaining anything by using a 970 over a 950 (Or hell, even a 6xx series, or 7xx series for that matter) That and, Server with two 970s in SLi ?! dafuq? Yeah, dafuq is what I thought too. But, its all on my main computer box (aka Gaming box). It has a 4TB RAID 1 so I put all my media on it. Eventually, the plan is to move everything off to QNAP NAS, but that will be later. I was looking at using the 970s for transcoding. Honestly, 2 streams is about all I ever have going, but from all I have read, there can be quality issues. I started dinking around this weekend, I will post an update soon. 1 Link to comment Share on other sites More sharing options...
MSattler 387 Posted November 5, 2015 Share Posted November 5, 2015 Will this work win emby installed on a VM? I wouldn't think so but figured I'd ask. I suppose if/when robgfaulkner is successful I could passthrough an nvidia card to the vm For now it will have to be Nvidia if/when it get's added. Intel Onboard GPU's currently cannot be succesfully passed through for QuickSync. I've tried for weeks now on ESXi 6.0. 1 Link to comment Share on other sites More sharing options...
Luke 37151 Posted November 6, 2015 Share Posted November 6, 2015 i have added GPU encoding for QSV to the dev branch. It uses the same setting as decoding right now, so if you already have that enabled, there's nothing else you need to do. If anyone runs dev please test and let me know how it goes. thanks. Link to comment Share on other sites More sharing options...
jmgriffes 6 Posted November 6, 2015 Share Posted November 6, 2015 i have added GPU encoding for QSV to the dev branch. It uses the same setting as decoding right now, so if you already have that enabled, there's nothing else you need to do. If anyone runs dev please test and let me know how it goes. thanks. You just have to go tempting me onto the Dev branch again Luke... Goodness... Link to comment Share on other sites More sharing options...
ice pube 20 Posted November 6, 2015 Share Posted November 6, 2015 I tried reading this thread but I am over my head. Will support for my nvidia 650ti be possible? Link to comment Share on other sites More sharing options...
robgfaulkner 15 Posted November 6, 2015 Share Posted November 6, 2015 (edited) I tried reading this thread but I am over my head. Will support for my nvidia 650ti be possible? If that Nvidia 650ti has the NVENC hardware I think it will be possible. Now, on a different note. After careful consideration I have decided to move everything to a NAS, so I order a QNAP TS-453 Pro yesterday and 12TB of drives. I will be moving my stuff over to that next week once the hardware gets in. I will still try to get NVENC transcoding going tho. I really like Emby and want to help out the community. Edited November 6, 2015 by robgfaulkner Link to comment Share on other sites More sharing options...
dark_slayer 103 Posted November 7, 2015 Share Posted November 7, 2015 If that Nvidia 650ti has the NVENC hardware I think it will be possible. Now, on a different note. After careful consideration I have decided to move everything to a NAS, so I order a QNAP TS-453 Pro yesterday and 12TB of drives. I will be moving my stuff over to that next week once the hardware gets in. I will still try to get NVENC transcoding going tho. I really like Emby and want to help out the community. Curious how you ended up with that choice? Anyone with the very basic skills of DIY computer building would have a much better emby server for a lower price building their own. You seem to have your own custom gaming rig. A server would have been cheaper with much more flexibility. If transcoding is of any importance, that QNAP's measly celeron will likely only provide one "full-rip-to-low-bitrate" transcode Link to comment Share on other sites More sharing options...
colejack 30 Posted November 9, 2015 Share Posted November 9, 2015 For now it will have to be Nvidia if/when it get's added. Intel Onboard GPU's currently cannot be succesfully passed through for QuickSync. I've tried for weeks now on ESXi 6.0. So if I pass a nVidia card to a vm in ESXI it will be able to use the acceleration once its enabled in Emby? That'll be nice. Link to comment Share on other sites More sharing options...
eTomm 4 Posted November 9, 2015 Share Posted November 9, 2015 For now it will have to be Nvidia if/when it get's added. Intel Onboard GPU's currently cannot be succesfully passed through for QuickSync. I've tried for weeks now on ESXi 6.0. You should try kvm or xen and iGVT-g. I learned too that ESXi is not that good at passthrough. Link to comment Share on other sites More sharing options...
testype 0 Posted November 10, 2015 Share Posted November 10, 2015 (edited) i have added GPU encoding for QSV to the dev branch. It uses the same setting as decoding right now, so if you already have that enabled, there's nothing else you need to do. If anyone runs dev please test and let me know how it goes. thanks. Thanks for all the implementations! I tried dev version (3.0.5791.23954) on my Intel Atom J1800 PC(http://ark.intel.com/ko/products/78866/Intel-Celeron-Processor-J1800-1M-Cache-up-to-2_58-GHz) ,which using AirVideo / Handbrake w/ qsv option consistently. When I tried with setting 'Transcode - Hardware decoder' as Intel Quicksync and using babgvant's ffmpeg (http://babgvant.com/downloads/emby/20150918.zip, thanks to babgvant!), it always failed with result 1 as follows. 2015-11-10 10:34:46.7540 Info App: C:\Users\Administrator.WINNAS\AppData\Roaming\Emby-Server\ffmpeg\20150918\ffmpeg.exe -loglevel debug -fflags +genpts -c:v h264_qsv -i file:"D:\contents\Movies\video.mp4" -map 0:0 -map 0:1 -map -0:s -codec:v:0 h264_qsv -force_key_frames expr:gte(t,n_forced*5) -vf "scale=min(iw\,426):trunc(ow/dar/2)*2:flags=fast_bilinear" -pix_fmt yuv420p -preset 7 -b:v 64000 -vsync vfr -profile:v high -level 4.1 -map_metadata -1 -threads 2 -codec:a:0 aac -strict experimental -ac 2 -ab 128000 -af "aresample=async=1" -y "C:\Users\Administrator.WINNAS\AppData\Roaming\Emby-Server\transcoding-temp\d483c525673ad0bb0183d0e93334e23e.ts" 2015-11-10 10:34:47.3831 Debug App: Disposing stream resources 2015-11-10 10:34:47.3871 Info App: FFMpeg exited with code 1 I can't find any problem in transcode log (even w/ debug log enabled on config), thus I tried to run ffmpeg with the same option above then got a following log: C:\Users\Administrator.WINNAS\AppData\Roaming\Emby-Server\transcoding-temp>C:\Us ers\Administrator.WINNAS\AppData\Roaming\Emby-Server\ffmpeg\20150918\ffmpeg.exe -loglevel debug -fflags +genpts -c:v h264_qsv -i file:"D:\contents\Movies\video .mp4" -map 0:0 -map 0:1 -map -0:s -code c:v:0 h264_qsv -force_key_frames expr:gte(t,n_forced*5) -vf "scale=min(iw\,426): trunc(ow/dar/2)*2:flags=fast_bilinear" -pix_fmt yuv420p -preset 7 -b:v 64000 -vs ync vfr -profile:v high -level 4.1 -map_metadata -1 -threads 2 -codec:a:0 aac -s trict experimental -ac 2 -ab 128000 -af "aresample=async=1" -y "C:\Users\Adminis trator.WINNAS\AppData\Roaming\Emby-Server\transcoding-temp\d483c525673ad0bb0183d 0e93334e23e.ts" ffmpeg version N-75410-g58fe57d Copyright (c) 2000-2015 the FFmpeg developers built with gcc 5.2.0 (GCC) configuration: --arch=x86_64 --target-os=mingw32 --cross-prefix=/home/mceuser/ ffmpeg-windows-build-helpers/sandbox/mingw-w64-x86_64/bin/x86_64-w64-mingw32- -- pkg-config=pkg-config --disable-w32threads --enable-gpl --enable-libsoxr --enabl e-fontconfig --enable-libass --enable-libutvideo --enable-libbluray --enable-ico nv --enable-libtwolame --extra-cflags=-DLIBTWOLAME_STATIC --enable-libzvbi --ena ble-libcaca --enable-libmodplug --extra-libs=-lstdc++ --extra-libs=-lpng --enabl e-libvidstab --enable-libx265 --enable-decklink --extra-libs=-loleaut32 --enable -libx264 --enable-libxvid --enable-libmp3lame --enable-version3 --enable-zlib -- enable-librtmp --enable-libvorbis --enable-libtheora --enable-libspeex --enable- libopenjpeg --enable-gnutls --enable-libgsm --enable-libfreetype --enable-libopu s --enable-frei0r --enable-filter=frei0r --enable-libvo-aacenc --enable-bzlib -- enable-libxavs --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-li bvo-amrwbenc --enable-libschroedinger --enable-libvpx --enable-libilbc --enable- libwavpack --enable-libwebp --enable-libgme --enable-dxva2 --enable-libdcadec -- enable-avisynth --enable-gray --enable-libmfx --extra-libs=-lpsapi --extra-cflag s= --enable-static --disable-shared --prefix=/home/mceuser/ffmpeg-windows-build- helpers/sandbox/mingw-w64-x86_64/x86_64-w64-mingw32 --enable-runtime-cpudetect libavutil 55. 2.100 / 55. 2.100 libavcodec 57. 3.100 / 57. 3.100 libavformat 57. 2.100 / 57. 2.100 libavdevice 57. 0.100 / 57. 0.100 libavfilter 6. 5.100 / 6. 5.100 libswscale 4. 0.100 / 4. 0.100 libswresample 2. 0.100 / 2. 0.100 libpostproc 54. 0.100 / 54. 0.100 Splitting the commandline. Reading option '-loglevel' ... matched as option 'loglevel' (set logging level) with argument 'debug'. Reading option '-fflags' ... matched as AVOption 'fflags' with argument '+genpts '. Reading option '-c:v' ... matched as option 'c' (codec name) with argument 'h264 _qsv'. Reading option '-i' ... matched as input file with argument 'file:D:\contents\Mo vies\video.mp4'. Reading option '-map' ... matched as option 'map' (set input stream mapping) wit h argument '0:0'. Reading option '-map' ... matched as option 'map' (set input stream mapping) wit h argument '0:1'. Reading option '-map' ... matched as option 'map' (set input stream mapping) wit h argument '-0:s'. Reading option '-codec:v:0' ... matched as option 'codec' (codec name) with argu ment 'h264_qsv'. Reading option '-force_key_frames' ... matched as option 'force_key_frames' (for ce key frames at specified timestamps) with argument 'expr:gte(t,n_forced*5)'. Reading option '-vf' ... matched as option 'vf' (set video filters) with argumen t 'scale=min(iw\,426):trunc(ow/dar/2)*2:flags=fast_bilinear'. Reading option '-pix_fmt' ... matched as option 'pix_fmt' (set pixel format) wit h argument 'yuv420p'. Reading option '-preset' ... matched as AVOption 'preset' with argument '7'. Reading option '-b:v' ... matched as option 'b' (video bitrate (please use -b:v) ) with argument '64000'. Reading option '-vsync' ... matched as option 'vsync' (video sync method) with a rgument 'vfr'. Reading option '-profile:v' ... matched as option 'profile' (set profile) with a rgument 'high'. Reading option '-level' ... matched as AVOption 'level' with argument '4.1'. Reading option '-map_metadata' ... matched as option 'map_metadata' (set metadat a information of outfile from infile) with argument '-1'. Reading option '-threads' ... matched as AVOption 'threads' with argument '2'. Reading option '-codec:a:0' ... matched as option 'codec' (codec name) with argu ment 'aac'. Reading option '-strict' ...Routing option strict to both codec and muxer layer matched as AVOption 'strict' with argument 'experimental'. Reading option '-ac' ... matched as option 'ac' (set number of audio channels) w ith argument '2'. Reading option '-ab' ... matched as option 'ab' (audio bitrate (please use -b:a) ) with argument '128000'. Reading option '-af' ... matched as option 'af' (set audio filters) with argumen t 'aresample=async=1'. Reading option '-y' ... matched as option 'y' (overwrite output files) with argu ment '1'. Reading option 'C:\Users\Administrator.WINNAS\AppData\Roaming\Emby-Server\transc oding-temp\d483c525673ad0bb0183d0e93334e23e.ts' ... matched as output file. Finished splitting the commandline. Parsing a group of options: global . Applying option loglevel (set logging level) with argument debug. Applying option vsync (video sync method) with argument vfr. Applying option y (overwrite output files) with argument 1. Successfully parsed a group of options. Parsing a group of options: input file file:D:\contents\Movies\video.mp4. Applying option c:v (codec name) with argument h264_qsv. Successfully parsed a group of options. Opening an input file: file:D:\contents\Movies\video.mp4. [mov,mp4,m4a,3gp,3g2,mj2 @ 000000000559bfe0] Format mov,mp4,m4a,3gp,3g2,mj2 prob ed with size=2048 and score=100 [mov,mp4,m4a,3gp,3g2,mj2 @ 000000000559bfe0] ISO: File Type Major Brand: isom [mov,mp4,m4a,3gp,3g2,mj2 @ 000000000559bfe0] Before avformat_find_stream_info() pos: 2526028012 bytes read:3817797 seeks:1 [h264_qsv @ 00000000055ae0e0] Initialized an internal MFX session using hardware accelerated implementation [mov,mp4,m4a,3gp,3g2,mj2 @ 000000000559bfe0] All info found [mov,mp4,m4a,3gp,3g2,mj2 @ 000000000559bfe0] After avformat_find_stream_info() p os: 91443 bytes read:3909192 seeks:2 frames:3 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'file:D:\contents\Movies\video.mp4': Metadata: major_brand : isom minor_version : 512 compatible_brands: isomiso2avc1mp41 encoder : ShanaEncoder Duration: 02:05:36.02, start: 0.000000, bitrate: 2681 kb/s Stream #0:0(und), 1, 1/24000: Video: h264 (Baseline), 1 reference frame (avc 1 / 0x31637661), nv12, 1280x720, 1/24000, 2485 kb/s, 23.98 fps, 23.98 tbr, 24k t bn, 24k tbc (default) Metadata: handler_name : VideoHandler Stream #0:1(und), 2, 1/48000: Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 192 kb/s (default) Metadata: handler_name : SoundHandler Successfully opened the file. Parsing a group of options: output file C:\Users\Administrator.WINNAS\AppData\Ro aming\Emby-Server\transcoding-temp\d483c525673ad0bb0183d0e93334e23e.ts. Applying option map (set input stream mapping) with argument 0:0. Applying option map (set input stream mapping) with argument 0:1. Applying option map (set input stream mapping) with argument -0:s. Applying option codec:v:0 (codec name) with argument h264_qsv. Applying option force_key_frames (force key frames at specified timestamps) with argument expr:gte(t,n_forced*5). Applying option vf (set video filters) with argument scale=min(iw\,426):trunc(ow /dar/2)*2:flags=fast_bilinear. Applying option pix_fmt (set pixel format) with argument yuv420p. Applying option b:v (video bitrate (please use -b:v)) with argument 64000. Applying option profile:v (set profile) with argument high. Applying option map_metadata (set metadata information of outfile from infile) w ith argument -1. Applying option codec:a:0 (codec name) with argument aac. Applying option ac (set number of audio channels) with argument 2. Applying option ab (audio bitrate (please use -b:a)) with argument 128000. Applying option af (set audio filters) with argument aresample=async=1. Successfully parsed a group of options. Opening an output file: C:\Users\Administrator.WINNAS\AppData\Roaming\Emby-Serve r\transcoding-temp\d483c525673ad0bb0183d0e93334e23e.ts. Successfully opened the file. [Parsed_scale_0 @ 000000000559bf20] Setting 'w' to value 'min(iw,426)' [Parsed_scale_0 @ 000000000559bf20] Setting 'h' to value 'trunc(ow/dar/2)*2' [Parsed_scale_0 @ 000000000559bf20] Setting 'flags' to value 'fast_bilinear' [Parsed_scale_0 @ 000000000559bf20] w:min(iw,426) h:trunc(ow/dar/2)*2 flags:'fas t_bilinear' interl:0 [graph 0 input from stream 0:0 @ 00000000055a5680] Setting 'video_size' to value '1280x720' [graph 0 input from stream 0:0 @ 00000000055a5680] Setting 'pix_fmt' to value '2 5' [graph 0 input from stream 0:0 @ 00000000055a5680] Setting 'time_base' to value '1/24000' [graph 0 input from stream 0:0 @ 00000000055a5680] Setting 'pixel_aspect' to val ue '0/1' [graph 0 input from stream 0:0 @ 00000000055a5680] Setting 'sws_param' to value 'flags=2' [graph 0 input from stream 0:0 @ 00000000055a5680] Setting 'frame_rate' to value '24000/1001' [graph 0 input from stream 0:0 @ 00000000055a5680] w:1280 h:720 pixfmt:nv12 tb:1 /24000 fr:24000/1001 sar:0/1 sws_param:flags=2 Incompatible pixel format 'yuv420p' for codec 'h264_qsv', auto-selecting format 'nv12' [format @ 0000000005666be0] compat: called with args=[nv12] [format @ 0000000005666be0] Setting 'pix_fmts' to value 'nv12' [AVFilterGraph @ 000000000559b480] query_formats: 4 queried, 3 merged, 0 already done, 0 delayed [Parsed_scale_0 @ 000000000559bf20] w:1280 h:720 fmt:nv12 sar:0/1 -> w:426 h:238 fmt:nv12 sar:0/1 flags:0x1 [Parsed_aresample_0 @ 00000000055a3fa0] Setting 'async' to value '1' [graph 1 input from stream 0:1 @ 00000000055a4060] Setting 'time_base' to value '1/48000' [graph 1 input from stream 0:1 @ 00000000055a4060] Setting 'sample_rate' to valu e '48000' [graph 1 input from stream 0:1 @ 00000000055a4060] Setting 'sample_fmt' to value 'fltp' [graph 1 input from stream 0:1 @ 00000000055a4060] Setting 'channel_layout' to v alue '0x3' [graph 1 input from stream 0:1 @ 00000000055a4060] tb:1/48000 samplefmt:fltp sam plerate:48000 chlayout:0x3 [audio format for output stream 0:1 @ 00000000057ff840] Setting 'sample_fmts' to value 'fltp' [audio format for output stream 0:1 @ 00000000057ff840] Setting 'sample_rates' t o value '96000|88200|64000|48000|44100|32000|24000|22050|16000|12000|11025|8000| 7350' [audio format for output stream 0:1 @ 00000000057ff840] Setting 'channel_layouts ' to value '0x3' [AVFilterGraph @ 000000000565f160] query_formats: 4 queried, 9 merged, 0 already done, 0 delayed [Parsed_aresample_0 @ 00000000055a3fa0] [SWR @ 0000000005800020] Using fltp inte rnally between filters [Parsed_aresample_0 @ 00000000055a3fa0] ch:2 chl:stereo fmt:fltp r:48000Hz -> ch :2 chl:stereo fmt:fltp r:48000Hz [h264_qsv @ 00000000056b0320] Initialized an internal MFX session using hardware accelerated implementation [h264_qsv @ 00000000056b0320] Using the lookahead (LA) ratecontrol method [h264_qsv @ 00000000056b0320] Error initializing the encoder Output #0, mpegts, to 'C:\Users\Administrator.WINNAS\AppData\Roaming\Emby-Server \transcoding-temp\d483c525673ad0bb0183d0e93334e23e.ts': Stream #0:0, 0, 0/0: Video: h264, 1 reference frame, none, q=2-31, 128 kb/s, 23.98 fps (default) Metadata: encoder : Lavc57.3.100 h264_qsv Stream #0:1, 0, 0/0: Audio: aac, 0 channels, 128 kb/s (default) Metadata: encoder : Lavc57.3.100 aac Stream mapping: Stream #0:0 -> #0:0 (h264 (h264_qsv) -> h264 (h264_qsv)) Stream #0:1 -> #0:1 (aac (native) -> aac (native)) Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height [AVIOContext @ 000000000a460ba0] Statistics: 0 seeks, 0 writeouts [AVIOContext @ 00000000055a5760] Statistics: 3909192 bytes read, 2 seeks It looks like qsv encoder requires different parameters from others. It might help refering Handbrake CLI parameters what I'm using: CLI Query: -i "F:\Movies\Sample\sample.mkv" -t 1 --angle 1 -c 1 -o "F:\Movies\Sample\ENC_sample.mp4" -f mp4 -w 1280 --crop 0:0:0:0 --loose-anamorphic --modulus 2 -e qsv_h264 -q 20 --cfr -a 1 -E av_aac -6 stereo -R 48 -B 160 -D 0 --gain 0 --audio-fallback ac3 --markers="C:\Users\Administrator.WINNAS\AppData\Local\Temp\5\sample-1-chapters.csv" --encoder-preset=balanced --encoder-level="4.0" --encoder-profile=main --verbose=1 Edited November 10, 2015 by testype Link to comment Share on other sites More sharing options...
babgvant 143 Posted November 10, 2015 Share Posted November 10, 2015 Ffmpeg enables look ahead by default in the last build I did, which will fail on pre-Haswell-non-Core IPG. I need to see if they changed the behavior in more recent releases (either way, probably due for a recompile). Link to comment Share on other sites More sharing options...
babgvant 143 Posted November 11, 2015 Share Posted November 11, 2015 Ffmpeg enables look ahead by default in the last build I did, which will fail on pre-Haswell-non-Core IPG. I need to see if they changed the behavior in more recent releases (either way, probably due for a recompile). Still enabled by default. Should add " -look_ahead 0" to encoder config to disable it. Link to comment Share on other sites More sharing options...
babgvant 143 Posted November 11, 2015 Share Posted November 11, 2015 Latest ffmpeg. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now