Jump to content

HDHomerun - Emby - Live TV transcoding fails with QuickSync


MSattler

Recommended Posts

MSattler

When utilizing QuickSync transcoding, Live TV Transcoding requested via browser <Firefox> fails.  If I change to cpu transcoding it works just fine.

 

Log file for failure:

 
{"Protocol":"Http","Id":"a24161afd89b4c3fbbd1fb17789a57f9native","Path":"http://192.168.1.118:5004/auto/v731","Type":"Default","Container":"ts","ReadAtNativeFramerate":false,"SupportsTranscoding":true,"SupportsDirectStream":false,"SupportsDirectPlay":true,"RequiresOpening":false,"RequiresClosing":false,"BufferMs":0,"MediaStreams":[{"Codec":"mpeg2video","IsInterlaced":true,"BitRate":15000000,"IsDefault":false,"IsForced":false,"Type":"Video","Index":-1,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false},{"Codec":"AC3","IsInterlaced":false,"BitRate":192000,"IsDefault":false,"IsForced":false,"Type":"Audio","Index":-1,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false}],"PlayableStreamFileNames":[],"Formats":[],"Bitrate":15192000,"RequiredHttpHeaders":{}}
 
B:\Users\Administrator\AppData\Roaming\Emby-Server\ffmpeg\20160131\ffmpeg.exe -fflags +genpts -c:v mpeg2_qsv  -i "http://192.168.1.118:5004/auto/v731"-sn -codec:v:0 libvpx -force_key_frames expr:gte(t,n_forced*5) -vf "yadif=0:-1:0,scale=trunc(min(max(iw\,ih*dar)\,720)/2)*2:trunc(ow/dar/2)*2" -pix_fmt yuv420p -speed 16 -quality good -profile:v 0 -slices 8 -crf 10 -qmin 0 -qmax 50 -maxrate:v 872001 -bufsize:v (872001*2) -b:v 872001 -vsync vfr -map_metadata -1 -threads 7 -codec:a:0 libvorbis -ac 6 -ab 128000 -af "aresample=async=1" -y "B:\Users\Administrator\AppData\Roaming\Emby-Server\transcoding-temp\transcoding-temp\759b230736f3455fa3718b162f3814f4.webm"
 
 
ffmpeg version N-78218-gc86ecdf Copyright © 2000-2016 the FFmpeg developers
  built with gcc 5.3.0 (GCC)
  configuration: --arch=x86_64 --target-os=mingw32 --cross-prefix=/home/mceuser/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-x86_64/bin/x86_64-w64-mingw32- --pkg-config=pkg-config --disable-w32threads --enable-gpl --enable-libsoxr --enable-fontconfig --enable-libass --enable-libutvideo --enable-libbluray --enable-iconv --enable-libtwolame --extra-cflags=-DLIBTWOLAME_STATIC --enable-libzvbi --enable-libcaca --enable-libmodplug --extra-libs=-lstdc++ --extra-libs=-lpng --enable-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-libopus --enable-frei0r --enable-filter=frei0r --enable-bzlib --enable-libxavs --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libvo-amrwbenc --enable-libschroedinger --enable-libvpx --enable-libilbc --enable-libwavpack --enable-libwebp --enable-libgme --enable-dxva2 --enable-libdcadec --enable-avisynth --enable-gray --enable-libopenh264 --enable-libmfx --extra-libs=-lpsapi --extra-cflags= --enable-static --disable-shared --prefix=/home/mceuser/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-x86_64/x86_64-w64-mingw32 --enable-runtime-cpudetect
  libavutil      55. 16.101 / 55. 16.101
  libavcodec     57. 24.100 / 57. 24.100
  libavformat    57. 23.101 / 57. 23.101
  libavdevice    57.  0.101 / 57.  0.101
  libavfilter     6. 27.100 /  6. 27.100
  libswscale      4.  0.100 /  4.  0.100
  libswresample   2.  0.101 /  2.  0.101
  libpostproc    54.  0.100 / 54.  0.100
[mpegts @ 00000002cb760160] Could not find codec parameters for stream 3 (Unknown: none ([5][0][0][0] / 0x0005)): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 00000002cb760160] Could not find codec parameters for stream 4 (Unknown: none ([5][0][0][0] / 0x0005)): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options
Input #0, mpegts, from 'http://192.168.1.118:5004/auto/v731':
  Duration: N/A, start: 34554.821600, bitrate: N/A
  Program 634 
    Stream #0:0[0x18c5]: Video: mpeg2video ([2][0][0][0] / 0x0002), nv12, 1920x1080, max. 18000 kb/s, 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc
    Stream #0:1[0x18c6](eng): Audio: ac3 ([129][0][0][0] / 0x0081), 48000 Hz, 5.1(side), fltp, 384 kb/s
    Stream #0:2[0x18c7](spa): Audio: ac3 ([129][0][0][0] / 0x0081), 48000 Hz, stereo, fltp, 96 kb/s
    Stream #0:3[0x18c8]: Unknown: none ([5][0][0][0] / 0x0005)
    Stream #0:4[0x18ca]: Unknown: none ([5][0][0][0] / 0x0005)
[libvpx @ 00000002cb82ea80] v1.4.0
Output #0, webm, to 'B:\Users\Administrator\AppData\Roaming\Emby-Server\transcoding-temp\transcoding-temp\759b230736f3455fa3718b162f3814f4.webm':
  Metadata:
    encoder         : Lavf57.23.101
    Stream #0:0: Video: vp8 (libvpx), yuv420p, 720x404, q=0-50, 872 kb/s, 29.97 fps, 1k tbn, 29.97 tbc
    Metadata:
      encoder         : Lavc57.24.100 libvpx
    Side data:
      unknown side data type 10 (24 bytes)
    Stream #0:1: Audio: vorbis (libvorbis), 48000 Hz, 5.1, fltp, 128 kb/s
    Metadata:
      encoder         : Lavc57.24.100 libvorbis
Stream mapping:
  Stream #0:0 -> #0:0 (mpeg2video (mpeg2_qsv) -> vp8 (libvpx))
  Stream #0:1 -> #0:1 (ac3 (native) -> vorbis (libvorbis))
Press [q] to stop, [?] for help
[ac3 @ 00000002cb7680a0] frame sync error
Error while decoding stream #0:1: Invalid data found when processing input
[mpeg2_qsv @ 00000002cb768980] Error -1 during QSV decoding.
Error while decoding stream #0:0: Unknown error occurred
Link to comment
Share on other sites

Prahjister

+1 I haven't got to this level troubleshooting. But having issue transcoding with same scenario.

 

BTW first post..just installed on Intel z8300 and blown away that I can at least transcode 2 streams from nas with with Intel quicksync. Really impressed so far all on a $85 box.

Edited by Prahjister
Link to comment
Share on other sites

MSattler

Try upgrading to the latest video driver, possibly beta driver.  That fixed the issue for me.

 

Thanks!

Link to comment
Share on other sites

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...