[MEncoder-users] mencoder -ovc copy -oac copy h264 hangs

Stefan Sassenberg stefan.sassenberg at gmx.de
Thu Aug 12 09:26:29 CEST 2010


Hello,

files from my video cam cannot be copied with mencoder. I get the 
following result:

ds9 videoin # mencoder -v -ovc copy -oac copy 00041.MTS -o 00041.avi
MEncoder 1.0rc3-4.3.4 (C) 2000-2009 MPlayer Team
Configuration:
init_freetype
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
[file] File size is 60512256 bytes
STREAM: [file] 00041.MTS
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
success: format: 0  data: 0x0 - 0x39b5800
LAVF_check: MPEG-2 transport stream format
Checking for YUV4MPEG2
ASF_check: not ASF guid!
Checking for REAL
Checking for SMJPEG
Searching demuxer type for filename 00041.MTS ext: .MTS
Checking for Nullsoft Streaming Video
Checking for MOV
Checking for VIVO
header block 1 size: 0
Checking for PVA
Checking for MPEG-TS...
TRIED UP TO POSITION 4, FOUND 47, packet_size= 192, SEEMS A TS? 1
GOOD CC: 30, BAD CC: 0
TS file format detected.
DEMUX OPEN, AUDIO_ID: -1, VIDEO_ID: -1, SUBTITLE_ID: -2,
Checking for MPEG-TS...
TRIED UP TO POSITION 4, FOUND 47, packet_size= 192, SEEMS A TS? 1
GOOD CC: 30, BAD CC: 0
PROBING UP TO 0, PROG: 0
COLLECT_SECTION, start: 64, size: 184, collected: 0
SKIP: 0+1, TID: 0, TLEN: 17, COLLECTED: 184
PARSE_PAT: section_len: 17, section 0/0
PROG: 1 (1-th of 2), PMT: 256
PROG: 0 (2-th of 2), PMT: 31
COLLECT_SECTION, start: 64, size: 184, collected: 0
SKIP: 0+1, TID: 2, TLEN: 57, COLLECTED: 184
FILL_PMT(prog=1), PMT_len: 184, IS_START: 64, TS_PID: 256, SIZE=184, 
M=0, ES_CNT=0, IDX=0, PMT_PTR=0x1277310
PROG DESCR, TAG=5, LEN=4(4)
PROG DESCR, TAG=5, LEN=4(4)
...descr id: 0x5, len=8
PARSE_PMT(1 INDEX 0), STREAM: 0, FOUND pid=0x1011 (4113), 
type=0x10000005, ES_DESCR_LENGTH: 10, bytes left: 17
...descr id: 0x5, len=4
...descr id: 0x81, len=4
PARSE_PMT(1 INDEX 1), STREAM: 1, FOUND pid=0x1100 (4352), type=0x2000, 
ES_DESCR_LENGTH: 12, bytes left: 0
----------------------------
COLLECT_SECTION, start: 64, size: 184, collected: 0
SKIP: 0+1, TID: 127, TLEN: 25, COLLECTED: 184
FILL_PMT(prog=0), PMT_len: 184, IS_START: 64, TS_PID: 31, SIZE=184, M=0, 
ES_CNT=0, IDX=1, PMT_PTR=0x1277590
COLLECT_SECTION, start: 64, size: 184, collected: 184
SKIP: 0+1, TID: 0, TLEN: 17, COLLECTED: 184
PARSE_PAT: section_len: 17, section 0/0
PROG: 1 (1-th of 2), PMT: 256
PROG: 0 (2-th of 2), PMT: 31
COLLECT_SECTION, start: 64, size: 184, collected: 184
SKIP: 0+1, TID: 2, TLEN: 57, COLLECTED: 184
FILL_PMT(prog=1), PMT_len: 184, IS_START: 64, TS_PID: 256, SIZE=184, 
M=0, ES_CNT=2, IDX=0, PMT_PTR=0x1277530
PROG DESCR, TAG=5, LEN=4(4)
PROG DESCR, TAG=5, LEN=4(4)
...descr id: 0x5, len=8
PARSE_PMT(1 INDEX 0), STREAM: 0, FOUND pid=0x1011 (4113), 
type=0x10000005, ES_DESCR_LENGTH: 10, bytes left: 17
...descr id: 0x5, len=4
...descr id: 0x81, len=4
PARSE_PMT(1 INDEX 1), STREAM: 1, FOUND pid=0x1100 (4352), type=0x2000, 
ES_DESCR_LENGTH: 12, bytes left: 0
----------------------------
COLLECT_SECTION, start: 64, size: 184, collected: 184
SKIP: 0+1, TID: 127, TLEN: 25, COLLECTED: 184
FILL_PMT(prog=0), PMT_len: 184, IS_START: 64, TS_PID: 31, SIZE=184, M=0, 
ES_CNT=0, IDX=1, PMT_PTR=0x1277590
COLLECT_SECTION, start: 64, size: 184, collected: 184
SKIP: 0+1, TID: 0, TLEN: 17, COLLECTED: 184
PARSE_PAT: section_len: 17, section 0/0
PROG: 1 (1-th of 2), PMT: 256
PROG: 0 (2-th of 2), PMT: 31
COLLECT_SECTION, start: 64, size: 184, collected: 184
SKIP: 0+1, TID: 2, TLEN: 57, COLLECTED: 184
FILL_PMT(prog=1), PMT_len: 184, IS_START: 64, TS_PID: 256, SIZE=184, 
M=0, ES_CNT=2, IDX=0, PMT_PTR=0x1277530
PROG DESCR, TAG=5, LEN=4(4)
PROG DESCR, TAG=5, LEN=4(4)
...descr id: 0x5, len=8
PARSE_PMT(1 INDEX 0), STREAM: 0, FOUND pid=0x1011 (4113), 
type=0x10000005, ES_DESCR_LENGTH: 10, bytes left: 17
...descr id: 0x5, len=4
...descr id: 0x81, len=4
PARSE_PMT(1 INDEX 1), STREAM: 1, FOUND pid=0x1100 (4352), type=0x2000, 
ES_DESCR_LENGTH: 12, bytes left: 0
----------------------------
COLLECT_SECTION, start: 64, size: 184, collected: 184
SKIP: 0+1, TID: 0, TLEN: 17, COLLECTED: 184
PARSE_PAT: section_len: 17, section 0/0
PROG: 1 (1-th of 2), PMT: 256
PROG: 0 (2-th of 2), PMT: 31
COLLECT_SECTION, start: 64, size: 184, collected: 184
SKIP: 0+1, TID: 2, TLEN: 57, COLLECTED: 184
FILL_PMT(prog=1), PMT_len: 184, IS_START: 64, TS_PID: 256, SIZE=184, 
M=0, ES_CNT=2, IDX=0, PMT_PTR=0x1277530
PROG DESCR, TAG=5, LEN=4(4)
PROG DESCR, TAG=5, LEN=4(4)
...descr id: 0x5, len=8
PARSE_PMT(1 INDEX 0), STREAM: 0, FOUND pid=0x1011 (4113), 
type=0x10000005, ES_DESCR_LENGTH: 10, bytes left: 17
...descr id: 0x5, len=4
...descr id: 0x81, len=4
PARSE_PMT(1 INDEX 1), STREAM: 1, FOUND pid=0x1100 (4352), type=0x2000, 
ES_DESCR_LENGTH: 12, bytes left: 0
----------------------------

... some more of these blocks, the last one is

----------------------------
COLLECT_SECTION, start: 64, size: 184, collected: 184
SKIP: 0+1, TID: 0, TLEN: 17, COLLECTED: 184
PARSE_PAT: section_len: 17, section 0/0
PROG: 1 (1-th of 2), PMT: 256
PROG: 0 (2-th of 2), PMT: 31
COLLECT_SECTION, start: 64, size: 184, collected: 184
SKIP: 0+1, TID: 2, TLEN: 57, COLLECTED: 184
FILL_PMT(prog=1), PMT_len: 184, IS_START: 64, TS_PID: 256, SIZE=184, 
M=0, ES_CNT=2, IDX=0, PMT_PTR=0x1277530
PROG DESCR, TAG=5, LEN=4(4)
PROG DESCR, TAG=5, LEN=4(4)
...descr id: 0x5, len=8
PARSE_PMT(1 INDEX 0), STREAM: 0, FOUND pid=0x1011 (4113), 
type=0x10000005, ES_DESCR_LENGTH: 10, bytes left: 17
...descr id: 0x5, len=4
...descr id: 0x81, len=4
PARSE_PMT(1 INDEX 1), STREAM: 1, FOUND pid=0x1100 (4352), type=0x2000, 
ES_DESCR_LENGTH: 12, bytes left: 0
----------------------------

Then, CPU is at 100% and have to kill mencoder with SIGKILL.

ds9 videoin # uname -a
Linux ds9 2.6.32-gentoo-r7 #3 SMP Sat Aug 7 09:52:23 CEST 2010 x86_64 
AMD Athlon(tm) 64 X2 Dual Core Processor 5000+ AuthenticAMD GNU/Linux

Can you see, why? Is there any further information I can give? Thank you.

Stefan


More information about the MEncoder-users mailing list