PDA

View Full Version : LG 42LV5500 - MKV transcoding



Mietekdabest
09-24-2014, 03:26 AM
Hello Mezzmo Team,

Today I discovered that one of myself-recoded MKV movies is transcoded by Mezzmo but it shouldn't. It was interested case for me due to the fact I use the same MeGUI profile, LG 42LV5500 TV & device profile (=> LG TV) since ages (http://forum.conceiva.com/showthread.php/1761-LG-42LV5500-and-Mezzmo) without any problems (thanks for valuable support in early days). I'm just curious: why does Mezzmo decide to transcode properly (IMHO) recoded movie ? Below
FFmpeg information about the movie. Complete logs was sent to your mailbox.

ffmpeg version N-59793-g7a8318f Copyright (c) 2000-2014 the FFmpeg developers
built on Jan 16 2014 16:51:32 with gcc 4.8.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/cc32/include --extra-ldflags=-L/home/peter/cc64/lib --pkg-config=pkg-config --disable-w32threads --enable-libvpx --enable-libvorbis
libavutil 52. 62.100 / 52. 62.100
libavcodec 55. 48.101 / 55. 48.101
libavformat 55. 23.103 / 55. 23.103
libavdevice 55. 5.102 / 55. 5.102
libavfilter 4. 1.100 / 4. 1.100
libswscale 2. 5.101 / 2. 5.101
libswresample 0. 17.104 / 0. 17.104
Input #0, matroska,webm, from 'E:\Mezzmo\!!! Check !!!\Appleseed Alpha.mkv':
Metadata:
title : Appleseed Alpha
encoder : libebml v1.3.0 + libmatroska v1.4.0
creation_time : 2014-09-23 05:01:18
Duration: 01:33:15.55, start: 0.000000, bitrate: 10384 kb/s
Chapter #0.0: start 0.000000, end 308.933622
Metadata:
title : Chapter 1
Chapter #0.1: start 308.933622, end 547.672122
Metadata:
title : Chapter 2
Chapter #0.2: start 547.672122, end 885.843289
Metadata:
title : Chapter 3
Chapter #0.3: start 885.843289, end 1179.136289
Metadata:
title : Chapter 4
Chapter #0.4: start 1179.136289, end 1755.545456
Metadata:
title : Chapter 5
Chapter #0.5: start 1755.545456, end 2033.781744
Metadata:
title : Chapter 6
Chapter #0.6: start 2033.781744, end 2297.211578
Metadata:
title : Chapter 7
Chapter #0.7: start 2297.211578, end 2682.721700
Metadata:
title : Chapter 8
Chapter #0.8: start 2682.721700, end 3083.955867
Metadata:
title : Chapter 9
Chapter #0.9: start 3083.955867, end 3417.956200
Metadata:
title : Chapter 10
Chapter #0.10: start 3417.956200, end 3773.311200
Metadata:
title : Chapter 11
Chapter #0.11: start 3773.311200, end 4127.873744
Metadata:
title : Chapter 12
Chapter #0.12: start 4127.873744, end 4397.393000
Metadata:
title : Chapter 13
Chapter #0.13: start 4397.393000, end 4742.821411
Metadata:
title : Chapter 14
Chapter #0.14: start 4742.821411, end 5089.042289
Metadata:
title : Chapter 15
Chapter #0.15: start 5089.042289, end 5595.548000
Metadata:
title : Chapter 16
Stream #0:0: Video: h264 (High), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default)
Metadata:
title : Appleseed Alpha
Stream #0:1(pol): Audio: ac3, 48000 Hz, 5.1(side), fltp, 384 kb/s (default)
Metadata:
title : Polish
At least one output file must be specified

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


---> DB Level Info: 41, 100
---> Frame rate: 23.98
---> Aspect ratio: 30:17 PAR=1:1
---> Duration: 01:33:15


Best Regards,
Mariusz

Paul
09-24-2014, 09:39 AM
Thanks for the information & logs, Mariusz. Go to the Media Devices dialog and edit your LG TV device. On the Device Settings dialog, go to the Performance tab and view the "Adjust video aspect ratio" checkbox. If it is fully checked, then this tells Mezzmo to ensure your videos have 1:1 square pixels to fix any aspect ratio problems that you may have on your DLNA device. To do this, Mezzmo will transcode files (even if they are supported) when it detects the video does not have 1:1 square pixels. I think this is what is occurring in your situation. If the checkbox is partially checked, then Mezzmo will only change to 1:1 square pixels when transcoding incompatible videos. If unchecked, then Mezzmo will not transform your videos to use 1:1 square pixels.

Mietekdabest
09-25-2014, 01:46 AM
Hello Paul,

Thank you very much for suggestions. In my configuration "Adjust video aspect ratio" checkbox was grayed-out - partially checked. So I unchecked it but it didn't help (nothing changed). I see that affected MKV file is always transcoded to MPEGTS format with different screen resolution 1906x1080 (source movie is 1920x1080). Below info from MediaInfo:

General
Unique ID : 230538443920210251340600163805215828376 (0xAD7016D8F23D55A0A11722F93A9FA998)
Complete name : E:\Mezzmo\!!! Check !!!\Appleseed Alpha.mkv
Format : Matroska
Format version : Version 4 / Version 2
File size : 6.76 GiB
Duration : 1h 33mn
Overall bit rate : 10.4 Mbps
Movie name : Appleseed Alpha
Encoded date : UTC 2014-09-23 05:01:18
Writing application : mkvmerge v6.3.0 ('You can't stop me!') built on Jun 28 2013 20:09:41
Writing library : libebml v1.3.0 + libmatroska v1.4.0

Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.1
Format settings, CABAC : Yes
Format settings, ReFrames : 4 frames
Codec ID : V_MPEG4/ISO/AVC
Duration : 1h 33mn
Bit rate : 10 000 Kbps
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 23.976 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.201
Stream size : 6.38 GiB (94%)
Title : Appleseed Alpha
Writing library : x264 core 142 r2431 ac76440
Encoding settings : cabac=1 / ref=4 / deblock=1:1:1 / analyse=0x3:0x113 / me=hex / subme=7 / psy=1 / psy_rd=0.40:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=6 / lookahead_threads=1 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=5 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=2 / keyint=240 / keyint_min=23 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=2pass / mbtree=1 / bitrate=10000 / ratetol=1.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / vbv_maxrate=50000 / vbv_bufsize=50000 / nal_hrd=none / filler=0 / ip_ratio=1.40 / aq=1:0.60
Default : Yes
Forced : No

Audio
ID : 2
Format : AC-3
Format/Info : Audio Coding 3
Mode extension : CM (complete main)
Format settings, Endianness : Big
Codec ID : A_AC3
Duration : 1h 33mn
Bit rate mode : Constant
Bit rate : 384 Kbps
Channel(s) : 6 channels
Channel positions : Front: L C R, Side: L R, LFE
Sampling rate : 48.0 KHz
Bit depth : 16 bits
Compression mode : Lossy
Stream size : 256 MiB (4%)
Title : Polish
Language : Polish
Default : Yes
Forced : No

Menu
00:00:00.000 : en:Chapter 1
00:05:08.933 : en:Chapter 2
00:09:07.672 : en:Chapter 3
00:14:45.843 : en:Chapter 4
00:19:39.136 : en:Chapter 5
00:29:15.545 : en:Chapter 6
00:33:53.781 : en:Chapter 7
00:38:17.211 : en:Chapter 8
00:44:42.721 : en:Chapter 9
00:51:23.955 : en:Chapter 10
00:56:57.956 : en:Chapter 11
01:02:53.311 : en:Chapter 12
01:08:47.873 : en:Chapter 13
01:13:17.393 : en:Chapter 14
01:19:02.821 : en:Chapter 15
01:24:49.042 : en:Chapter 16

Best Regards,
Mariusz

Paul
09-25-2014, 11:01 AM
Hi Mariusz,

Did you delete your transcoded files after making the "Adjust video aspect ratio" checkbox change? Right-click on the video file and click Properties. On the Properties dialog, go to the Transcoding tab and delete the transcoded files listed there. Now try streaming the video to your LG TV. If that does not work, then email us a new set of logs so we can see what's going wrong.

Mietekdabest
09-26-2014, 05:14 AM
Hi Paul,

I deleted transcoded files - still no improvement. I started suspect that original movie material is "corrupted" in unknown way (non-standard resolution ?). Anyway I wait for your verdict. New log set was already sent.

Best Regards,
Mariusz

Paul
09-26-2014, 09:31 AM
Thanks - got your logs. We'll analyse them shortly and respond back via email.

Mietekdabest
10-03-2014, 04:49 AM
Hello,

Sorry for delay. In the meantime I made few tests including re-coding attempts. Good news is that second re-coding completed successfully - now Mezzmo doesn't try to transcode the movie. I've completely no idea what went wrong but now is OK. Thank you for your involvement.

Best Regards,
Mariusz

Paul
10-03-2014, 09:23 AM
Glad you are up and running now, Mariusz :). Thanks for posting back.

Mietekdabest
10-19-2014, 02:58 AM
Hello,

I want to refresh this thread due to the second similar case. Now movie re-coding didn't fix the problem: MKV movie is transcoded into MPEGTS format, even my TV (LG 42LV5500, LG TV profile) supports original MKV. It is strange for me because from time to time this MKV file is recognized properly. When I disabled transcoding option on Transcoding tab for the device MKV is recognized and played properly - no transcoding task is created and everything works as predicted. I flushed/clean all transcoding-related folders, but no success. Link to 5-minutes long movie sample was already sent to your mailbox.

In the meantime I discovered second weird thing. I often replace content of movie file (add subtitles, fonts, new audio stream etc). In result such file has still the same name, but is located in different folder dedicated for tests. I see that such new (=> created for testing purposes) movie file "inherits" (from time to time) some parameters (for example play count) from original/previous test file (we have to keep in mind that in Mezzmo library can co-exist 2+ movies with the same file name). My question is: how to permanently remove from Mezzmo database such test files to avoid "inherits" ? I would like to mention that I refresh library before & after I perform any file management tasks, but many times it is not sufficient.

Best Regards,
Mariusz

Paul
10-19-2014, 10:05 AM
Hi Mariusz,

Thanks for the test file. We'll try to determine why it's transcoding.

Regarding files with the same file name, Mezzmo stores the full path of your files in the Mezzmo database so there should be no duplication or inheritance of attributes form one file to another since all file paths are unique - i.e. you can have as many files called "inception.mkv" as you like in your Mezzmo library as long as they have different paths (e.g. "C:\videos\inception.mkv", "f:\movies\inception.mkv", etc.). If you can reproduce the problem you mention, then please email us more details and we'll certainly look into it.

Mietekdabest
10-21-2014, 02:29 AM
Hi Paul,

Recently sent LGTV profile works perfectly. Now I learnt all AAC 5.1 streams should be, just in case, converted to AC3 5.1 to avoid transcoding on my LG TV :D Thank you very much for the fix and explanation. I can imagine I forgot refresh Mezzmo Library sometime, that's why I see inheritance of attributes.

Best regards,
Mariusz

Paul
10-21-2014, 07:37 AM
Glad you are up and running now, Mariusz :).