[mythtv-users] Transcoding AVI files

David Fishburn fishburn at ianywhere.com
Wed Jan 10 19:49:38 UTC 2007

Myth 0.20
Ubuntu Edgy
Ivtv 0.81
Kernel 2.6.18

I have an AVI file I would like to resize for a PSP which has a nice wide
display.  I was hoping to use the same settings I use for transcoding MPEG2
recordings, but when I attempt this I get:

Writing header...
[psp @ 0xa932f0]PSP mode need one video and one audio stream
[mpeg4 @ 0xc67e50]frame skip 8

Here is the full output, does anyone have any suggestions?

mythtv at myth:~/bin$ mencoder -aid 0 -oac lavc -ovc lavc -of lavf -lavcopts
aglobal=1:vglobal=1:vcodec=mpeg4:vbitrate=600:acodec=aac -af
lavcresample=24000:volume=10.1:0 -vf harddup -lavfopts
format=psp:i_certify_that_my_video_stream_does_not_use_b_frames -vf
scale=368:208 -quiet -o /media/mythtv/pda/Heroes.S01E01.mp4
MEncoder 2:0.99+1.0pre8-0ubuntu8 (C) 2000-2006 MPlayer Team

CPU: AMD Athlon(tm) 64 Processor 3500+ (Family: 15, Model: 79, Stepping: 2)
CPUflags: Type: 15 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
success: format: 0  data: 0x0 - 0x15d5f000
AVI file format detected.
AVI: invalid audio stream ID: 0 - ignoring (nosound)
AVI_NI: No audio stream found -> no sound.
VIDEO:  [XVID]  624x352  12bpp  23.976 fps  777.4 kbps (94.9 kbyte/s)
[V] filefmt:3  fourcc:0x44495658  size:624x352  fps:23.98  ftime:=0.0417
You have certified that your video stream does not contain B frames.
REMEMBER: MEncoder's libavformat muxing is presently broken and will
INCORRECT files in the presence of B frames. Moreover, due to bugs MPlayer
will play these INCORRECT files as if nothing were wrong!
OK, exit
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
Opening video filter: [scale w=368 h=208]
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)
VDec: vo config request - 624 x 352 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.77:1 - prescaling to correct movie aspect.

SwScaler: BICUBIC scaler, from Planar YV12 to Planar YV12 using MMX2
videocodec: libavcodec (368x208 fourcc=34504d46 [FMP4])
[mpeg4 @ 0xc67e50]frame skip 8
Writing header...
[psp @ 0xa932f0]PSP mode need one video and one audio stream
[mpeg4 @ 0xc67e50]frame skip 8


More information about the mythtv-users mailing list