[MEncoder-users] Audio bitrate Convertion help required.

Shaan .. shaan20sep at hotmail.com
Fri Jul 8 14:43:03 CEST 2011


Hi,

I have a 8 GB MKV format movie which I am converting and downsizing to fit and play using my usb dvd-player.

I am able to manage downsize video to xvid format with 2 pass. but i noticed audio in that movie is 1510 kb, which is too much for my player to handle. Its playing but hanging after every few secs while playing with this large bitrate. So my aim is to reduce the bitrate without loosing its quality and channel 6. I believe its DTS encoding in original, which i didnt see available with mencoder. I have to watch movie in my home theater 6.2 channel. So quality is a concern, dont want to loose that.. 


Following is the movie played by mplayer. FYI.

E:\avatar>mplayer E:\avatar\cbgb-avatar-ORG.mkv
MPlayer dev-SVN-rUNKNOWN-4.2.0 (C) 2000-2007 MPlayer Team
CPU: Intel(R) Celeron(R) M processor         1.50GHz (Family: 6, Model: 13, Step
ping: 8)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
c:/windows/fonts/arial.ttf doesn't look like a bitmap font description, ignoring
.
Cannot load bitmap font: c:/windows/fonts/arial.ttf

Playing E:\avatar\cbgb-avatar-ORG.mkv.
[mkv] Track ID 1: video (V_MPEG4/ISO/AVC), -vid 0
[mkv] Track ID 2: audio (A_DTS), -aid 0, -alang eng
[mkv] Track ID 3: subtitles (S_TEXT/UTF8), -sid 0, -slang eng
[mkv] Will play video track 1.
Matroska file format detected.
VIDEO:  [avc1]  1280x720  24bpp  23.976 fps    0.0 kbps ( 0.0 kbyte/s)
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
==========================================================================
Opening audio decoder: [libdca] DTS decoding with libdca
Stream with high frequencies VQ coding
AUDIO: 48000 Hz, 2 ch, s16le, 1536.0 kbit/100.00% (ratio: 192000->192000)
Selected audio codec: [dts] afm: libdca (DTS-libdca)
==========================================================================
AO: [dsound] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
VDec: vo config request - 1280 x 720 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [directx] 1280x720 => 1280x720 Planar YV12


I am using following command pass-2 to change video and audio. video is fine, need help from audio side.

mencoder cbgb-avatar-ORG.mkv -forceidx -vf scale,harddup -zoom -xy 720 -ovc xvid -oac mp3lame -xvidencopts pass=2:bitrate=4000  -channels 6 -ni -o av-18.avi

If I use without (-channel 6 ) option its fine. but if i use with channel 6 option its crashing with error:

Pos:  73.8s   1612f ( 0%) 11.48fps Trem: 559min 2926mb  A-V:-0.088 [1109:271]
1 duplicate frame(s)!
Pos:  74.2s   1622f ( 0%) 11.49fps Trem: 560min 2926mb  A-V:-0.088 [1105:270]
1 duplicate frame(s)!
Pos:  74.7s   1632f ( 0%) 11.50fps Trem: 560min 2921mb  A-V:-0.088 [1101:270]
1 duplicate frame(s)!
Pos:  75.2s   1642f ( 0%) 11.52fps Trem: 561min 2918mb  A-V:-0.088 [1096:270]
1 duplicate frame(s)!
Pos:  75.4s   1646f ( 0%) 11.52fps Trem: 561min 2916mb  A-V:-0.063 [1094:270]
Too many audio packets in the buffer: (4098 in 8245176 bytes).
Maybe you are playing a non-interleaved stream/file or the codec failed?
For AVI files, try to force non-interleaved mode with the -ni option.

Flushing video frames.
Writing index...
Writing header...
ODML: vprp aspect is 16384:9193.
Setting audio delay to 0.048s.

Video stream: 1093.371 kbit/s  (136671 B/s)  size: 10311908 bytes  75.450 secs
1646 frames

Audio stream:  270.444 kbit/s  (33805 B/s)  size: 2565432 bytes  75.888 secs


Regards,
Shaan.






 		 	   		  


More information about the MEncoder-users mailing list