Results 1 to 6 of 6

Thread: Question about matroska, DTS and transcoding

  1. #1

    Default Question about matroska, DTS and transcoding

    Hi all,
    I have a question - what is the difference between the video stream in these two files:
    File 1
    Code:
    C:\Program Files (x86)\Conceiva\Mezzmo\ffmpeg.exe -y -fflags +genpts -i "F:\Serials Incoming\Lost.S02.720p.BluRay.DTS.x264-CtrlHD\Lost.S02E01.720p.BluRay.DTS.x264-CtrlHD.mkv" -map 0:v:0 -map 0:a:0 -c:v:0 copy -level 41 -profile:v high -bsf:v h264_mp4toannexb -filter:v "yadif" -pix_fmt yuv420p -copyinkf -coder 1 -flags +loop -fflags +genpts -cmp +chroma -me_method hex -subq 7 -me_range 16 -g 250 -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:aud=1 -partitions -parti8x8-parti4x4-partp8x8-partp4x4-partb8x8 -bidir_refine 1 -c:a:0 ac3_fixed -ac 6 -ab 640000 -ar 48000 -sn -threads 0 -async 0 -f mpegts "C:\Users\Sergey\AppData\Local\Conceiva\Mezzmo\TranscodingFiles\3DEB6B7C-1155-4a90-A3FF-21425B61D269\Video\4994-mpegts-libx264-ac3-sn.mzt"
    
    ffmpeg version N-46003-gfa48da1 Copyright (c) 2000-2012 the FFmpeg developers
      built on Oct 25 2012 12:37:27 with gcc 4.6.2 (GCC)
      configuration: --enable-memalign-hack --arch=x86 --target-os=mingw32 --cross-prefix=i686-w64-mingw32- --enable-static --disable-shared --enable-zlib --disable-postproc --prefix=/home/peter/ffmpeg/build/gpl --enable-libmp3lame --enable-libx264 --enable-gpl --extra-libs='-lx264 -lpthread' --enable-runtime-cpudetect --extra-cflags=-I/home/peter/cc/include --extra-ldflags=-L/home/peter/cc/lib --pkg-config=pkg-config --disable-w32threads --enable-zlib
      libavutil      52.  0.100 / 52.  0.100
      libavcodec     54. 69.100 / 54. 69.100
      libavformat    54. 34.100 / 54. 34.100
      libavdevice    54.  3.100 / 54.  3.100
      libavfilter     3. 20.105 /  3. 20.105
      libswscale      2.  1.101 /  2.  1.101
      libswresample   0. 16.100 /  0. 16.100
    Input #0, matroska,webm, from 'F:\Serials Incoming\Lost.S02.720p.BluRay.DTS.x264-CtrlHD\Lost.S02E01.720p.BluRay.DTS.x264-CtrlHD.mkv':
      Metadata:
        title           : Lost - Season 2 Episode 1
        creation_time   : 2009-07-13 06:44:47
      Duration: 00:43:17.59, start: 0.000000, bitrate: 7202 kb/s
        Stream #0:0(eng): Video: h264 (High), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default)
        Metadata:
          title           : Lost - Season 2 Episode 1
        Stream #0:1(eng): Audio: dts (DTS), 48000 Hz, 5.1(side), fltp, 1536 kb/s (default)
        Metadata:
          title           : English
        Stream #0:2(eng): Subtitle: subrip
        Metadata:
          title           : English
    Output #0, mpegts, to 'C:\Users\Sergey\AppData\Local\Conceiva\Mezzmo\TranscodingFiles\3DEB6B7C-1155-4a90-A3FF-21425B61D269\Video\4994-mpegts-libx264-ac3-sn.mzt':
      Metadata:
        title           : Lost - Season 2 Episode 1
        encoder         : Lavf54.34.100
        Stream #0:0(eng): Video: h264, yuv420p, 1280x720 [SAR 1:1 DAR 16:9], q=2-31, 23.98 fps, 90k tbn, 23.98 tbc (default)
        Metadata:
          title           : Lost - Season 2 Episode 1
        Stream #0:1(eng): Audio: ac3, 48000 Hz, 5.1, s16p, 640 kb/s (default)
        Metadata:
          title           : English
    Stream mapping:
      Stream #0:0 -> #0:0 (copy)
      Stream #0:1 -> #0:1 (dca -> ac3_fixed)
    Press [q] to stop, [?] for help
    File 2
    Code:
    C:\Program Files (x86)\Conceiva\Mezzmo\ffmpeg.exe -y -i "F:\Serials Incoming\Lost.S03.720p.BluRay.DTS.x264-ESiR\Lost.S03E01.720p.BluRay.DTS.x264-ESiR.mkv" -map 0:v:0 -map 0:a:0 -c:v:0 libx264 -level 41 -profile:v high -filter:v "yadif" -pix_fmt yuv420p -copyinkf -coder 1 -flags +loop -fflags +genpts -cmp +chroma -me_method hex -subq 7 -me_range 16 -g 250 -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:aud=1 -partitions -parti8x8-parti4x4-partp8x8-partp4x4-partb8x8 -bidir_refine 1 -c:a:0 ac3_fixed -ac 6 -ab 640000 -ar 48000 -sn -threads 0 -async 0 -f mpegts "C:\Users\Sergey\AppData\Local\Conceiva\Mezzmo\TranscodingFiles\3DEB6B7C-1155-4a90-A3FF-21425B61D269\Video\5024-mpegts-libx264-ac3-sn.mzt"
    
    ffmpeg version N-46003-gfa48da1 Copyright (c) 2000-2012 the FFmpeg developers
      built on Oct 25 2012 12:37:27 with gcc 4.6.2 (GCC)
      configuration: --enable-memalign-hack --arch=x86 --target-os=mingw32 --cross-prefix=i686-w64-mingw32- --enable-static --disable-shared --enable-zlib --disable-postproc --prefix=/home/peter/ffmpeg/build/gpl --enable-libmp3lame --enable-libx264 --enable-gpl --extra-libs='-lx264 -lpthread' --enable-runtime-cpudetect --extra-cflags=-I/home/peter/cc/include --extra-ldflags=-L/home/peter/cc/lib --pkg-config=pkg-config --disable-w32threads --enable-zlib
      libavutil      52.  0.100 / 52.  0.100
      libavcodec     54. 69.100 / 54. 69.100
      libavformat    54. 34.100 / 54. 34.100
      libavdevice    54.  3.100 / 54.  3.100
      libavfilter     3. 20.105 /  3. 20.105
      libswscale      2.  1.101 /  2.  1.101
      libswresample   0. 16.100 /  0. 16.100
    Input #0, matroska,webm, from 'F:\Serials Incoming\Lost.S03.720p.BluRay.DTS.x264-ESiR\Lost.S03E01.720p.BluRay.DTS.x264-ESiR.mkv':
      Metadata:
        title           : Season 3, Episode 1: A Tale of Two Cities
        creation_time   : 2007-12-30 01:12:08
      Duration: 00:43:18.58, start: 0.000000, bitrate: 7199 kb/s
        Stream #0:0(eng): Video: h264 (High), yuv420p, 1280x720, SAR 1:1 DAR 16:9, 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default)
        Stream #0:1(eng): Audio: dts (DTS), 48000 Hz, 5.1(side), fltp, 1536 kb/s (default)
    [libx264 @ 02179520] using SAR=1/1
    [libx264 @ 02179520] using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2
    [libx264 @ 02179520] profile High, level 4.1
    Output #0, mpegts, to 'C:\Users\Sergey\AppData\Local\Conceiva\Mezzmo\TranscodingFiles\3DEB6B7C-1155-4a90-A3FF-21425B61D269\Video\5024-mpegts-libx264-ac3-sn.mzt':
      Metadata:
        title           : Season 3, Episode 1: A Tale of Two Cities
        encoder         : Lavf54.34.100
        Stream #0:0(eng): Video: h264, yuv420p, 1280x720 [SAR 1:1 DAR 16:9], q=-1--1, 90k tbn, 23.98 tbc (default)
        Stream #0:1(eng): Audio: ac3, 48000 Hz, 5.1, s16p, 640 kb/s (default)
    Stream mapping:
      Stream #0:0 -> #0:0 (h264 -> libx264)
      Stream #0:1 -> #0:1 (dca -> ac3_fixed)
    Press [q] to stop, [?] for help
    I ask this question because my TV does not support DTS and when i play such a file my changes to profile file make Mezzmo to transcode only the audio stream (File 1), but with the second file Mezzmo goes to transcode both streams (video and audio), the cause of which remains hidden from me.
    Here are the changes in profile file for DTS:
    LGTV2012.prf
    Code:
    <avcontainer id="matroska" name="matroska,webm" mimetype="video/x-matroska" encode="0" format="matroska" supportschunked="0" level="51">
    		<video>
    			<format id="mpeg4">
    			</format>
    			<format id="h264" videoprofile="100">
    			</format>
    			<format id="mpeg2video">
    			</format>
    			<format id="vc1">
    				<maxbitrate>15000000</maxbitrate>
    			</format>
    		</video>
    		<audio>
    			<format id="ac3">
    			</format>
    			<format id="aac">
    			</format>
    			<format id="mp3">
    			</format>
    			<format id="dca" encode="1" codec="ac3" preferredtranscoded="1">
    				<channels>2</channels>
    				<channels>6</channels>
    				<maxbitrate>640000</maxbitrate>
    				<bitrate>640000</bitrate>
    				<maxsamplingrate>48000</maxsamplingrate>
    				<minsamplingrate>11025</minsamplingrate>
    				<samplingrate>48000</samplingrate>
    				<samplingrate>44100</samplingrate>
    				<samplingrate>32000</samplingrate>
    			</format>
    		</audio>
    	</avcontainer>
    Second issue is relates to the transcoding of DTS. In rare cases, after DTS transcoding when i play the result appears sound clipping and i do not understand what is the reason.
    Here's the ffmpeg log from transcoded file with a similar sound problem:

    MezzmoFFmpegTranscodeFileLog.txt
    Code:
    C:\Program Files (x86)\Conceiva\Mezzmo\ffmpeg.exe -y -i "F:\Serials Incoming\Lost.S03.720p.BluRay.DTS.x264-ESiR\Lost.S03E03.720p.BluRay.DTS.x264-ESiR.mkv" -map 0:v:0 -map 0:a:0 -c:v:0 libx264 -level 41 -profile:v high -filter:v "yadif" -pix_fmt yuv420p -copyinkf -coder 1 -flags +loop -fflags +genpts -cmp +chroma -me_method hex -subq 7 -me_range 16 -g 250 -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:aud=1 -partitions -parti8x8-parti4x4-partp8x8-partp4x4-partb8x8 -bidir_refine 1 -c:a:0 ac3_fixed -ac 6 -ab 640000 -ar 48000 -sn -threads 0 -async 0 -f mpegts "C:\Users\Sergey\AppData\Local\Conceiva\Mezzmo\TranscodingFiles\3DEB6B7C-1155-4a90-A3FF-21425B61D269\Video\5026-mpegts-libx264-ac3-sn.mzt"
    
    ffmpeg version N-46003-gfa48da1 Copyright (c) 2000-2012 the FFmpeg developers
      built on Oct 25 2012 12:37:27 with gcc 4.6.2 (GCC)
      configuration: --enable-memalign-hack --arch=x86 --target-os=mingw32 --cross-prefix=i686-w64-mingw32- --enable-static --disable-shared --enable-zlib --disable-postproc --prefix=/home/peter/ffmpeg/build/gpl --enable-libmp3lame --enable-libx264 --enable-gpl --extra-libs='-lx264 -lpthread' --enable-runtime-cpudetect --extra-cflags=-I/home/peter/cc/include --extra-ldflags=-L/home/peter/cc/lib --pkg-config=pkg-config --disable-w32threads --enable-zlib
      libavutil      52.  0.100 / 52.  0.100
      libavcodec     54. 69.100 / 54. 69.100
      libavformat    54. 34.100 / 54. 34.100
      libavdevice    54.  3.100 / 54.  3.100
      libavfilter     3. 20.105 /  3. 20.105
      libswscale      2.  1.101 /  2.  1.101
      libswresample   0. 16.100 /  0. 16.100
    Input #0, matroska,webm, from 'F:\Serials Incoming\Lost.S03.720p.BluRay.DTS.x264-ESiR\Lost.S03E03.720p.BluRay.DTS.x264-ESiR.mkv':
      Metadata:
        title           : Season 3, Episode 3: Further Instructions
        creation_time   : 2008-01-21 20:45:47
      Duration: 00:42:05.52, start: 0.000000, bitrate: 7408 kb/s
        Stream #0:0(eng): Video: h264 (High), yuv420p, 1280x720, SAR 1:1 DAR 16:9, 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default)
        Stream #0:1(eng): Audio: dts (DTS), 48000 Hz, 5.1(side), fltp, 1536 kb/s (default)
    [libx264 @ 0227f200] using SAR=1/1
    [libx264 @ 0227f200] using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2
    [libx264 @ 0227f200] profile High, level 4.1
    Output #0, mpegts, to 'C:\Users\Sergey\AppData\Local\Conceiva\Mezzmo\TranscodingFiles\3DEB6B7C-1155-4a90-A3FF-21425B61D269\Video\5026-mpegts-libx264-ac3-sn.mzt':
      Metadata:
        title           : Season 3, Episode 3: Further Instructions
        encoder         : Lavf54.34.100
        Stream #0:0(eng): Video: h264, yuv420p, 1280x720 [SAR 1:1 DAR 16:9], q=-1--1, 90k tbn, 23.98 tbc (default)
        Stream #0:1(eng): Audio: ac3, 48000 Hz, 5.1, s16p, 640 kb/s (default)
    Stream mapping:
      Stream #0:0 -> #0:0 (h264 -> libx264)
      Stream #0:1 -> #0:1 (dca -> ac3_fixed)
    Press [q] to stop, [?] for help
    frame=   64 fps=0.0 q=27.0 size=      19kB time=00:00:03.09 bitrate=  50.5kbits/s    
    frame=   97 fps= 97 q=27.0 size=     142kB time=00:00:04.50 bitrate= 258.5kbits/s    
    frame=  116 fps= 77 q=27.0 size=     424kB time=00:00:05.30 bitrate= 655.9kbits/s    
    st:0 PTS: 499650 DTS: 499650 < 503251 invalid, clipping
    [mpegts @ 020d7200] st:0 PTS: 502350 DTS: 502350 < 503252 invalid, clipping
    frame=  135 fps= 67 q=27.0 size=     776kB time=00:00:06.06 bitrate=1048.5kbits/s    
    frame=  153 fps= 61 q=27.0 size=    1093kB time=00:00:06.82 bitrate=1310.9kbits/s    
    frame=  174 fps= 57 q=27.0 size=    1344kB time=00:00:07.67 bitrate=1435.1kbits/s    
    frame=  194 fps= 55 q=27.0 size=    1581kB time=00:00:08.53 bitrate=1517.6kbits/s    
    frame=  214 fps= 53 q=27.0 size=    1823kB time=00:00:09.33 bitrate=1599.7kbits/s    
    frame=  233 fps= 51 q=27.0 size=    2058kB time=00:00:10.19 bitrate=1653.0kbits/s    
    frame=  254 fps= 50 q=27.0 size=    2333kB time=00:00:11.06 bitrate=1727.7kbits/s    
    frame=  277 fps= 50 q=27.0 size=    2638kB time=00:00:11.99 bitrate=1802.6kbits/s    
    frame=  299 fps= 49 q=27.0 size=    2935kB time=00:00:12.91 bitrate=1860.8kbits/s    
    frame=  321 fps= 48 q=27.0 size=    3198kB time=00:00:13.81 bitrate=1896.4kbits/s    
    frame=  342 fps= 48 q=27.0 size=    3463kB time=00:00:14.74 bitrate=1924.0kbits/s    
    frame=  363 fps= 47 q=27.0 size=    3743kB time=00:00:15.60 bitrate=1964.8kbits/s    
    frame=  390 fps= 48 q=27.0 size=    4021kB time=00:00:16.69 bitrate=1973.1kbits/s    
    frame=  413 fps= 47 q=27.0 size=    4285kB time=00:00:17.72 bitrate=1980.9kbits/s    
    frame=  431 fps= 47 q=27.0 size=    4495kB time=00:00:18.42 bitrate=1998.7kbits/s    
    frame=  451 fps= 46 q=24.0 size=    4706kB time=00:00:19.22 bitrate=2005.4kbits/s    
    frame=  478 fps= 47 q=27.0 size=    5031kB time=00:00:20.40 bitrate=2019.6kbits/s    
    frame=  499 fps= 46 q=27.0 size=    5221kB time=00:00:21.30 bitrate=2007.6kbits/s    
    frame=  521 fps= 46 q=27.0 size=    5425kB time=00:00:22.16 bitrate=2004.9kbits/s    
    frame=  545 fps= 46 q=27.0 size=    5642kB time=00:00:23.22 bitrate=1990.2kbits/s    
    frame=  567 fps= 46 q=27.0 size=    5944kB time=00:00:24.08 bitrate=2021.6kbits/s    
    frame=  589 fps= 46 q=27.0 size=    6210kB time=00:00:25.11 bitrate=2025.7kbits/s    
    frame=  612 fps= 46 q=27.0 size=    6507kB time=00:00:25.94 bitrate=2054.7kbits/s    
    frame=  635 fps= 46 q=27.0 size=    6711kB time=00:00:26.90 bitrate=2043.5kbits/s    
    frame=  658 fps= 46 q=27.0 size=    6930kB time=00:00:27.86 bitrate=2037.6kbits/s    
    frame=  677 fps= 46 q=27.0 size=    7230kB time=00:00:28.69 bitrate=2063.8kbits/s    
    frame=  695 fps= 45 q=27.0 size=    7460kB time=00:00:29.39 bitrate=2078.7kbits/s    
    frame=  717 fps= 45 q=27.0 size=    7722kB time=00:00:30.32 bitrate=2085.8kbits/s    
    frame=  744 fps= 45 q=24.0 size=    7963kB time=00:00:31.44 bitrate=2074.3kbits/s    
    frame=  765 fps= 45 q=27.0 size=    8210kB time=00:00:32.40 bitrate=2075.3kbits/s    
    frame=  786 fps= 45 q=27.0 size=    8479kB time=00:00:33.23 bitrate=2089.8kbits/s    
    frame=  806 fps= 45 q=27.0 size=    8856kB time=00:00:34.00 bitrate=2133.2kbits/s    
    frame=  822 fps= 45 q=27.0 size=    9143kB time=00:00:34.71 bitrate=2157.8kbits/s    
    frame=  841 fps= 44 q=27.0 size=    9395kB time=00:00:35.51 bitrate=2167.4kbits/s    
    frame=  863 fps= 44 q=27.0 size=    9758kB time=00:00:36.43 bitrate=2193.8kbits/s    
    frame=  887 fps= 44 q=27.0 size=   10111kB time=00:00:37.43 bitrate=2212.8kbits/s    
    frame=  906 fps= 44 q=27.0 size=   10493kB time=00:00:38.19 bitrate=2250.2kbits/s    
    frame=  925 fps= 44 q=27.0 size=   10808kB time=00:00:38.99 bitrate=2270.2kbits/s    
    frame=  954 fps= 44 q=27.0 size=   11121kB time=00:00:40.21 bitrate=2265.4kbits/s    
    frame=  981 fps= 44 q=27.0 size=   11415kB time=00:00:41.33 bitrate=2262.4kbits/s    
    frame=  997 fps= 44 q=27.0 size=   11669kB time=00:00:42.00 bitrate=2275.7kbits/s    
    frame= 1019 fps= 44 q=27.0 size=   11981kB time=00:00:42.90 bitrate=2287.6kbits/s    
    frame= 1039 fps= 44 q=27.0 size=   12272kB time=00:00:43.83 bitrate=2293.6kbits/s    
    frame= 1058 fps= 44 q=27.0 size=   12530kB time=00:00:44.60 bitrate=2301.4kbits/s    
    frame= 1080 fps= 44 q=27.0 size=   12829kB time=00:00:45.55 bitrate=2306.8kbits/s    
    frame= 1108 fps= 44 q=27.0 size=   13092kB time=00:00:46.64 bitrate=2299.1kbits/s    
    frame= 1135 fps= 44 q=27.0 size=   13463kB time=00:00:47.83 bitrate=2305.6kbits/s    
    frame= 1159 fps= 44 q=27.0 size=   13749kB time=00:00:48.79 bitrate=2308.4kbits/s    
    frame= 1188 fps= 44 q=27.0 size=   14044kB time=00:00:50.00 bitrate=2300.6kbits/s    
    frame= 1215 fps= 44 q=27.0 size=   14300kB time=00:00:51.09 bitrate=2292.7kbits/s    
    frame= 1243 fps= 44 q=27.0 size=   14594kB time=00:00:52.27 bitrate=2286.9kbits/s    
    frame= 1269 fps= 44 q=27.0 size=   14896kB time=00:00:53.36 bitrate=2286.5kbits/s    
    frame= 1287 fps= 44 q=27.0 size=   15115kB time=00:00:54.07 bitrate=2289.9kbits/s    
    frame= 1303 fps= 44 q=27.0 size=   15362kB time=00:00:54.77 bitrate=2297.4kbits/s    
    frame= 1324 fps= 44 q=27.0 size=   15726kB time=00:00:55.63 bitrate=2315.3kbits/s    
    frame= 1340 fps= 44 q=27.0 size=   16033kB time=00:00:56.34 bitrate=2331.1kbits/s    
    frame= 1358 fps= 43 q=27.0 size=   16401kB time=00:00:57.07 bitrate=2353.9kbits/s    
    frame= 1378 fps= 43 q=27.0 size=   16735kB time=00:00:57.91 bitrate=2367.2kbits/s    
    st:0 PTS: 5222850 DTS: 5222850 < 5226361 invalid, clipping
    [mpegts @ 020d7200] st:0 PTS: 5225550 DTS: 5225550 < 5226362 invalid, clipping
    frame= 1393 fps= 43 q=24.0 size=   17053kB time=00:00:58.53 bitrate=2386.3kbits/s    
    frame= 1409 fps= 43 q=27.0 size=   17354kB time=00:00:59.21 bitrate=2401.0kbits/s    
    frame= 1428 fps= 43 q=27.0 size=   17679kB time=00:00:59.99 bitrate=2414.1kbits/s

  2. #2
    Join Date
    Nov 2007
    Location
    Melbourne, Australia
    Posts
    11,642

    Default

    Hi Sergos,

    Thanks for the detailed post. Please post the FFmpeg information both MKV files. Right-click on the video in Mezzmo and click 'Get FFmpeg Information'. Also, post the <avcontainer id="mpegts"... section from your device profile.

    Mezzmo Android: Install it on your tablet, smartphone, Android TV or Amazon Fire to browse and stream files from your Mezzmo library to all your devices. Full details at http://www.conceiva.com/products/mez...mo_android.asp
    Mezzmo for Kodi Add-on: Install it into Kodi to stream files from your Mezzmo library directly in Kodi. Full details at http://www.mezzmo.com/wiki/doku.php?...odi_user_guide
    Mezzmo for Roku App: Install it onto your Roku to stream files from your Mezzmo library. Full details at http://www.mezzmo.com/wiki/doku.php?...oku_user_guide
    Wiki: User Guides & Reference Manual at http://www.mezzmo.com/wiki
    Facebook: http://www.facebook.com/Mezzmo.DLNA.Server
    Twitter: https://twitter.com/conceiva_mezzmo
    Web: http://www.mezzmo.com

  3. #3

    Default

    Hi, Paul
    See below the requested information:

    File 1
    Code:
    ffmpeg version N-46003-gfa48da1 Copyright (c) 2000-2012 the FFmpeg developers
      built on Oct 25 2012 12:37:27 with gcc 4.6.2 (GCC)
      configuration: --enable-memalign-hack --arch=x86 --target-os=mingw32 --cross-prefix=i686-w64-mingw32- --enable-static --disable-shared --enable-zlib --disable-postproc --prefix=/home/peter/ffmpeg/build/gpl --enable-libmp3lame --enable-libx264 --enable-gpl --extra-libs='-lx264 -lpthread' --enable-runtime-cpudetect --extra-cflags=-I/home/peter/cc/include --extra-ldflags=-L/home/peter/cc/lib --pkg-config=pkg-config --disable-w32threads --enable-zlib
      libavutil      52.  0.100 / 52.  0.100
      libavcodec     54. 69.100 / 54. 69.100
      libavformat    54. 34.100 / 54. 34.100
      libavdevice    54.  3.100 / 54.  3.100
      libavfilter     3. 20.105 /  3. 20.105
      libswscale      2.  1.101 /  2.  1.101
      libswresample   0. 16.100 /  0. 16.100
    Input #0, matroska,webm, from 'F:\Serials Incoming\Lost.S02.720p.BluRay.DTS.x264-CtrlHD\Lost.S02E01.720p.BluRay.DTS.x264-CtrlHD.mkv':
      Metadata:
        title           : Lost - Season 2 Episode 1
        creation_time   : 2009-07-13 06:44:47
      Duration: 00:43:17.59, start: 0.000000, bitrate: 7202 kb/s
        Stream #0:0(eng): Video: h264 (High), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default)
        Metadata:
          title           : Lost - Season 2 Episode 1
        Stream #0:1(eng): Audio: dts (DTS), 48000 Hz, 5.1(side), fltp, 1536 kb/s (default)
        Metadata:
          title           : English
        Stream #0:2(eng): Subtitle: subrip
        Metadata:
          title           : English
    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: 16:9
    File 2
    Code:
    ffmpeg version N-46003-gfa48da1 Copyright (c) 2000-2012 the FFmpeg developers
      built on Oct 25 2012 12:37:27 with gcc 4.6.2 (GCC)
      configuration: --enable-memalign-hack --arch=x86 --target-os=mingw32 --cross-prefix=i686-w64-mingw32- --enable-static --disable-shared --enable-zlib --disable-postproc --prefix=/home/peter/ffmpeg/build/gpl --enable-libmp3lame --enable-libx264 --enable-gpl --extra-libs='-lx264 -lpthread' --enable-runtime-cpudetect --extra-cflags=-I/home/peter/cc/include --extra-ldflags=-L/home/peter/cc/lib --pkg-config=pkg-config --disable-w32threads --enable-zlib
      libavutil      52.  0.100 / 52.  0.100
      libavcodec     54. 69.100 / 54. 69.100
      libavformat    54. 34.100 / 54. 34.100
      libavdevice    54.  3.100 / 54.  3.100
      libavfilter     3. 20.105 /  3. 20.105
      libswscale      2.  1.101 /  2.  1.101
      libswresample   0. 16.100 /  0. 16.100
    Input #0, matroska,webm, from 'F:\Serials Incoming\Lost.S03.720p.BluRay.DTS.x264-ESiR\Lost.S03E01.720p.BluRay.DTS.x264-ESiR.mkv':
      Metadata:
        title           : Season 3, Episode 1: A Tale of Two Cities
        creation_time   : 2007-12-30 01:12:08
      Duration: 00:43:18.58, start: 0.000000, bitrate: 7199 kb/s
        Stream #0:0(eng): Video: h264 (High), yuv420p, 1280x720, SAR 1:1 DAR 16:9, 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default)
        Stream #0:1(eng): Audio: dts (DTS), 48000 Hz, 5.1(side), fltp, 1536 kb/s (default)
    At least one output file must be specified
    
    <MEZZMO>: Child process ended with code: 109, ExitCode=1
    
    
    ---> DB Level Info: 51, 100
    ---> Frame rate: 23,98
    ---> Aspect ratio: 16:9
    LGTV2012.prf
    Code:
    ....
    <avcontainer id="mpegts" name="mpegts" mimetype="video/mpeg" encode="1" format="mpegts" preferredtranscoded="1" supportschunked="0" level="41">
    		<video>
    			<format id="mpeg1video">
    			</format>
    			<format id="mpeg2video">
    			</format>
    			<format id="h264" encode="1" codec="libx264" ffmpegadditional="h264+encoding" videoprofile="100" preferredtranscoded="1">
    				<copyts>0</copyts>
    				<samequality>0</samequality>
    				<maxbitrate>15000000</maxbitrate>
    			</format>
    			<format id="vc1">
    				<maxbitrate>15000000</maxbitrate>
    			</format>
    		</video>
    		<audio>
    			<format id="ac3" encode="1" codec="ac3" preferredtranscoded="1">
    				<channels>2</channels>
    				<channels>6</channels>
    				<maxbitrate>640000</maxbitrate>
    				<bitrate>640000</bitrate>
    				<maxsamplingrate>48000</maxsamplingrate>
    				<minsamplingrate>11025</minsamplingrate>
    				<samplingrate>48000</samplingrate>
    				<samplingrate>44100</samplingrate>
    				<samplingrate>32000</samplingrate>
    			</format>
    			<format id="aac">
    			</format>
    			<format id="mp3">
    			</format>
    			<format id="mp2">
    			</format>
    			<format id="dca" encode="1" codec="ac3" preferredtranscoded="1">
    				<channels>2</channels>
    				<channels>6</channels>
    				<maxbitrate>640000</maxbitrate>
    				<bitrate>640000</bitrate>
    				<maxsamplingrate>48000</maxsamplingrate>
    				<minsamplingrate>11025</minsamplingrate>
    				<samplingrate>48000</samplingrate>
    				<samplingrate>44100</samplingrate>
    				<samplingrate>32000</samplingrate>
    			</format>
    		</audio>
    		<ffmpegadditional id="union+thread0"/>
    	</avcontainer>
    ....

  4. #4
    Join Date
    Nov 2007
    Location
    Melbourne, Australia
    Posts
    11,642

    Default

    Thanks for the information. The difference is the level (see at the bottom of the FFmpeg information). One file has a level of 41 and the other has 51. The supported level in the "mpegts" container is 41 - so one file transcodes the h264 video channel (since level is 51) whereas the other file is remuxed (since level is 41).

    Mezzmo Android: Install it on your tablet, smartphone, Android TV or Amazon Fire to browse and stream files from your Mezzmo library to all your devices. Full details at http://www.conceiva.com/products/mez...mo_android.asp
    Mezzmo for Kodi Add-on: Install it into Kodi to stream files from your Mezzmo library directly in Kodi. Full details at http://www.mezzmo.com/wiki/doku.php?...odi_user_guide
    Mezzmo for Roku App: Install it onto your Roku to stream files from your Mezzmo library. Full details at http://www.mezzmo.com/wiki/doku.php?...oku_user_guide
    Wiki: User Guides & Reference Manual at http://www.mezzmo.com/wiki
    Facebook: http://www.facebook.com/Mezzmo.DLNA.Server
    Twitter: https://twitter.com/conceiva_mezzmo
    Web: http://www.mezzmo.com

  5. #5

    Default

    Great ..... obviously I missed a small but important detail: (
    Thanks for pointing it
    One inconvenience is history, but I'll be grateful if we debug second problem too, the clipping thing.

    Code:
    C:\Program Files (x86)\Conceiva\Mezzmo\ffmpeg.exe -y -fflags +genpts -i "F:\Serials Incoming\Lost.S03.720p.BluRay.DTS.x264-ESiR\Lost.S03E01.720p.BluRay.DTS.x264-ESiR.mkv" -map 0:v:0 -map 0:a:0 -c:v:0 copy -level 51 -profile:v high -bsf:v h264_mp4toannexb -filter:v "yadif" -pix_fmt yuv420p -copyinkf -coder 1 -flags +loop -fflags +genpts -cmp +chroma -me_method hex -subq 7 -me_range 16 -g 250 -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:aud=1 -partitions -parti8x8-parti4x4-partp8x8-partp4x4-partb8x8 -bidir_refine 1 -c:a:0 ac3_fixed -ac 6 -ab 640000 -ar 48000 -sn -threads 0 -async 0 -f mpegts "C:\Users\Sergey\AppData\Local\Conceiva\Mezzmo\TranscodingFiles\3DEB6B7C-1155-4a90-A3FF-21425B61D269\Video\5024-mpegts-libx264-ac3-sn.mzt"
    
    ffmpeg version N-46003-gfa48da1 Copyright (c) 2000-2012 the FFmpeg developers
      built on Oct 25 2012 12:37:27 with gcc 4.6.2 (GCC)
      configuration: --enable-memalign-hack --arch=x86 --target-os=mingw32 --cross-prefix=i686-w64-mingw32- --enable-static --disable-shared --enable-zlib --disable-postproc --prefix=/home/peter/ffmpeg/build/gpl --enable-libmp3lame --enable-libx264 --enable-gpl --extra-libs='-lx264 -lpthread' --enable-runtime-cpudetect --extra-cflags=-I/home/peter/cc/include --extra-ldflags=-L/home/peter/cc/lib --pkg-config=pkg-config --disable-w32threads --enable-zlib
      libavutil      52.  0.100 / 52.  0.100
      libavcodec     54. 69.100 / 54. 69.100
      libavformat    54. 34.100 / 54. 34.100
      libavdevice    54.  3.100 / 54.  3.100
      libavfilter     3. 20.105 /  3. 20.105
      libswscale      2.  1.101 /  2.  1.101
      libswresample   0. 16.100 /  0. 16.100
    Input #0, matroska,webm, from 'F:\Serials Incoming\Lost.S03.720p.BluRay.DTS.x264-ESiR\Lost.S03E01.720p.BluRay.DTS.x264-ESiR.mkv':
      Metadata:
        title           : Season 3, Episode 1: A Tale of Two Cities
        creation_time   : 2007-12-30 01:12:08
      Duration: 00:43:18.58, start: 0.000000, bitrate: 7199 kb/s
        Stream #0:0(eng): Video: h264 (High), yuv420p, 1280x720, SAR 1:1 DAR 16:9, 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default)
        Stream #0:1(eng): Audio: dts (DTS), 48000 Hz, 5.1(side), fltp, 1536 kb/s (default)
    Output #0, mpegts, to 'C:\Users\Sergey\AppData\Local\Conceiva\Mezzmo\TranscodingFiles\3DEB6B7C-1155-4a90-A3FF-21425B61D269\Video\5024-mpegts-libx264-ac3-sn.mzt':
      Metadata:
        title           : Season 3, Episode 1: A Tale of Two Cities
        encoder         : Lavf54.34.100
        Stream #0:0(eng): Video: h264, yuv420p, 1280x720 [SAR 1:1 DAR 16:9], q=2-31, 23.98 fps, 90k tbn, 23.98 tbc (default)
        Stream #0:1(eng): Audio: ac3, 48000 Hz, 5.1, s16p, 640 kb/s (default)
    Stream mapping:
      Stream #0:0 -> #0:0 (copy)
      Stream #0:1 -> #0:1 (dca -> ac3_fixed)
    Press [q] to stop, [?] for help
    frame=  117 fps=0.0 q=-1.0 size=    2287kB time=00:00:04.85 bitrate=3859.1kbits/s    
    st:0 PTS: 1558590 DTS: 1558590 < 1560391 invalid, clipping
    frame=  545 fps=477 q=-1.0 size=   21448kB time=00:00:22.70 bitrate=7736.8kbits/s    
    st:0 PTS: 2588550 DTS: 2588550 < 2591251 invalid, clipping
    frame=  995 fps=606 q=-1.0 size=   35498kB time=00:00:41.49 bitrate=7007.5kbits/s    
    frame= 1326 fps=582 q=-1.0 size=   45152kB time=00:00:55.28 bitrate=6690.2kbits/s    
    st:0 PTS: 5483040 DTS: 5483040 < 5485741 invalid, clipping
    frame= 1749 fps=629 q=-1.0 size=   59708kB time=00:01:12.95 bitrate=6704.8kbits/s    
    st:0 PTS: 7328040 DTS: 7328040 < 7331641 invalid, clipping
    [mpegts @ 0177e7e0] st:0 PTS: 7330740 DTS: 7330740 < 7331642 invalid, clipping
    [mpegts @ 0177e7e0] st:0 PTS: 7864710 DTS: 7864710 < 7867411 invalid, clipping
    frame= 2181 fps=665 q=-1.0 size=   77460kB time=00:01:31.00 bitrate=6973.0kbits/s    
    st:0 PTS: 8356290 DTS: 8356290 < 8357191 invalid, clipping
    frame= 2629 fps=695 q=-1.0 size=   92602kB time=00:01:49.78 bitrate=6909.8kbits/s    
    frame= 3079 fps=719 q=-1.0 size=  108060kB time=00:02:08.40 bitrate=6893.9kbits/s    
    st:0 PTS: 11772960 DTS: 11772960 < 11775661 invalid, clipping
    [mpegts @ 0177e7e0] st:0 PTS: 13101630 DTS: 13101630 < 13103431 invalid, clipping
    frame= 3534 fps=739 q=-1.0 size=  125296kB time=00:02:27.38 bitrate=6964.4kbits/s    
    frame= 3622 fps=683 q=-1.0 size=  130351kB time=00:02:31.03 bitrate=7070.3kbits/s    
    frame= 4078 fps=703 q=-1.0 size=  151032kB time=00:02:50.07 bitrate=7274.9kbits/s    
    st:0 PTS: 16981800 DTS: 16981800 < 16985401 invalid, clipping
    [mpegts @ 0177e7e0] st:0 PTS: 16984500 DTS: 16984500 < 16985402 invalid, clipping
    frame= 4537 fps=720 q=-1.0 size=  171950kB time=00:03:09.29 bitrate=7441.3kbits/s    
    frame= 4817 fps=708 q=-1.0 size=  181798kB time=00:03:20.95 bitrate=7411.2kbits/s    
    st:0 PTS: 18401730 DTS: 18401730 < 18402631 invalid, clipping
    frame= 5161 fps=707 q=-1.0 size=  194959kB time=00:03:35.28 bitrate=7418.5kbits/s    
    frame= 5360 fps=687 q=-1.0 size=  202307kB time=00:03:43.60 bitrate=7411.6kbits/s    
    st:0 PTS: 20950530 DTS: 20950530 < 20951431 invalid, clipping
    frame= 5829 fps=702 q=-1.0 size=  219378kB time=00:04:03.12 bitrate=7391.8kbits/s    
    st:0 PTS: 22264710 DTS: 22264710 < 22267411 invalid, clipping
    [mpegts @ 0177e7e0] st:0 PTS: 22563330 DTS: 22563330 < 22564231 invalid, clipping
    frame= 6278 fps=702 q=-1.0 size=  236923kB time=00:04:21.87 bitrate=7411.3kbits/s    
    frame= 6293 fps=666 q=-1.0 size=  237178kB time=00:04:22.55 bitrate=7400.3kbits/s    
    frame= 6595 fps=663 q=-1.0 size=  238976kB time=00:04:35.16 bitrate=7114.7kbits/s    
    st:0 PTS: 25573920 DTS: 25573920 < 25576621 invalid, clipping
    frame= 7055 fps=675 q=-1.0 size=  253768kB time=00:04:54.25 bitrate=7064.8kbits/s 
    ....................
    And thanks one more time for correcting my lapse

  6. #6
    Join Date
    Nov 2007
    Location
    Melbourne, Australia
    Posts
    11,642

    Default

    Hi Sergos,

    Email us at support [at] conceiva [dot] com and we'll provide you with an updated ffmpeg.exe that may fix your clipping problem.

    Mezzmo Android: Install it on your tablet, smartphone, Android TV or Amazon Fire to browse and stream files from your Mezzmo library to all your devices. Full details at http://www.conceiva.com/products/mez...mo_android.asp
    Mezzmo for Kodi Add-on: Install it into Kodi to stream files from your Mezzmo library directly in Kodi. Full details at http://www.mezzmo.com/wiki/doku.php?...odi_user_guide
    Mezzmo for Roku App: Install it onto your Roku to stream files from your Mezzmo library. Full details at http://www.mezzmo.com/wiki/doku.php?...oku_user_guide
    Wiki: User Guides & Reference Manual at http://www.mezzmo.com/wiki
    Facebook: http://www.facebook.com/Mezzmo.DLNA.Server
    Twitter: https://twitter.com/conceiva_mezzmo
    Web: http://www.mezzmo.com

Similar Threads

  1. Mezzmo 2.6 Transcoding/not transcoding problem divx Sony Bravia KDL
    By steve12 in forum Mezzmo Questions and Support
    Replies: 6
    Last Post: 07-26-2012, 10:57 AM
  2. Transcoding question
    By joti1978 in forum Mezzmo Questions and Support
    Replies: 3
    Last Post: 06-01-2012, 08:40 PM
  3. Messzmo 2.6 Transcoding/not transcoding problem
    By dpetr in forum Mezzmo Questions and Support
    Replies: 20
    Last Post: 05-29-2012, 10:17 AM
  4. Samsung Aquos TV & Transcoding Question
    By hannylicious in forum Mezzmo Questions and Support
    Replies: 5
    Last Post: 03-14-2012, 12:36 PM
  5. Question about transcoding and standards conversion
    By bbear in forum Mezzmo Questions and Support
    Replies: 3
    Last Post: 10-15-2010, 12:55 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •