fifteen
6th March 2009, 19:42
X264 1114 Skystrife’s patched build
Mkvtoolnix 2.5.2
Tsmuxer 1.8.20
I’m creating and authoring my own AVC content.
I’m using x264 to encode the video to a raw 264 stream and using ffmpeg to encode the audio to Micosoft PCM WAV file.
In both cases I’m using the GUIs for tsmuxer and mkvtoolnix at default settings.
I want to mux these streams so that I have a single playable a/v file but I also want to ensure that I can demux these streams and essentially retain the original streams losslessly.
Stream info:
.264 file: 207 MB (217,526,031 bytes)
Wav file: 39.9 MB (41,880,044 bytes)
Wav length: 00:03:38.125
What I’ve found so far:
1. Muxing with tsmuxer to TS or M2TS then demux with tsmuxer:
Resulting files:
.264 file: 207 MB (217,526,082 bytes)
Wav file: 39.9 MB (41,880,072 bytes)
Wav length: 00:03:38.125
2. Muxing with tsmuxer the demuxed streams to TS or M2TS then demux with tsmuxer:
Resulting files:
.264 file: 207 MB (217,526,082 bytes)
Wav file: 39.9 MB (41,881,028 bytes)
Wav length: 3mn 38s 130ms
Notice that tsmuxer muxing and demuxing twice caused the wav file to lengthen, but the video file stayed the same size.
What is going on?
3. Muxing with mkvtoolnix to MKV then demux with mkvtoolnix:
Resulting files:
.h264 file: 207 MB (217,494,112 bytes)
Wav file: 39.9 MB (41,880,044 bytes)
Wav length: 3mn 38s 130ms
4. Muxing with mkvtoolnix the demuxed streams to MKV then demux with mkvtoolnix:
Resulting files:
.h264 file: 207 MB (217,494,162 bytes)
Wav file: 39.9 MB (41,880,044 bytes)
Wav length: 3mn 38s 130ms
Notice that with mkvtoolnix, the WAV file stayed the same size, but the video file size increased and on subsequent muxing/demuxing it continues to increase (at least as far as I tried it).
What is going on?
What I want to know is,
Is there a muxing -> demuxing solution that can ensure that no matter how many times I mux/demux I won’t be destroying the streams?
:stupid:
Mkvtoolnix 2.5.2
Tsmuxer 1.8.20
I’m creating and authoring my own AVC content.
I’m using x264 to encode the video to a raw 264 stream and using ffmpeg to encode the audio to Micosoft PCM WAV file.
In both cases I’m using the GUIs for tsmuxer and mkvtoolnix at default settings.
I want to mux these streams so that I have a single playable a/v file but I also want to ensure that I can demux these streams and essentially retain the original streams losslessly.
Stream info:
.264 file: 207 MB (217,526,031 bytes)
Wav file: 39.9 MB (41,880,044 bytes)
Wav length: 00:03:38.125
What I’ve found so far:
1. Muxing with tsmuxer to TS or M2TS then demux with tsmuxer:
Resulting files:
.264 file: 207 MB (217,526,082 bytes)
Wav file: 39.9 MB (41,880,072 bytes)
Wav length: 00:03:38.125
2. Muxing with tsmuxer the demuxed streams to TS or M2TS then demux with tsmuxer:
Resulting files:
.264 file: 207 MB (217,526,082 bytes)
Wav file: 39.9 MB (41,881,028 bytes)
Wav length: 3mn 38s 130ms
Notice that tsmuxer muxing and demuxing twice caused the wav file to lengthen, but the video file stayed the same size.
What is going on?
3. Muxing with mkvtoolnix to MKV then demux with mkvtoolnix:
Resulting files:
.h264 file: 207 MB (217,494,112 bytes)
Wav file: 39.9 MB (41,880,044 bytes)
Wav length: 3mn 38s 130ms
4. Muxing with mkvtoolnix the demuxed streams to MKV then demux with mkvtoolnix:
Resulting files:
.h264 file: 207 MB (217,494,162 bytes)
Wav file: 39.9 MB (41,880,044 bytes)
Wav length: 3mn 38s 130ms
Notice that with mkvtoolnix, the WAV file stayed the same size, but the video file size increased and on subsequent muxing/demuxing it continues to increase (at least as far as I tried it).
What is going on?
What I want to know is,
Is there a muxing -> demuxing solution that can ensure that no matter how many times I mux/demux I won’t be destroying the streams?
:stupid: