mfilm=/mnt/dvd/11.rm !mplayer
Playing /mnt/dvd/11.rm REAL file format detected. ======= WAVE Format ======= Format Tag: 28515 (0x6F63) Channels: 1 Samplerate: 22050 avg byte/sec: 32115 Block align: 558 bits/sample: 16 cbSize: 18 =========================== VIDEO: RV20 [20200002,00029838] 352x240 (aspect 0.00) 15.00 fps Opening audio decoder: [realaud] RealAudio decoder opening shared obj '/usr/lib/win32/cook.so.6.0' Audio codec: [7] 32 Kbps Voice Audio bitrate: 32.041 kbit/s (4005 bps) AUDIO: 22050 Hz, 1 ch, 16 bit (0x10), ratio: 4005->44100 (32.0 kbit)
mencoder -ovc lavc -lavcopts vcodec=mpeg1video:vhq:keyint=300:vbitrate=1151 -oac mp3lame -lameopts br=224:cbr -of mpeg "$mfilm" -o /tmp/test.mpg
Playing test.mpg MPEG-PS file format detected. Too many video packets in the buffer: (4096 in 8294809 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. MPEG: No audio stream found -> no sound. VIDEO: MPEG1 352x240 (aspect 1) 23.98 fps 1151.2 kbps (143.9 kbyte/s) Audio: no sound
cdd tmp whatever2mpg.pl /mnt/dvd/11.rm
stty echo mfilm=11rm01.mpg
!mplayer Playing 11rm01.mpg MPEG-PS file format detected. VIDEO: MPEG1 352x240 (aspect 12) 29.97 fps 1152.0 kbps (144.0 kbyte/s) Opening audio decoder: [mp3lib] MPEG layer-2, layer-3 MP3lib: init layer2&3 finished, tables done AUDIO: 44100 Hz, 2 ch, 16 bit (0x10), ratio: 28000->176400 (224.0 kbit)