View Single Post
  #1  
Old 2010-01-05, 06:21 AM
Mandrax Mandrax is offline
TTD VIP
 
Join Date: Nov 2005
High definition .ts and .mkv files

HD transport streams and Matroschka container
Recently stumbled across a puzzle which is still unresolved, hopefully some experts might have a clue and enlighten my path.

Software used :
DVB Viewer to save HD stream
Mediainfo http://mediainfo.sourceforge.net/de
GDS Mux http://haali.su/mkv/
tsMuxeR http://www.smlabs.net/tsmuxer_en.html
TsDoctor http://www.cypheros.de
mkvmerge (mkvtoolnix) http://www.bunkus.org/videotools/mkv...downloads.html

In order to have a clear reference I cleaned an error-free 59mn 58s HD transport test stream with TsDoctor, which resulted in a size of 5.47 GB.

Demuxed above .ts file with tsMuxeR and got next to 2 audio files a .264 file, size = 5.03 GB. So far the world is fine

Next step was to mux above .264 and the 2 audio files to a Matroschka container using mkvmerge which took 329 seconds and resulted in a file size of 3.09 GB [3243282 KB]. Using mkvmerge on MacOS showed exactly the same size in GB.

Also, I transferred the .ts file directly to .mkv using GDS Mux, which took 369 seconds and resulted in a file size of 3.09 GB [3242967 KB].

Played all files on a 27'' screen and couldn't detect a difference. Using mediainfo on all files, the striking difference between the .ts and Matroschka files seems to be the bitrate, while both applications have no encoding properties and handling time was just 7 minutes <scratches his head>

Somehow don't trust the Matroschka files ( don't have a reasonable argument though), while would of course prefer the smallest size when it comes to storage for later BlueRay authoring, writing on discs and for sure file-sharing.

This is just one example, repeated the procedure several times with different .ts files and always the same general result

More detailed data from mediainfo :

ts file
General
ID : 3F3
Complete name : V:\TV\Rote Rosen_01-05_08-56-01_Das Erste HD_fixed.ts
Format : MPEG-TS
File size : 5.47 GiB
Duration : 59mn 58s
Overall bit rate : 13.1 Mbps
Video
ID : 6010 (0x177A)
Menu ID : 11100 (0x2B5C)
Format : AVC
Format/Info : Advanced Video Codec
Format profile : [email protected]
Format settings, CABAC : Yes
Format settings, ReFrames : 5 frames
Duration : 59mn 58s
Bit rate : 11.5 Mbps
Width : 1 280 pixels
Height : 720 pixels
Display aspect ratio : 16:9
Frame rate : 50.000 fps
Resolution : 8 bits
Colorimetry : 4:2:0
Scan type : Progressive
Bits/(Pixel*Frame) : 0.249
Stream size : 4.80 GiB (88%)
Color primaries : BT.709-5, BT.1361, IEC 61966-2-4, SMPTE RP177
Transfer characteristics : BT.709-5, BT.1361
Matrix coefficients : BT.709-5, BT.1361, IEC 61966-2-4 709, SMPTE RP177

mkv file via mkvmerge
General
Complete name : V:\TV\Rote Rosen_01-05_08-56-01_Das Erste HD_fixed.track_6010.mkv
Format : Matroska
File size : 3.09 GiB
Duration : 59mn 58s
Overall bit rate : 7 383 Kbps
Encoded date : UTC 2010-01-05 10:35:01
Writing application : mkvmerge v2.9.8 ('C'est le bon') built on Aug 13 2009 12:49:06
Writing library : libebml v0.7.7 + libmatroska v0.8.1
Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : [email protected]
Format settings, CABAC : Yes
Format settings, ReFrames : 5 frames
Muxing mode : Container [email protected]
Codec ID : V_MPEG4/ISO/AVC
Duration : 59mn 58s
Bit rate : 6 532 Kbps
Width : 1 280 pixels
Height : 720 pixels
Display aspect ratio : 16:9
Frame rate : 50.000 fps
Resolution : 8 bits
Colorimetry : 4:2:0
Scan type : Progressive
Bits/(Pixel*Frame) : 0.142
Stream size : 2.74 GiB (88%)
Color primaries : BT.709-5, BT.1361, IEC 61966-2-4, SMPTE RP177
Transfer characteristics : BT.709-5, BT.1361
Matrix coefficients : BT.709-5, BT.1361, IEC 61966-2-4 709, SMPTE RP177

mkv file via gds mux
General
Complete name : V:\TV\Rote Rosen_DS Mux.mkv
Format : Matroska
File size : 3.09 GiB
Duration : 59mn 58s
Overall bit rate : 7 382 Kbps
Encoded date : UTC 2010-01-05 10:42:40
Writing application : gdsmux
Writing library : Haali DirectShow Matroska Muxer 1.9.42.1
Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : [email protected]
Format settings, CABAC : Yes
Format settings, ReFrames : 5 frames
Muxing mode : Container [email protected]
Codec ID : V_MPEG4/ISO/AVC
Duration : 59mn 58s
Bit rate : 6 531 Kbps
Width : 1 280 pixels
Height : 720 pixels
Display aspect ratio : 16:9
Frame rate : 50.000 fps
Resolution : 8 bits
Colorimetry : 4:2:0
Scan type : Progressive
Bits/(Pixel*Frame) : 0.142
Stream size : 2.74 GiB (88%)
Title : PID 6010
Color primaries : BT.709-5, BT.1361, IEC 61966-2-4, SMPTE RP177
Transfer characteristics : BT.709-5, BT.1361
Matrix coefficients : BT.709-5, BT.1361, IEC 61966-2-4 709, SMPTE RP177

Unfortunately mediainfo doesn't give me a bitrate for the .264 file as such

Are there some people out there who can show me the light, please?
Many thanks for your thoughts & help.
Reply With Quote Reply with Nested Quotes