v_o_r_t_e_x
25th April 2010, 16:42
I have a M2TS file with H264 Video. The AR is wrongly set to 16:9.
In the past I set the AR in the H264 elementary stream:
1) demuxed the M2TS
2) muxed it with MP4Box and set the AR to 4:3 with: MP4Box.exe -add "InputVideo.h264":par=16:15 "OutputVideo.mp4"
3) demuxed the MP4 and muxed it to a new M2TS with TSMuxer
This worked fine. Now I have a new file I want to do this, but it does not work any more:
When I want to play the final M2TS file with MediaPlayer Classic, only the sound plays.
When I play it with Windows Media Player, it's ok.
When I try to work with that file with multiAVCHD e.g., it fails.
When I mux it to a MKV file, it also plays fine.
When I remux the MKV to M2TS it fails again.
I assume TSMuxer somehow is not handling my file properly.
Maybe it's because if the message I outlined below?!
This is what I do:
META.TXT
MUXOPT --no-pcr-on-video-pid --new-audio-pes --vbr --vbv-len=500
V_MPEG4/ISO/AVC, "VIDEO.h264", insertSEI, contSPS
A_AC3, "AUDIO.ac3"
tsMuxeR.exe "meta.txt" "OUTPUT.m2ts"
SmartLabs tsMuxeR. Version 1.8.8(b) http://www.smlabs.net
Decoding H264 stream (track 1): Profile: Main@3.0 Resolution: 720:576i Frame rate: 25
0.0% complete
H264 bitstream changed: insert nal unit delimiters
Decoding AC3 stream (track 2): Bitrate: 448Kbps Sample Rate: 48KHz Channels: 2
B-pyramid level 2 detected. Shift DTS to 3 frames
99.6% complete
Processed 28724 video frames
100.0% complete
Mux successful complete.
Muxing time: 12 sec
Any ideas?!
Or how do I tell TSMuxer not to change the H264 stream at all?
In the past I set the AR in the H264 elementary stream:
1) demuxed the M2TS
2) muxed it with MP4Box and set the AR to 4:3 with: MP4Box.exe -add "InputVideo.h264":par=16:15 "OutputVideo.mp4"
3) demuxed the MP4 and muxed it to a new M2TS with TSMuxer
This worked fine. Now I have a new file I want to do this, but it does not work any more:
When I want to play the final M2TS file with MediaPlayer Classic, only the sound plays.
When I play it with Windows Media Player, it's ok.
When I try to work with that file with multiAVCHD e.g., it fails.
When I mux it to a MKV file, it also plays fine.
When I remux the MKV to M2TS it fails again.
I assume TSMuxer somehow is not handling my file properly.
Maybe it's because if the message I outlined below?!
This is what I do:
META.TXT
MUXOPT --no-pcr-on-video-pid --new-audio-pes --vbr --vbv-len=500
V_MPEG4/ISO/AVC, "VIDEO.h264", insertSEI, contSPS
A_AC3, "AUDIO.ac3"
tsMuxeR.exe "meta.txt" "OUTPUT.m2ts"
SmartLabs tsMuxeR. Version 1.8.8(b) http://www.smlabs.net
Decoding H264 stream (track 1): Profile: Main@3.0 Resolution: 720:576i Frame rate: 25
0.0% complete
H264 bitstream changed: insert nal unit delimiters
Decoding AC3 stream (track 2): Bitrate: 448Kbps Sample Rate: 48KHz Channels: 2
B-pyramid level 2 detected. Shift DTS to 3 frames
99.6% complete
Processed 28724 video frames
100.0% complete
Mux successful complete.
Muxing time: 12 sec
Any ideas?!
Or how do I tell TSMuxer not to change the H264 stream at all?