PDA

View Full Version : Transcoding error



Fuki
10-03-2016, 06:37 AM
Hi!

I cannot transcode anything any more. Today I tried to transcode several different file types but I keep getting status "Failed". This is an example of the error log (MezzmoFFmpegTranscodeFileLog.txt):


C:\Program Files (x86)\Conceiva\Mezzmo\ffmpeg64\ffmpeg.exe -y -i "E:\Videos\Victoria's Secret\The Victoria's Secret Fashion Show 2009.ts" -map 0:v:0 -map 0:a:1 -c:v:0 h264_qsv -b:v 14000000 -maxrate 22000000 -bufsize 2048000 -level 40 -profile:v main -pix_fmt yuv420p -copyinkf -coder 1 -flags +loop -subq 7 -me_range 16 -g 25 -keyint_min 25 -sc_threshold 40 -b_strategy 1 -x264opts direct-pred=auto:b-pyramid=normal:mixed-refs=1:weightb=1:8x8dct=1:fast-pskip=1:crf=22:ref=2:bframes=3:me=dia -partitions -parti8x8-parti4x4-partp8x8-partp4x4-partb8x8 -bidir_refine 1 -c:a:0 ac3_fixed -ac 2 -ab 640000 -ar 48000 -sn -threads 0 -async 0 -f mpegts "D:\Mezzmo\TranscodingFiles\460152D3-4AAD-466e-8982-764B22764263\Video\18-mpegts_transcoding-h264_qsv-ac3-sn.mzt"

ffmpeg version N-78742-gf477849 Copyright (c) 2000-2016 the FFmpeg developers
built with gcc 4.9.2 (GCC)
configuration: --enable-memalign-hack --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-libmfx --enable-gnutls --extra-libs='-lz -lnettle -lhogweed -lgmp -lidn -lws2_32 -lcrypt32'
libavutil 55. 19.100 / 55. 19.100
libavcodec 57. 25.101 / 57. 25.101
libavformat 57. 26.100 / 57. 26.100
libavdevice 57. 0.101 / 57. 0.101
libavfilter 6. 36.100 / 6. 36.100
libswscale 4. 0.100 / 4. 0.100
libswresample 2. 0.101 / 2. 0.101
Input #0, mpegts, from 'E:\Videos\Victoria's Secret\The Victoria's Secret Fashion Show 2009.ts':
Duration: 00:45:26.96, start: 600.002000, bitrate: 36165 kb/s
Program 1
Stream #0:0[0x1011]: Video: mpeg2video (4:2:2) ([2][0][0][0] / 0x0002), yuv422p(tv, bt709), 1920x1080 [SAR 1:1 DAR 16:9], Closed Captions, 35531 kb/s, 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc
Stream #0:1[0x1100]: Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, 5.1(side), fltp, 384 kb/s
Stream #0:2[0x1101](eng): Audio: mp2 ([4][0][0][0] / 0x0004), 48000 Hz, stereo, s16p, 256 kb/s
Codec AVOption x264opts (x264 options) specified for output file #0 (D:\Mezzmo\TranscodingFiles\460152D3-4AAD-466e-8982-764B22764263\Video\18-mpegts_transcoding-h264_qsv-ac3-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 (D:\Mezzmo\TranscodingFiles\460152D3-4AAD-466e-8982-764B22764263\Video\18-mpegts_transcoding-h264_qsv-ac3-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.
Incompatible pixel format 'yuv420p' for codec 'h264_qsv', auto-selecting format 'nv12'
[h264_qsv @ 0000003c785f48e0] Error initializing an internal MFX session
Output #0, mpegts, to 'D:\Mezzmo\TranscodingFiles\460152D3-4AAD-466e-8982-764B22764263\Video\18-mpegts_transcoding-h264_qsv-ac3-sn.mzt':
Stream #0:0: Video: h264, none, q=2-31, 128 kb/s, SAR 1:1 DAR 0:0, 29.97 fps
Metadata:
encoder : Lavc57.25.101 h264_qsv
Stream #0:1(eng): Audio: ac3, 0 channels, 128 kb/s
Metadata:
encoder : Lavc57.25.101 ac3_fixed
Stream mapping:
Stream #0:0 -> #0:0 (mpeg2video (native) -> h264 (h264_qsv))
Stream #0:2 -> #0:1 (mp2 (native) -> ac3 (ac3_fixed))
Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height

<MEZZMO>: Child process ended with code: 109, ExitCode=1
ffmpeg version N-78742-gf477849 Copyright (c) 2000-2016 the FFmpeg developers
built with gcc 4.9.2 (GCC)
configuration: --enable-memalign-hack --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-libmfx --enable-gnutls --extra-libs='-lz -lnettle -lhogweed -lgmp -lidn -lws2_32 -lcrypt32'
libavutil 55. 19.100 / 55. 19.100
libavcodec 57. 25.101 / 57. 25.101
libavformat 57. 26.100 / 57. 26.100
libavdevice 57. 0.101 / 57. 0.101
libavfilter 6. 36.100 / 6. 36.100
libswscale 4. 0.100 / 4. 0.100
libswresample 2. 0.101 / 2. 0.101
Input #0, mpegts, from 'E:\Videos\Victoria's Secret\The Victoria's Secret Fashion Show 2009.ts':
Duration: 00:45:26.96, start: 600.002000, bitrate: 36165 kb/s
Program 1
Stream #0:0[0x1011]: Video: mpeg2video (4:2:2) ([2][0][0][0] / 0x0002), yuv422p(tv, bt709), 1920x1080 [SAR 1:1 DAR 16:9], Closed Captions, 35531 kb/s, 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc
Stream #0:1[0x1100]: Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, 5.1(side), fltp, 384 kb/s
Stream #0:2[0x1101](eng): Audio: mp2 ([4][0][0][0] / 0x0004), 48000 Hz, stereo, s16p, 256 kb/s
Codec AVOption x264opts (x264 options) specified for output file #0 (D:\Mezzmo\TranscodingFiles\460152D3-4AAD-466e-8982-764B22764263\Video\18-mpegts_transcoding-h264_qsv-ac3-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 (D:\Mezzmo\TranscodingFiles\460152D3-4AAD-466e-8982-764B22764263\Video\18-mpegts_transcoding-h264_qsv-ac3-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.
Incompatible pixel format 'yuv420p' for codec 'h264_qsv', auto-selecting format 'nv12'
[h264_qsv @ 00000030dc855100] Error initializing an internal MFX session
Output #0, mpegts, to 'D:\Mezzmo\TranscodingFiles\460152D3-4AAD-466e-8982-764B22764263\Video\18-mpegts_transcoding-h264_qsv-ac3-sn.mzt':
Stream #0:0: Video: h264, none, q=2-31, 128 kb/s, SAR 1:1 DAR 0:0, 29.97 fps
Metadata:
encoder : Lavc57.25.101 h264_qsv
Stream #0:1(eng): Audio: ac3, 0 channels, 128 kb/s
Metadata:
encoder : Lavc57.25.101 ac3_fixed
Stream mapping:
Stream #0:0 -> #0:0 (mpeg2video (native) -> h264 (h264_qsv))
Stream #0:2 -> #0:1 (mp2 (native) -> ac3 (ac3_fixed))
Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height

<MEZZMO>: Child process ended with code: 109, ExitCode=1

I was transcoding files normally before, without any errors.

I'm using the latest version of Mezzmo (5.0.5.0).

Can you please help me solve this problem?


Regards,
Tom

Peter
10-03-2016, 09:23 AM
Hi Tom,
it looks like QuickSync is being used and the QuickSync encoder is failing to initialize. You can try going to 'Transcoding Settings' in Mezzmo and turn off QuickSync encoding and this will allow you to transcode files again. If you have previously been able to use QuickSync for transcoding please check to make sure the Intel Media SDK is installed as this is required for using QuickSync, the Intel Media SDK is usually installed along with the drivers for your motherboard.

Fuki
10-03-2016, 07:14 PM
Hi Peter.

Yes, Transcoding Settings show that Intel Quick Sync is being used for transcoding. I've never really been aware of that.
I also don't know how can I disable it since it's greyed out and it cannot be uncheck.
Looking at Transcoding Settings I saw that ffmpeg version used by Mezzmo was rather old so I downloaded latest official 32 and 64-bit versions (Build date: 2016-10-02 23:20:10) and replaced the ones that came with Mezzmo.
After ffmpeg replacement I've tried transcoding again, but it didn't help.

Regarding Intel Media SDK, its never been installed on my computer so I don't know how transcoding was working up until now.
I wanted to download it from Intel (link (https://software.intel.com/en-us/media-sdk/download)) but Intel wants some personal data from me (before download) which I'm now thrilled about so I decided not to download it for now.

Is downloading Intel Media SDK really necessary?
How everything worked up until now?

Regards,
Tom

Fuki
10-03-2016, 09:08 PM
Hi Peter!

I just realized what is the problem, but I still don't know how to solve it.
I bought a discrete graphic card so I disabled Intel IGD.
This (https://www.asus.com/Graphics-Cards/R7250-1GD5-V2/) is my new graphic card.
Can you please help me now, when we know what is the source of the problem.
Tnx!

Best regards,
Tom

Peter
10-04-2016, 09:50 AM
Hi Tom,
try going to C:\Users\<username>\AppData\Local\Conceiva\Mezzmo (where <username> is your username) and edit the file MezzmoMediaServer.ini then look for TranscodingUseQuickSync=1 and change it to TranscodingUseQuickSync=0 and this should disable Quick Sync and resolve the issue. The new graphics card does not have Quick Sync capabilities so it will need to be disabled.

Fuki
10-04-2016, 10:18 AM
Tnx Peter!

This solved the problem!

Best regards,
Tom

Fuki
10-07-2016, 10:38 AM
Hi Peter.

Although Mezzmo is transcoding, burning subtitles does not work any more.
Everything looks fine in Mezzmo, but when streaming (transcoded) video to TV, there are no subtitles.
Could you please help me investigate and solve this problem?
Tnx!

Regards,
Tom

Peter
10-07-2016, 10:43 AM
Hi Tom,
the ffmpeg that you have updated to does not contain the Mezzmo filter used to burn subtitles. The ffmpeg.exe included with the Mezzmo installation must be used to allow burning subtitles when transcoding, you can restore this version if you have overwritten it with the updated version by downloading the Mezzmo installer from our website and run it to replace the ffmpeg.exe with the original version.

Fuki
10-07-2016, 11:12 PM
Tnx Peter!

Subtitles are back again. ;-)

Best regards,
Tom

Paul
10-09-2016, 10:40 PM
Glad you are back up and running :).