Page 1 of 3 123 LastLast
Results 1 to 10 of 21

Thread: AVI stream vs MKV stream

  1. #1
    Join Date
    Oct 2011
    Posts
    22

    Default AVI stream vs MKV stream

    Problem No1.
    I tried to convert a DivX movie from AVI to MKV.
    The movie was previously as AVI normaly streamed from my PC to TV (Panasonic G30), but when I remuxed it with MKVmerge GUI to MKV container, it was not possible to stream it to TV. I've got a message that file is not supported on TV screen. This is crazy since in both cases there are the same audio and video files (and used codecs), the difference is only file container.

    Bellow I am posting the info about the both AV files:

    AVI
    General
    CompleteName : J:\Everybody's Fine[2009]DvDrip[Eng]-FXG.avi
    Format : AVI
    Format/Info : Audio Video Interleave
    FileSize/String : 700 MiB
    Duration/String : 1h 39mn
    OverallBitRate/String : 982 Kbps
    Encoded_Application : VirtualDubMod 1.5.10.2 (build 2540/release)
    Encoded_Library/String : VirtualDubMod build 2540/release

    Video
    ID/String : 0
    Format : MPEG-4 Visual
    Format_Profile : Advanced Simple@L5
    Format_Settings_BVOP/String : 2
    Format_Settings_QPel/String : No
    Format_Settings_GMC/String : No warppoints
    Format_Settings_Matrix/String : Default (H.263)
    MuxingMode : Packed bitstream
    CodecID : DX50
    CodecID/Hint : DivX 5
    Duration/String : 1h 39mn
    BitRate/String : 845 Kbps
    Width/String : 704 pixels
    Height/String : 288 pixels
    DisplayAspectRatio/String : 2.40:1
    FrameRate/String : 23.976 fps
    ColorSpace : YUV
    ChromaSubsampling : 4:2:0
    BitDepth/String : 8 bits
    ScanType/String : Progressive
    Compression_Mode/String : Lossy
    Bits-(Pixel*Frame) : 0.174
    StreamSize/String : 602 MiB (86%)
    Encoded_Library/String : XviD 1.0.3 (UTC 2004-12-20)

    Audio
    ID/String : 1
    Format : MPEG Audio
    Format_Version : Version 1
    Format_Profile : Layer 3
    Format_Settings_Mode : Joint stereo
    Format_Settings_ModeExtension : MS Stereo
    CodecID : 55
    CodecID/Hint : MP3
    Duration/String : 1h 39mn
    BitRate_Mode/String : Constant
    BitRate/String : 128 Kbps
    Channel(s)/String : 2 channels
    SamplingRate/String : 48.0 KHz
    Compression_Mode/String : Lossy
    StreamSize/String : 91.2 MiB (13%)
    Alignment/String : Aligned on interleaves
    Interleave_Duration/String : 42 ms (1.00 video frame)
    Interleave_Preload/String : 504 ms

    MKV
    General
    Unique ID : 208709661691110793108736231014982813238 (0x9D0404CA667C33219E42DBF8FA7D0636)
    Complete name : J:\Everybody's Fine[2009]DvDrip[Eng]-FXG.mkv
    Format : Matroska
    Format version : Version 2
    File size : 694 MiB
    Duration : 1h 39mn
    Overall bit rate : 975 Kbps
    Encoded date : UTC 2011-10-28 20:08:01
    Writing application : mkvmerge v5.0.1 ('Es ist Sommer') built on Oct 9 2011 11:55:43
    Writing library : libebml v1.2.2 + libmatroska v1.3.0

    Video
    ID : 1
    Format : MPEG-4 Visual
    Format profile : Advanced Simple@L5
    Format settings, BVOP : Yes
    Format settings, QPel : No
    Format settings, GMC : No warppoints
    Format settings, Matrix : Default (H.263)
    Codec ID : DX50
    Codec ID/Hint : DivX 5
    Duration : 1h 39mn
    Bit rate : 827 Kbps
    Width : 704 pixels
    Height : 288 pixels
    Display aspect ratio : 2.40:1
    Frame rate : 23.976 fps
    Color space : YUV
    Chroma subsampling : 4:2:0
    Bit depth : 8 bits
    Scan type : Progressive
    Compression mode : Lossy
    Bits/(Pixel*Frame) : 0.170
    Stream size : 589 MiB (85%)
    Writing library : XviD 1.0.3 (UTC 2004-12-20)

    Audio
    ID : 2
    Format : MPEG Audio
    Format version : Version 1
    Format profile : Layer 3
    Mode : Joint stereo
    Mode extension : MS Stereo
    Muxing mode : Header stripping
    Codec ID : A_MPEG/L3
    Codec ID/Hint : MP3
    Duration : 1h 39mn
    Bit rate mode : Constant
    Bit rate : 128 Kbps
    Channel(s) : 2 channels
    Sampling rate : 48.0 KHz
    Compression mode : Lossy
    Stream size : 91.2 MiB (13%)

    Text #1
    ID : 3
    Format : UTF-8
    Codec ID : S_TEXT/UTF8
    Codec ID/Info : UTF-8 Plain Text

    Text #2
    ID : 4
    Format : UTF-8
    Codec ID : S_TEXT/UTF8
    Codec ID/Info : UTF-8 Plain Text

    Problem No 2.
    I noticed that at some MKV files the subtitles are presented on TV in the way that TV does it when movie is played from local USB port (quite small font and no support for east Europen letters). On the other hand, sometimes the subtitles are shown with full support for east european letters (bigger font similar to BS player with east European letters supported).
    It seems that subtitles were transcoded in Mezmo?! I would like to force such transcoding every time since I like bigger font.

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

    Default

    Can you please post the output of the "Get FFmpeg Information" command for those files? I need to see them as Mezzmo does to understand what could be going on better.

    Mezzmo does not currently transcode subtitles, but there's an option (off by default) to copy existing subtitle streams. If you can post FFmpeg information on one file which has control and one which doesn't over how subtitles are presented, perhaps I can spot what the difference is.

    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
    Join Date
    Oct 2011
    Posts
    22

    Default

    Dear Dennis, I just found out that the audio was the problematic at my "Problem No 2." I made a mistake when choosing audio profile at Vidcoder app. to be transcoded. I have chosen Surround and that was a mistake for my TV.
    I solved this by properly troanscoding audio file from 5.1 to simple stereo (AAC or AC3).

    There is still unsolved "Problem No1.
    I tried to convert a DivX movie from AVI to MKV.
    The movie was previously as AVI normaly streamed from my PC to TV (Panasonic G30), but when I remuxed it with MKVmerge GUI to MKV container, it was not possible to stream it to TV. I've got a message that file is not supported on TV screen. This is crazy since in both cases there are the same audio and video files (and used codecs), the difference is only file container."

    I have managed to stream different containers to my G30 but I have rarerly noticed a problem when remuxing HD material to.MKV (MTS, M2ts, AVCHD, BDAV, other MKV with downmixed audio etc.) As far as I can see the problem appears only when trying to put DivX / Xvid with .srt subtitle from .AVI to .MKV container.
    I will post the "Get FFmpeg Information" command in a few minutes...

  4. #4
    Join Date
    Oct 2011
    Posts
    22

    Default

    Everybody's Fine

    AVI
    ffmpeg version N-33781-g35674a2, Copyright (c) 2000-2011 the FFmpeg developers
    built on Oct 19 2011 10:31:16 with gcc 4.6.1
    configuration: --enable-memalign-hack --arch=x86 --target-os=mingw32 --cross-prefix=i686-w64-mingw32- --enable-static --disable-shared --enable-zlib --disable-postproc --prefix=/media/ffmpeg --enable-libmp3lame --enable-libx264 --enable-gpl --extra-libs='-lx264 -lpthread' --enable-runtime-cpudetect --extra-cflags=-I/home/dennis/cc/include --extra-ldflags=-L/home/dennis/cc/lib --pkg-config=pkg-config
    libavutil 51. 22. 0 / 51. 22. 0
    libavcodec 53. 21. 0 / 53. 21. 0
    libavformat 53. 16. 1 / 53. 16. 1
    libavdevice 53. 4. 0 / 53. 4. 0
    libavfilter 2. 44. 0 / 2. 44. 0
    libswscale 2. 1. 0 / 2. 1. 0
    [mpeg4 @ 01598E20] Invalid and inefficient vfw-avi packed B frames detected

    Seems stream 0 codec frame rate differs from container frame rate: 23.98 (65535/2733) -> 23.98 (2997/125)
    Input #0, avi, from 'F:\Torrs\Za przenje\Everybody's Fine[2009]DvDrip[Eng]-FXG\Everybody's Fine[2009].avi':
    Metadata:
    encoder : VirtualDubMod 1.5.10.2 (build 2540/release)
    Duration: 01:39:34.05, start: 0.000000, bitrate: 982 kb/s
    Stream #0:0: Video: mpeg4 (Advanced Simple Profile) (DX50 / 0x30355844), yuv420p, 704x288 [SAR 1:1 DAR 22:9], 23.98 tbr, 23.98 tbn, 23.98 tbc
    Stream #0:1: Audio: mp3 (U[0][0][0] / 0x0055), 48000 Hz, stereo, s16, 128 kb/s
    At least one output file must be specified


    ---> DB Level Info: 5, 15
    ---> Frame rate: 23,98
    ---> Aspect ratio: 22:9

    MKV
    ffmpeg version N-33781-g35674a2, Copyright (c) 2000-2011 the FFmpeg developers
    built on Oct 19 2011 10:31:16 with gcc 4.6.1
    configuration: --enable-memalign-hack --arch=x86 --target-os=mingw32 --cross-prefix=i686-w64-mingw32- --enable-static --disable-shared --enable-zlib --disable-postproc --prefix=/media/ffmpeg --enable-libmp3lame --enable-libx264 --enable-gpl --extra-libs='-lx264 -lpthread' --enable-runtime-cpudetect --extra-cflags=-I/home/dennis/cc/include --extra-ldflags=-L/home/dennis/cc/lib --pkg-config=pkg-config
    libavutil 51. 22. 0 / 51. 22. 0
    libavcodec 53. 21. 0 / 53. 21. 0
    libavformat 53. 16. 1 / 53. 16. 1
    libavdevice 53. 4. 0 / 53. 4. 0
    libavfilter 2. 44. 0 / 2. 44. 0
    libswscale 2. 1. 0 / 2. 1. 0
    [mpeg4 @ 01479460] Invalid and inefficient vfw-avi packed B frames detected
    Input #0, matroska,webm, from 'F:\Torrs\Za przenje\Everybody's Fine[2009]DvDrip[Eng]-FXG\Everybody's Fine[2009].mkv':
    Duration: 01:39:34.05, start: 0.000000, bitrate: 974 kb/s
    Stream #0:0: Video: mpeg4 (Advanced Simple Profile) (DX50 / 0x30355844), yuv420p, 704x288 [SAR 1:1 DAR 22:9], 23.98 fps, 23.98 tbr, 1k tbn, 23.98 tbc (default)
    Stream #0:1: Audio: mp3, 48000 Hz, stereo, s16, 128 kb/s (default)
    Stream #0:2: Subtitle: text (default)
    At least one output file must be specified


    ---> DB Level Info: 5, 15
    ---> Frame rate: 23,98
    ---> Aspect ratio: 22:9


    Fast and Furious 5 Fast Five (2011)
    AVI
    ffmpeg version N-33781-g35674a2, Copyright (c) 2000-2011 the FFmpeg developers
    built on Oct 19 2011 10:31:16 with gcc 4.6.1
    configuration: --enable-memalign-hack --arch=x86 --target-os=mingw32 --cross-prefix=i686-w64-mingw32- --enable-static --disable-shared --enable-zlib --disable-postproc --prefix=/media/ffmpeg --enable-libmp3lame --enable-libx264 --enable-gpl --extra-libs='-lx264 -lpthread' --enable-runtime-cpudetect --extra-cflags=-I/home/dennis/cc/include --extra-ldflags=-L/home/dennis/cc/lib --pkg-config=pkg-config
    libavutil 51. 22. 0 / 51. 22. 0
    libavcodec 53. 21. 0 / 53. 21. 0
    libavformat 53. 16. 1 / 53. 16. 1
    libavdevice 53. 4. 0 / 53. 4. 0
    libavfilter 2. 44. 0 / 2. 44. 0
    libswscale 2. 1. 0 / 2. 1. 0

    Seems stream 0 codec frame rate differs from container frame rate: 23.98 (65535/2733) -> 23.98 (2500000/104271)
    Input #0, avi, from 'F:\Torrs\Za przenje\Fast and Furious 5 Fast Five (2011) DVDRip XviD-MAXSPEED\Fast and Furious 5 Fast Five (2011).avi':
    Metadata:
    encoder : AVI-Mux GUI 1.17.8.3, Feb 16 201019:42:50
    title : Fast Five (2011)
    JUNK :
    Duration: 02:10:20.03, start: 0.000000, bitrate: 1499 kb/s
    Stream #0:0: Video: mpeg4 (Advanced Simple Profile) (XVID / 0x44495658), yuv420p, 720x304 [SAR 1:1 DAR 45:19], 23.98 tbr, 23.98 tbn, 23.98 tbc
    Stream #0:1: Audio: ac3 ([0] [0][0] / 0x2000), 48000 Hz, 5.1(side), s16, 448 kb/s
    At least one output file must be specified


    ---> DB Level Info: 5, 15
    ---> Frame rate: 23.98
    ---> Aspect ratio: 45:19

    MKV
    ffmpeg version N-33781-g35674a2, Copyright (c) 2000-2011 the FFmpeg developers
    built on Oct 19 2011 10:31:16 with gcc 4.6.1
    configuration: --enable-memalign-hack --arch=x86 --target-os=mingw32 --cross-prefix=i686-w64-mingw32- --enable-static --disable-shared --enable-zlib --disable-postproc --prefix=/media/ffmpeg --enable-libmp3lame --enable-libx264 --enable-gpl --extra-libs='-lx264 -lpthread' --enable-runtime-cpudetect --extra-cflags=-I/home/dennis/cc/include --extra-ldflags=-L/home/dennis/cc/lib --pkg-config=pkg-config
    libavutil 51. 22. 0 / 51. 22. 0
    libavcodec 53. 21. 0 / 53. 21. 0
    libavformat 53. 16. 1 / 53. 16. 1
    libavdevice 53. 4. 0 / 53. 4. 0
    libavfilter 2. 44. 0 / 2. 44. 0
    libswscale 2. 1. 0 / 2. 1. 0
    Input #0, matroska,webm, from 'F:\Torrs\Za przenje\Fast and Furious 5 Fast Five (2011) DVDRip XviD-MAXSPEED\Fast and Furious 5 Fast Five (2011).mkv':
    Duration: 02:10:20.03, start: 0.000000, bitrate: 1208 kb/s
    Stream #0:0: Video: mpeg4 (Advanced Simple Profile) (XVID / 0x44495658), yuv420p, 720x304 [SAR 1:1 DAR 45:19], 23.98 fps, 23.98 tbr, 1k tbn, 23.98 tbc (default)
    Stream #0:1: Subtitle: text (default)
    Stream #0:2: Audio: ac3, 48000 Hz, stereo, s16, 160 kb/s (default)
    At least one output file must be specified


    ---> DB Level Info: 5, 15
    ---> Frame rate: 23.98
    ---> Aspect ratio: 45:19
    Last edited by Forbix; 11-01-2011 at 05:37 AM.

  5. #5
    Join Date
    Nov 2007
    Location
    Melbourne, Australia
    Posts
    11,616

    Default

    Thanks for the info - they do look very similar to originals. Can you please post FFmpeg information on an MKV that works after remuxing like that?

    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

  6. #6
    Join Date
    Oct 2011
    Posts
    22

    Default

    Basically, every MTS, M2ts and AVCHD remuxed with MKVMergeGui was possible to stream to my Viera. There arre problems only with older DivX movies.

  7. #7
    Join Date
    Oct 2011
    Posts
    22

    Default

    AVATAR
    MKV
    ffmpeg version N-33781-g35674a2, Copyright (c) 2000-2011 the FFmpeg developers
    built on Oct 19 2011 10:31:16 with gcc 4.6.1
    configuration: --enable-memalign-hack --arch=x86 --target-os=mingw32 --cross-prefix=i686-w64-mingw32- --enable-static --disable-shared --enable-zlib --disable-postproc --prefix=/media/ffmpeg --enable-libmp3lame --enable-libx264 --enable-gpl --extra-libs='-lx264 -lpthread' --enable-runtime-cpudetect --extra-cflags=-I/home/dennis/cc/include --extra-ldflags=-L/home/dennis/cc/lib --pkg-config=pkg-config
    libavutil 51. 22. 0 / 51. 22. 0
    libavcodec 53. 21. 0 / 53. 21. 0
    libavformat 53. 16. 1 / 53. 16. 1
    libavdevice 53. 4. 0 / 53. 4. 0
    libavfilter 2. 44. 0 / 2. 44. 0
    libswscale 2. 1. 0 / 2. 1. 0
    Input #0, matroska,webm, from 'F:\Torrs\MKV\Avatar_1080p.mkv':
    Duration: 02:41:41.73, start: 0.000000, bitrate: 6431 kb/s
    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)
    Stream #0:1(eng): Audio: ac3, 48000 Hz, stereo, s16, 320 kb/s (default)
    Stream #0:2(eng): Audio: ac3, 48000 Hz, 5.1(side), s16, 640 kb/s
    Stream #0:3: Subtitle: text (default)
    At least one output file must be specified


    ---> DB Level Info: 41, 100
    ---> Frame rate: 23.98
    ---> Aspect ratio: 16:9

    I do not have the original any more but this was BDAV (M2ts), size 7,9GB downloaded from torrent site: Dennis: Edited out the link
    Last edited by Paul; 11-03-2011 at 08:53 AM.

  8. #8
    Join Date
    Nov 2007
    Location
    Melbourne, Australia
    Posts
    11,616

    Default

    I'm not sure why it wouldn't work, as it all seems ok. I guess there's something wrong in the encoding of the container that causes it to fail. Can you convert it to AVCHD (MPEG-TS) and see if that works?

    Or, try playing original AVIs (where you have them) using Mezzmo and let Mezzmo transcode them.

    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

  9. #9
    Join Date
    Oct 2011
    Posts
    22

    Default

    Quote Originally Posted by Dennis View Post
    Or, try playing original AVIs (where you have them) using Mezzmo and let Mezzmo transcode them.
    The point is that ALL of my DivX movies are normally reproduced on TV without transcoding. When I turn them to MKV it is not readable any more.
    I am using the same procedure for MKV encapsulation every time, and the same software.
    HD material is normally encapsulated, but DivX is not.

  10. #10
    Join Date
    Nov 2007
    Location
    Melbourne, Australia
    Posts
    11,616

    Default

    It could be as simple as that the TV doesn't support MPEG4 video in an MKV file. When you're remuxing your MPEG-TS files, most likely you're remuxing h264, so it works.

    If the AVIs play natively, can I ask, why are you converting them to MKVs?

    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. Possible stream over internet?
    By riksworld in forum Mezzmo Questions and Support
    Replies: 2
    Last Post: 08-17-2011, 09:25 PM
  2. Can't stream movies
    By mcfearless in forum Mezzmo Questions and Support
    Replies: 18
    Last Post: 05-03-2011, 01:18 PM
  3. Stream crash
    By bigralf01 in forum Mezzmo Questions and Support
    Replies: 2
    Last Post: 01-01-2011, 10:10 AM
  4. How to keep DTS stream from MKV file to PS3, and how to select audio stream
    By wishful_st in forum Mezzmo Questions and Support
    Replies: 5
    Last Post: 09-10-2010, 04:27 PM
  5. How to Stream?
    By Juan71287 in forum Mezzmo Questions and Support
    Replies: 5
    Last Post: 01-06-2008, 03:03 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
  •