[MPlayer-users] mencoder dev-SVN-r23511-4.1.2 cannot encode mpeg2 ts properly

Justin Piszcz jpiszcz at lucidpixels.com
Fri Jun 8 22:38:37 CEST 2007


I have an MPEG-2 TS file:

Toward the end I get this:

1 duplicate frame(s)!
TS_PARSE: COULDN'T SYNC%) 58.74fps Trem:   0min  22mb  A-V:-0.035
[1355:224]
a52: CRC check failed!
a52: error at resampling
a52: CRC check failed!
a52: error at resampling

1. When I play the MPEG-2 TS file, it is out of sync with mplayer.
2. When I encode it to xvid it is out of sync with any player.
3. When I play the MPEG-2 TS file with PowerDVD, its fine.
4. When I play the MPEG-2 TS file with Windows Media Player its fine.

The A/V sync is off between 5-10 seconds.

How come mplayer cannot play these files and mencoder cannot encode them?
They are from a Motorola 6412 DVR unit.

1 duplicate frame(s)!
Pos:   0.6s     21f ( 1%)  0.00fps Trem:   0min  10mb  A-V:-0.067 [0:223]
1 duplicate frame(s)!
Pos:   1.0s     31f ( 1%)  0.00fps Trem:   0min  10mb  A-V:-0.067 
[1023:224]
1 duplicate frame(s)!
Pos:   1.4s     41f ( 1%)  0.00fps Trem:   0min  11mb  A-V:-0.067 
[1058:224]
1 duplicate frame(s)!
Pos:   1.7s     51f ( 2%)  0.00fps Trem:   0min  11mb  A-V:-0.067 
[994:223]]
1 duplicate frame(s)!
Pos:   2.1s     61f ( 2%) 57.49fps Trem:   0min  11mb  A-V:-0.067 
[1010:224]
1 duplicate frame(s)!
Pos:   2.5s     71f ( 3%) 57.30fps Trem:   0min  12mb  A-V:-0.067 
[1042:224]
1 duplicate frame(s)!
Pos:   2.8s     81f ( 3%) 57.45fps Trem:   0min  12mb  A-V:-0.067 
[1040:224]
1 duplicate frame(s)!
Pos:   3.2s     91f ( 3%) 57.67fps Trem:   0min  13mb  A-V:-0.067 
[1029:224]
1 duplicate frame(s)!
Pos:   3.6s    101f ( 4%) 57.52fps Trem:   0min  13mb  A-V:-0.067 
[1062:224]
1 duplicate frame(s)!
Pos:   3.9s    111f ( 4%) 57.63fps Trem:   0min  14mb  A-V:-0.067 
[1051:223]
1 duplicate frame(s)!
Pos:   4.3s    121f ( 4%) 57.89fps Trem:   0min  15mb  A-V:-0.067 
[1079:224]
1 duplicate frame(s)!
Pos:   4.7s    131f ( 4%) 58.93fps Trem:   0min  15mb  A-V:-0.067 
[1026:224]
1 duplicate frame(s)!
Pos:   5.0s    141f ( 4%) 59.75fps Trem:   0min  15mb  A-V:-0.067 
[981:224]]
1 duplicate frame(s)!
Pos:   5.4s    151f ( 5%) 60.45fps Trem:   0min  15mb  A-V:-0.067 
[952:224]
1 duplicate frame(s)!
Pos:   5.8s    161f ( 5%) 61.22fps Trem:   0min  15mb  A-V:-0.067 
[920:224]
1 duplicate frame(s)!
Pos:   6.1s    171f ( 5%) 61.84fps Trem:   0min  15mb  A-V:-0.067 
[888:224]
1 duplicate frame(s)!
Pos:   6.5s    181f ( 5%) 62.48fps Trem:   0min  15mb  A-V:-0.067 
[861:224]
1 duplicate frame(s)!
Pos:   6.9s    191f ( 5%) 63.14fps Trem:   0min  15mb  A-V:-0.067 
[836:224]
1 duplicate frame(s)!
Pos:   7.3s    202f ( 5%) 63.78fps Trem:   0min  15mb  A-V:-0.069 
[809:224]
1 duplicate frame(s)!
Pos:   8.3s    231f ( 6%) 65.05fps Trem:   0min  15mb  A-V:-0.067 
[770:224]
1 duplicate frame(s)!
TS_PARSE: COULDN'T SYNC%) 58.74fps Trem:   0min  22mb  A-V:-0.035 
[1355:224]
a52: CRC check failed!
a52: error at resampling
a52: CRC check failed!
a52: error at resampling
Pos: 120.4s   3589f (100%) 58.93fps Trem:   0min  22mb  A-V:-0.025 
[1348:224]
Flushing video frames.
Writing index...
Writing header...
ODML: vprp aspect is 4:3.
Setting audio delay to 0.033s.

Video stream: 1348.403 kbit/s  (168550 B/s)  size: 20296894 bytes  120.420 
secs  3589 frames

Audio stream:  224.000 kbit/s  (28000 B/s)  size: 3356640 bytes  119.880 
secs




More information about the MPlayer-users mailing list