PDA

View Full Version : mezzmo on fire tv / video to fast for h264 codec



xxpetri
09-29-2016, 03:42 AM
Hi,

I do run a mezzmo server version 5.0.5.0 on my PC
I now added a fire TV stick to my TV and load the mezzmo fire tv app to it.

As a profile I did choose Mezzmo Android in Mezzmo Server
When I playback file that I have in H264 format, the video is way to fast ( at least factor 2 I would guess), where Audio has correct speed.

If I force the stream to get transcode to MPEG2, then the speed is correct again

Is there any way to get Video / Audio in sync without transcoding (which is bad as you can not fast forward until transcoding is done)

Here is the ffmpeg information of a file that die fail (files I stream are mostly downloads from OnlineTvRecoder.com)

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, avi, from 'E:\Video\Findet_Nemo_16.09.25_15-45_rtl_120_TVOON_DE.mpg.HQ.avi':
Metadata:
comment : Dazwischen gegen 17:35 Uhr der RTL BibelclipIn den Tiefen des australischen Ozeans begibt sich der �berm��ig besorgte Clownfisch Marlin auf eine waghalsige Rettungsmission, nachdem sein geliebter Sohn Nemo von einem Taucher eingefangen wird. Zusammen mit
title : Findet Nemo
encoder : Lavf54.17.100
encoded_by : www.onlinetvrecorder.com
Duration: 02:15:47.86, start: 0.000000, bitrate: 1361 kb/s
Stream #0:0: Video: h264 (High) (H264 / 0x34363248), yuv420p(tv, bt470bg), 720x576 [SAR 64:45 DAR 16:9], 1154 kb/s, 25 fps, 25 tbr, 25 tbn, 50 tbc
Stream #0:1: Audio: mp3 (U[0][0][0] / 0x0055), 48000 Hz, stereo, s16p, 192 kb/s
At least one output file must be specified

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


---> DB Level Info: 30, 100
---> Frame rate: 25,00
---> Aspect ratio: 16:9 PAR=64:45
---> Duration: 02:15:47

Peter
09-29-2016, 09:13 AM
Hi,
can you please try pressing the 'HW' button on the video player when it is playing on the Fire TV to switch from hardware decoding to software to see if this allows the file to play at the correct speed? It could be a problem with the codec being used.

xxpetri
09-30-2016, 07:00 AM
Hi,
can you please try pressing the 'HW' button on the video player when it is playing on the Fire TV to switch from hardware decoding to software to see if this allows the file to play at the correct speed? It could be a problem with the codec being used.

The good news is: Yes , the speed seems to be correct now when using SW instead of HW
The other good news is fast forward also work
The bad news is: I do have a offset between Audio and Video when using the Mezzmo Android Profile without transcoding

Peter
10-03-2016, 09:55 AM
Hi,
can you please send us the file so we can test it here? Upload it to Dropbox or Google Drive and send a download link to support [at] conceiva [dot] com and we will test the file with our Fire TV Stick here to see if we can reproduce it and then we can blacklist the HW codec so that a different codec will be used.