[MEncoder-users] Help cleaning up avi file

Alex Samad alex at samad.com.au
Sat Oct 4 02:32:12 CEST 2008


Hi

I have some avi files, (some downloaded, some made) and when I play them
with mencoder I get

[mpeg4 @ 0xb19b60]Invalid and inefficient vfw-avi packed B frames
detected


what is a simple way for fixing these files, I thought something as
simple as

mencoder -oac copy -ovc copy <infile> -o <outfile> -vf spp

But that doesn't seem to do anything, I don't really want to re encode
because I don't want to loose any quality

output from file test.avi 

Test.avi: RIFF (little-endian) data, AVI, 624 x 352, 23.98 fps,
video: XviD, audio: MPEG-1 Layer 3 (stereo, 48000 Hz)

 file Test.avi
Test.avi: RIFF (little-endian) data, AVI, 624 x 352, 23.98 fps,
video: XviD, audio: MPEG-1 Layer 3 (stereo, 48000 Hz)
alex at hufpuf:/exports/video/Series/House/5$ mplayer -identify -frames 0
Test.avi 
MPlayer dev-SVN-r26940
CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 4400+ (Family: 15, Model:
35, Stepping: 2)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.

Playing Test.avi.
AVI file format detected.
ID_VIDEO_ID=0
[aviheader] Video stream found, -vid 0
ID_AUDIO_ID=1
[aviheader] Audio stream found, -aid 1
VIDEO:  [XVID]  624x352  24bpp  23.976 fps  980.8 kbps (119.7 kbyte/s)
Clip info:
 Software: transcode-0.6.9
ID_CLIP_INFO_NAME0=Software
ID_CLIP_INFO_VALUE0=transcode-0.6.9
ID_CLIP_INFO_N=1
ID_FILENAME=Test.avi
ID_DEMUXER=avi
ID_VIDEO_FORMAT=XVID
ID_VIDEO_BITRATE=980840
ID_VIDEO_WIDTH=624
ID_VIDEO_HEIGHT=352
ID_VIDEO_FPS=23.976
ID_VIDEO_ASPECT=0.0000
ID_AUDIO_FORMAT=85
ID_AUDIO_BITRATE=137200
ID_AUDIO_RATE=0
ID_AUDIO_NCH=0
ID_LENGTH=2594.84
ID_SEEKABLE=1
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)
==========================================================================
ID_VIDEO_CODEC=ffodivx
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 48000 Hz, 2 ch, s16le, 128.0 kbit/8.33% (ratio: 16000->192000)
ID_AUDIO_BITRATE=128000
ID_AUDIO_RATE=48000
ID_AUDIO_NCH=2
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
ID_AUDIO_CODEC=mp3
Starting playback...



Thanks

-- 
"I cut the taxes on everybody. I didn't cut them. The Congress cut them. I asked them to cut them."

	- George W. Bush
08/06/2004
Washington, DC
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/mencoder-users/attachments/20081004/1bdc1a93/attachment.pgp>


More information about the MEncoder-users mailing list