PDA

View Full Version : Suddenly slow transcoding Sony Bravia KDL



rameus
12-27-2013, 08:32 AM
Suddenly I have slow transcoding rates and I have no idea why since my configuration has been the same for about a year. CPU and RAM are not a problem and the storage space of the source files has not changed. Tried various settings with manual triggering of the transcoding, as well as media device profiles.

TV: Sony Bravia KDL-55HX850
Transcoding rate: max 20fps
File types affected: mkv, avi, mp4
Mezzmo version: 3.4.4.0

FFMPEG-info below


ffmpeg version N-50460-g393dcbf Copyright (c) 2000-2013 the FFmpeg developers
built on Jun 27 2013 17:20:20 with gcc 4.6.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' --enable-runtime-cpudetect --extra-cflags=-I/home/peter/cc64/include --extra-ldflags=-L/home/peter/cc64/lib --pkg-config=pkg-config --disable-w32threads --enable-zlib
libavutil 52. 17.103 / 52. 17.103
libavcodec 54. 92.100 / 54. 92.100
libavformat 54. 63.102 / 54. 63.102
libavdevice 54. 3.103 / 54. 3.103
libavfilter 3. 41.100 / 3. 41.100
libswscale 2. 2.100 / 2. 2.100
libswresample 0. 17.102 / 0. 17.102
Metadata:
ENCODER : Lavf53.24.0
Duration: 00:42:36.85, start: 0.000000, bitrate: 2640 kb/s
Stream #0:0: Video: h264 (High), yuvj420p, 1920x1080 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default)
Stream #0:1: Audio: aac, 48000 Hz, 5.1, fltp (default)
At least one output file must be specified

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


---> DB Level Info: 50, 100
---> Frame rate: 23.98
---> Aspect ratio: 16:9 PAR=1:1

Thanks for your support
thom

Paul
12-28-2013, 09:27 AM
One possible reason is subtitles are being burnt into your videos (which can be slower than normal transcoding). Sony Bravia TVs don't support playing external or embedded subtitles, so Mezzmo server will burn any subtitles that it finds associated with your video into the video. Right-click on a video that has been transcoded recently and click Properties. On the Properties dialog, go to the Transcoding tab and select the transcoded file listed there. Then click 'Get FFmpeg Information' and post that here.

rameus
01-09-2014, 02:56 AM
This is what I got from it:

ffmpeg version N-50460-g393dcbf Copyright (c) 2000-2013 the FFmpeg developers
built on Jun 27 2013 17:20:20 with gcc 4.6.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' --enable-runtime-cpudetect --extra-cflags=-I/home/peter/cc64/include --extra-ldflags=-L/home/peter/cc64/lib --pkg-config=pkg-config --disable-w32threads --enable-zlib
libavutil 52. 17.103 / 52. 17.103
libavcodec 54. 92.100 / 54. 92.100
libavformat 54. 63.102 / 54. 63.102
libavdevice 54. 3.103 / 54. 3.103
libavfilter 3. 41.100 / 3. 41.100
libswscale 2. 2.100 / 2. 2.100
libswresample 0. 17.102 / 0. 17.102
[mpegts @ 000000000032f480] max_analyze_duration 60000000 reached at 60006300 microseconds
Input #0, mpegts, from 'C:\Users\username\AppData\Local\Conceiva\Mezzmo\T ranscodingFiles\75416EBD-5B6C-4d45-AD5F-34B7E517003E\Video\57952-mpegts_transcoding-libx264-ac3-sn.mzt':
Duration: 02:11:32.86, start: 1.394667, bitrate: 2117 kb/s
Program 1
Metadata:
service_name : Service01
service_provider: FFmpeg
Stream #0:0[0x100]: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p, 1280x534 [SAR 1:1 DAR 640:267], 23.98 fps, 23.98 tbr, 90k tbn, 47.95 tbc
Stream #0:1[0x101](eng): Audio: ac3 ([129][0][0][0] / 0x0081), 48000 Hz, 5.1(side), fltp, 448 kb/s
At least one output file must be specified

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

Paul
01-09-2014, 10:34 AM
Thanks for the information. The video resolution of the transcoded file is 1280 x 534 pixels but the original video file has 1920 x 1080 pixels.

Go to the Media Devices dialog and edit your device. On the Device Settings dialog, go to the Performance tab and make sure you have not set the "Maximum video size" checkbox. If the checkbox is selected, then unselect it and try streaming/transcoding now.

rameus
01-10-2014, 01:42 AM
thanks for the answer. this is the result i've got after changing the settings you mentioned. i now also changed burning subtitles in the media device settings (despite already unchecking them in the "subtitles" settings in the file directly). we'll see how that works out.

it is generally only a problem with mkv-files.

ffmpeg version N-50460-g393dcbf Copyright (c) 2000-2013 the FFmpeg developers
built on Jun 27 2013 17:20:20 with gcc 4.6.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' --enable-runtime-cpudetect --extra-cflags=-I/home/peter/cc64/include --extra-ldflags=-L/home/peter/cc64/lib --pkg-config=pkg-config --disable-w32threads --enable-zlib
libavutil 52. 17.103 / 52. 17.103
libavcodec 54. 92.100 / 54. 92.100
libavformat 54. 63.102 / 54. 63.102
libavdevice 54. 3.103 / 54. 3.103
libavfilter 3. 41.100 / 3. 41.100
libswscale 2. 2.100 / 2. 2.100
libswresample 0. 17.102 / 0. 17.102
[mpegts @ 000000000032f460] max_analyze_duration 60000000 reached at 60006300 microseconds
Input #0, mpegts, from 'C:\Users\***\AppData\Local\Conceiva\Mezzmo\Transc odingFiles\75416EBD-5B6C-4d45-AD5F-34B7E517003E\Video\57952-mpegts_transcoding-libx264-ac3-sn.mzt':
Duration: 02:11:32.86, start: 1.394667, bitrate: 2117 kb/s
Program 1
Metadata:
service_name : Service01
service_provider: FFmpeg
Stream #0:0[0x100]: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p, 1280x534 [SAR 1:1 DAR 640:267], 23.98 fps, 23.98 tbr, 90k tbn, 47.95 tbc
Stream #0:1[0x101](eng): Audio: ac3 ([129][0][0][0] / 0x0081), 48000 Hz, 5.1(side), fltp, 448 kb/s
At least one output file must be specified

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

Paul
01-10-2014, 09:47 AM
The transcoded file still has a resolution of 1280 x 534 pixels. It's best we see a set of logs and we'll know what's happening. Turn on logging in Mezzmo (see http://forum.conceiva.com/showthread.php/419-FAQ-How-to-turn-on-diagnostic-logging) and restart your Mezzmo server. Go to the Media Devices dialog and edit your device. On the Device Settings dialog, go to the Transcoding tab and delete your transcoded files. Now try streaming the MKV to your device. After it plays for a few minutes, stop your Mezzmo server and exit Mezzmo. Zip up all your logs and email them to us at support [at] conceiva [dot] com.