PDA

View Full Version : Transcode fail



milosz
01-27-2018, 05:59 AM
Trying to watch something over the Mezzmo Web service, get a "TRANSCODE FAILED" for certain content


ffmpeg version N-78742-gf477849 Copyright (c) 2000-2017 the FFmpeg developers
built with gcc 4.9.2 (GCC)
configuration: --arch=x86_64 --target-os=mingw32 --cross-prefix=x86_64-w64-mingw32- --enable-static --disable-shared --enable-zlib --disable-postproc --prefix=/home/peter/ffmpeg/build/gpl64 --enable-libmp3lame --enable-libx264 --enable-gpl --extra-libs='-lx264 -lpthread -lstdc++' --enable-runtime-cpudetect --extra-cflags=-I/home/peter/cc32/include --extra-ldflags=-L/home/peter/cc64/lib --pkg-config=pkg-config --pkg-config-flags=--static --disable-w32threads --enable-libvpx --enable-libvorbis --enable-libtheora --enable-libx265 --enable-cuda --enable-cuvid --enable-dxva2 --enable-libmfx --enable-nvenc --enable-gnutls --extra-libs='-lz -lnettle -lhogweed -lgmp -lidn -lws2_32 -lcrypt32'
libavutil 55. 74.100 / 55. 74.100
libavcodec 57.103.100 / 57.103.100
libavformat 57. 76.100 / 57. 76.100
libavdevice 57. 7.100 / 57. 7.100
libavfilter 6.100.100 / 6.100.100
libswscale 4. 7.102 / 4. 7.102
libswresample 2. 8.100 / 2. 8.100
Input #0, mpeg, from 'pipe:':
Duration: N/A, start: 0.045500, bitrate: N/A
Stream #0:0[0x1bf]: Data: dvd_nav_packet
Stream #0:1[0x1e0]: Video: mpeg2video (Main), yuv420p(tv, top first), 720x480 [SAR 8:9 DAR 4:3], Closed Captions, 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc
Stream #0:2[0x80]: Audio: ac3, 48000 Hz, stereo, fltp, 192 kb/s
Codec AVOption x264opts (x264 options) specified for output file #0 (H:\Video\Recorded TV\Transcoded\64BCB691-F930-4325-BAF2-D963EB44E3E8\Video\1019-fake_mp4-h264_qsv-aac-sn.mzt) has not been used for any stream. The most likely reason is either wrong type (e.g. a video option with no video streams) or that it is a private option of some encoder which was not actually used for any stream.
Codec AVOption partitions (A comma-separated list of partitions to consider. Possible values: p8x8, p4x4, b8x8, i8x8, i4x4, none, all) specified for output file #0 (H:\Video\Recorded TV\Transcoded\64BCB691-F930-4325-BAF2-D963EB44E3E8\Video\1019-fake_mp4-h264_qsv-aac-sn.mzt) has not been used for any stream. The most likely reason is either wrong type (e.g. a video option with no video streams) or that it is a private option of some encoder which was not actually used for any stream.
Stream mapping:
Stream #0:1 -> #0:0 (mpeg2video (native) -> h264 (h264_qsv))
Stream #0:2 -> #0:1 (ac3 (native) -> aac (native))
Incompatible pixel format 'yuv420p' for codec 'h264_qsv', auto-selecting format 'nv12'
[h264_qsv @ 000000000033efe0] No device available for encoder (device type qsv for codec h264_qsv).
[h264_qsv @ 000000000033efe0] Selected ratecontrol mode is not supported by the QSV runtime. Choose a different mode.
Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
Conversion failed!

Is there something I should adjust?

"Incompatible pixel format 'yuv420p' for codec 'h264_qsv'" SAY WHAT??

Paul
01-27-2018, 06:40 AM
This is an issue in the latest Mezzmo (v5.2.0.0). We've fixed it for the upcoming release. For the moment, go into the Transcoding Settings dialog and set the hardware acceleration to 'None' for both the decoder and encoder. Transcoding should be OK now.