I have a source video file captured using camera, it runs ok with VLC but when runs on MPlayer it has no sound. So I tried to convert the source video using Mencoder command:
mencoder IMG_0050.MOV -ofps 25 -ovc xvid -oac copy -vf scale -zoom -xy 640 -xvidencopts bitrate=700 -vf rotate=1 -o IMG_0050_1.mov
and the output was ok according to the log:
when when i ran the output file, it has no sound even under VLC. What's wrong?
I had already ensure the KMixer is ok.
TQ
mencoder IMG_0050.MOV -ofps 25 -ovc xvid -oac copy -vf scale -zoom -xy 640 -xvidencopts bitrate=700 -vf rotate=1 -o IMG_0050_1.mov
and the output was ok according to the log:
MEncoder UNKNOWN-4.4.1 (C) 2000-2009 MPlayer Team
WARNING: OUTPUT FILE FORMAT IS _AVI_. See -of help.
success: format: 0 data: 0x0 - 0xc70065
libavformat file format detected.
[lavf] Video stream found, -vid 0
[lavf] Audio stream found, -aid 1
VIDEO: [avc1] 640x480 24bpp 24.000 fps 0.0 kbps ( 0.0 kbyte/s)
[V] filefmt:44 fourcc:0x31637661 size:640x480 fps:24.000 ftime:=0.0417
xvid: using library version 1.1.2 (build xvid-1.1.2)
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
Opening video filter: [rotate=1]
================================================== ========================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
================================================== ========================
audiocodec: framecopy (format=ff chans=1 rate=44100 bits=16 B/s=0 sample-0)
VDec: vo config request - 640 x 480 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
videocodec: XviD (480x640 fourcc=44495658 [XVID])
xvid: par=0/0 (vga11), displayed=480x640, sampled=480x640
xvid: CBR Rate Control -- bitrate=700kbit/s
Writing header...
ODML: vprp aspect is 12288:16384.
Setting audio delay to 0.046s.
Writing header...
ODML: vprp aspect is 12288:16384.
Setting audio delay to 0.046s.
Pos: 0.8s 21f ( 3%) 0.00fps Trem: 0min 4mb A-V:0.083 [0:63]
Skipping frame!
Pos: 1.5s 40f ( 3%) 31.97fps Trem: 0min 5mb A-V:0.083 [1128:63]
Skipping frame!
Pos: 2.2s 59f ( 7%) 31.81fps Trem: 0min 3mb A-V:0.082 [1024:63]
Skipping frame!
Pos: 2.6s 69f ( 9%) 32.36fps Trem: 0min 3mb A-V:0.083 [936:63]]
Skipping frame!
Pos: 3.3s 88f (14%) 32.20fps Trem: 0min 2mb A-V:0.083 [934:63]
Skipping frame!
Pos: 4.0s 107f (16%) 32.55fps Trem: 0min 2mb A-V:0.082 [901:63]
Skipping frame!
Pos: 4.4s 117f (18%) 33.17fps Trem: 0min 2mb A-V:0.083 [874:63]
Skipping frame!
Pos: 5.1s 136f (20%) 33.81fps Trem: 0min 2mb A-V:0.083 [845:63]
Skipping frame!
Pos: 5.8s 155f (21%) 34.46fps Trem: 0min 2mb A-V:0.082 [811:63]
Skipping frame!
Pos: 6.2s 165f (23%) 34.71fps Trem: 0min 2mb A-V:0.083 [815:63]
Skipping frame!
Pos: 6.9s 184f (24%) 35.17fps Trem: 0min 2mb A-V:0.083 [777:63]
Skipping frame!
Pos: 7.6s 203f (26%) 35.47fps Trem: 0min 2mb A-V:0.082 [768:63]
Skipping frame!
Pos: 8.0s 213f (27%) 35.76fps Trem: 0min 2mb A-V:0.083 [757:63]
Skipping frame!
Pos: 8.7s 232f (29%) 36.08fps Trem: 0min 2mb A-V:0.083 [745:63]
Skipping frame!
Pos: 9.4s 251f (31%) 36.49fps Trem: 0min 2mb A-V:0.082 [735:63]
Skipping frame!
Pos: 9.8s 261f (32%) 36.73fps Trem: 0min 2mb A-V:0.083 [722:63]
Skipping frame!
Pos: 10.5s 280f (34%) 37.17fps Trem: 0min 2mb A-V:0.083 [727:63]
Skipping frame!
Pos: 11.2s 299f (35%) 37.58fps Trem: 0min 2mb A-V:0.082 [713:63]
Skipping frame!
Pos: 11.6s 309f (37%) 37.79fps Trem: 0min 2mb A-V:0.083 [711:63]
Skipping frame!
Pos: 12.3s 328f (39%) 38.12fps Trem: 0min 2mb A-V:0.083 [700:63]
Skipping frame!
Pos: 13.0s 347f (42%) 38.19fps Trem: 0min 2mb A-V:0.082 [698:63]
Skipping frame!
Pos: 13.4s 357f (42%) 38.24fps Trem: 0min 2mb A-V:0.083 [697:63]
Skipping frame!
Pos: 14.1s 376f (46%) 38.19fps Trem: 0min 2mb A-V:0.083 [693:63]
Skipping frame!
Pos: 14.8s 395f (47%) 38.09fps Trem: 0min 2mb A-V:0.082 [695:63]
Skipping frame!
Pos: 15.2s 405f (50%) 38.05fps Trem: 0min 2mb A-V:0.083 [695:63]
Skipping frame!
Pos: 15.9s 424f (52%) 38.00fps Trem: 0min 2mb A-V:0.083 [689:63]
Skipping frame!
Pos: 16.6s 443f (53%) 38.09fps Trem: 0min 2mb A-V:0.082 [685:63]
Skipping frame!
Pos: 17.0s 453f (55%) 38.17fps Trem: 0min 2mb A-V:0.083 [684:63]
Skipping frame!
Pos: 17.7s 472f (56%) 38.27fps Trem: 0min 2mb A-V:0.083 [679:63]
Skipping frame!
Pos: 18.4s 491f (58%) 38.27fps Trem: 0min 2mb A-V:0.082 [678:63]
Skipping frame!
Pos: 18.8s 501f (60%) 38.26fps Trem: 0min 2mb A-V:0.083 [677:63]
Skipping frame!
Pos: 19.5s 520f (61%) 38.26fps Trem: 0min 2mb A-V:0.083 [678:63]
Skipping frame!
Pos: 20.2s 539f (63%) 38.45fps Trem: 0min 2mb A-V:0.082 [680:63]
Skipping frame!
Pos: 20.6s 549f (65%) 38.55fps Trem: 0min 2mb A-V:0.083 [678:63]
Skipping frame!
Pos: 21.3s 568f (67%) 38.60fps Trem: 0min 2mb A-V:0.083 [678:63]
Skipping frame!
Pos: 22.0s 587f (74%) 38.40fps Trem: 0min 2mb A-V:0.082 [680:63]
Skipping frame!
Pos: 22.4s 597f (70%) 38.24fps Trem: 0min 2mb A-V:0.083 [686:63]
Skipping frame!
Pos: 23.1s 616f (74%) 37.88fps Trem: 0min 2mb A-V:0.083 [687:63]
Skipping frame!
Pos: 23.8s 635f (76%) 37.67fps Trem: 0min 2mb A-V:0.082 [686:63]
Skipping frame!
Pos: 24.2s 645f (82%) 37.66fps Trem: 0min 2mb A-V:0.083 [684:63]
Skipping frame!
Pos: 24.9s 664f (81%) 37.57fps Trem: 0min 2mb A-V:0.083 [686:63]
Skipping frame!
Pos: 25.6s 683f (86%) 37.57fps Trem: 0min 2mb A-V:0.082 [681:63]
Skipping frame!
Pos: 26.0s 693f (85%) 37.56fps Trem: 0min 2mb A-V:0.083 [680:63]
Skipping frame!
Pos: 26.7s 712f (90%) 37.59fps Trem: 0min 2mb A-V:0.083 [679:63]
Skipping frame!
Pos: 27.4s 731f (93%) 37.57fps Trem: 0min 2mb A-V:0.082 [679:63]
Skipping frame!
Pos: 27.8s 741f (94%) 37.61fps Trem: 0min 2mb A-V:0.083 [677:63]
Skipping frame!
Pos: 28.5s 760f (100%) 37.63fps Trem: 0min 2mb A-V:0.083 [678:63]
Skipping frame!
Pos: 29.2s 779f (100%) 37.69fps Trem: 0min 2mb A-V:0.082 [675:63]
Skipping frame!
Pos: 29.6s 789f (100%) 37.63fps Trem: 0min 2mb A-V:0.083 [679:63]
Skipping frame!
Pos: 30.1s 803f (100%) 37.64fps Trem: 0min 2mb A-V:0.062 [680:63]
Flushing video frames.
Writing index...
Writing header...
ODML: vprp aspect is 12288:16384.
Setting audio delay to 0.046s.
Video stream: 679.336 kbit/s (84917 B/s) size: 2561098 bytes 30.160 secs 803 frames
Audio stream: 63.945 kbit/s (7993 B/s) size: 230885 bytes 28.886 secs
WARNING: OUTPUT FILE FORMAT IS _AVI_. See -of help.
success: format: 0 data: 0x0 - 0xc70065
libavformat file format detected.
[lavf] Video stream found, -vid 0
[lavf] Audio stream found, -aid 1
VIDEO: [avc1] 640x480 24bpp 24.000 fps 0.0 kbps ( 0.0 kbyte/s)
[V] filefmt:44 fourcc:0x31637661 size:640x480 fps:24.000 ftime:=0.0417
xvid: using library version 1.1.2 (build xvid-1.1.2)
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
Opening video filter: [rotate=1]
================================================== ========================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
================================================== ========================
audiocodec: framecopy (format=ff chans=1 rate=44100 bits=16 B/s=0 sample-0)
VDec: vo config request - 640 x 480 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
videocodec: XviD (480x640 fourcc=44495658 [XVID])
xvid: par=0/0 (vga11), displayed=480x640, sampled=480x640
xvid: CBR Rate Control -- bitrate=700kbit/s
Writing header...
ODML: vprp aspect is 12288:16384.
Setting audio delay to 0.046s.
Writing header...
ODML: vprp aspect is 12288:16384.
Setting audio delay to 0.046s.
Pos: 0.8s 21f ( 3%) 0.00fps Trem: 0min 4mb A-V:0.083 [0:63]
Skipping frame!
Pos: 1.5s 40f ( 3%) 31.97fps Trem: 0min 5mb A-V:0.083 [1128:63]
Skipping frame!
Pos: 2.2s 59f ( 7%) 31.81fps Trem: 0min 3mb A-V:0.082 [1024:63]
Skipping frame!
Pos: 2.6s 69f ( 9%) 32.36fps Trem: 0min 3mb A-V:0.083 [936:63]]
Skipping frame!
Pos: 3.3s 88f (14%) 32.20fps Trem: 0min 2mb A-V:0.083 [934:63]
Skipping frame!
Pos: 4.0s 107f (16%) 32.55fps Trem: 0min 2mb A-V:0.082 [901:63]
Skipping frame!
Pos: 4.4s 117f (18%) 33.17fps Trem: 0min 2mb A-V:0.083 [874:63]
Skipping frame!
Pos: 5.1s 136f (20%) 33.81fps Trem: 0min 2mb A-V:0.083 [845:63]
Skipping frame!
Pos: 5.8s 155f (21%) 34.46fps Trem: 0min 2mb A-V:0.082 [811:63]
Skipping frame!
Pos: 6.2s 165f (23%) 34.71fps Trem: 0min 2mb A-V:0.083 [815:63]
Skipping frame!
Pos: 6.9s 184f (24%) 35.17fps Trem: 0min 2mb A-V:0.083 [777:63]
Skipping frame!
Pos: 7.6s 203f (26%) 35.47fps Trem: 0min 2mb A-V:0.082 [768:63]
Skipping frame!
Pos: 8.0s 213f (27%) 35.76fps Trem: 0min 2mb A-V:0.083 [757:63]
Skipping frame!
Pos: 8.7s 232f (29%) 36.08fps Trem: 0min 2mb A-V:0.083 [745:63]
Skipping frame!
Pos: 9.4s 251f (31%) 36.49fps Trem: 0min 2mb A-V:0.082 [735:63]
Skipping frame!
Pos: 9.8s 261f (32%) 36.73fps Trem: 0min 2mb A-V:0.083 [722:63]
Skipping frame!
Pos: 10.5s 280f (34%) 37.17fps Trem: 0min 2mb A-V:0.083 [727:63]
Skipping frame!
Pos: 11.2s 299f (35%) 37.58fps Trem: 0min 2mb A-V:0.082 [713:63]
Skipping frame!
Pos: 11.6s 309f (37%) 37.79fps Trem: 0min 2mb A-V:0.083 [711:63]
Skipping frame!
Pos: 12.3s 328f (39%) 38.12fps Trem: 0min 2mb A-V:0.083 [700:63]
Skipping frame!
Pos: 13.0s 347f (42%) 38.19fps Trem: 0min 2mb A-V:0.082 [698:63]
Skipping frame!
Pos: 13.4s 357f (42%) 38.24fps Trem: 0min 2mb A-V:0.083 [697:63]
Skipping frame!
Pos: 14.1s 376f (46%) 38.19fps Trem: 0min 2mb A-V:0.083 [693:63]
Skipping frame!
Pos: 14.8s 395f (47%) 38.09fps Trem: 0min 2mb A-V:0.082 [695:63]
Skipping frame!
Pos: 15.2s 405f (50%) 38.05fps Trem: 0min 2mb A-V:0.083 [695:63]
Skipping frame!
Pos: 15.9s 424f (52%) 38.00fps Trem: 0min 2mb A-V:0.083 [689:63]
Skipping frame!
Pos: 16.6s 443f (53%) 38.09fps Trem: 0min 2mb A-V:0.082 [685:63]
Skipping frame!
Pos: 17.0s 453f (55%) 38.17fps Trem: 0min 2mb A-V:0.083 [684:63]
Skipping frame!
Pos: 17.7s 472f (56%) 38.27fps Trem: 0min 2mb A-V:0.083 [679:63]
Skipping frame!
Pos: 18.4s 491f (58%) 38.27fps Trem: 0min 2mb A-V:0.082 [678:63]
Skipping frame!
Pos: 18.8s 501f (60%) 38.26fps Trem: 0min 2mb A-V:0.083 [677:63]
Skipping frame!
Pos: 19.5s 520f (61%) 38.26fps Trem: 0min 2mb A-V:0.083 [678:63]
Skipping frame!
Pos: 20.2s 539f (63%) 38.45fps Trem: 0min 2mb A-V:0.082 [680:63]
Skipping frame!
Pos: 20.6s 549f (65%) 38.55fps Trem: 0min 2mb A-V:0.083 [678:63]
Skipping frame!
Pos: 21.3s 568f (67%) 38.60fps Trem: 0min 2mb A-V:0.083 [678:63]
Skipping frame!
Pos: 22.0s 587f (74%) 38.40fps Trem: 0min 2mb A-V:0.082 [680:63]
Skipping frame!
Pos: 22.4s 597f (70%) 38.24fps Trem: 0min 2mb A-V:0.083 [686:63]
Skipping frame!
Pos: 23.1s 616f (74%) 37.88fps Trem: 0min 2mb A-V:0.083 [687:63]
Skipping frame!
Pos: 23.8s 635f (76%) 37.67fps Trem: 0min 2mb A-V:0.082 [686:63]
Skipping frame!
Pos: 24.2s 645f (82%) 37.66fps Trem: 0min 2mb A-V:0.083 [684:63]
Skipping frame!
Pos: 24.9s 664f (81%) 37.57fps Trem: 0min 2mb A-V:0.083 [686:63]
Skipping frame!
Pos: 25.6s 683f (86%) 37.57fps Trem: 0min 2mb A-V:0.082 [681:63]
Skipping frame!
Pos: 26.0s 693f (85%) 37.56fps Trem: 0min 2mb A-V:0.083 [680:63]
Skipping frame!
Pos: 26.7s 712f (90%) 37.59fps Trem: 0min 2mb A-V:0.083 [679:63]
Skipping frame!
Pos: 27.4s 731f (93%) 37.57fps Trem: 0min 2mb A-V:0.082 [679:63]
Skipping frame!
Pos: 27.8s 741f (94%) 37.61fps Trem: 0min 2mb A-V:0.083 [677:63]
Skipping frame!
Pos: 28.5s 760f (100%) 37.63fps Trem: 0min 2mb A-V:0.083 [678:63]
Skipping frame!
Pos: 29.2s 779f (100%) 37.69fps Trem: 0min 2mb A-V:0.082 [675:63]
Skipping frame!
Pos: 29.6s 789f (100%) 37.63fps Trem: 0min 2mb A-V:0.083 [679:63]
Skipping frame!
Pos: 30.1s 803f (100%) 37.64fps Trem: 0min 2mb A-V:0.062 [680:63]
Flushing video frames.
Writing index...
Writing header...
ODML: vprp aspect is 12288:16384.
Setting audio delay to 0.046s.
Video stream: 679.336 kbit/s (84917 B/s) size: 2561098 bytes 30.160 secs 803 frames
Audio stream: 63.945 kbit/s (7993 B/s) size: 230885 bytes 28.886 secs
I had already ensure the KMixer is ok.
TQ