Hello, I captured a DV stream using dvgrab and am using mencoder to convert it from AVI (type 2) to MPEG4, but every 10th frame, starting from the 12th, I get a "skip frame!!!" message. What is this all about? Thanks, Chris
Hi,
[Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html] Hello,
I captured a DV stream using dvgrab and am using mencoder to convert it from AVI (type 2) to MPEG4, but every 10th frame, starting from the 12th, I get a "skip frame!!!" message.
What is this all about?
sounds like bad audio/video samplerate at headers... upload sample, attach mencoder -v log etc etc... as usual.... argh we are still unable to read in users' mind or terminal... A'rpi / Astral & ESP-team -- "I don't RTFM? Wow. What's the meaning of this? It's new for me." -- Martin Baum, a tipical MPlayer user...
On Sat, 9 Feb 2002, Arpi wrote:
I captured a DV stream using dvgrab and am using mencoder to convert it from AVI (type 2) to MPEG4, but every 10th frame, starting from the 12th, I get a "skip frame!!!" message.
What is this all about?
sounds like bad audio/video samplerate at headers... upload sample, attach mencoder -v log etc etc... as usual.... argh we are still unable to read in users' mind or terminal...
I have a 30 second clip I can upload, but it's 150MB. I am running Linux kernel 2.4.17 with the low latency (kernel preemption) patches. Earlier today I was running stock kernel 2.4.16. I am running the latest CVS mplayer, compiled with GCC 2.95.4 by typing "debian/rules clean binary". Here is the output of running mplayer -v: MPlayer CVS-020208-21:32-2.95.4 (C) 2000-2002 Arpad Gereoffy (see DOCS!) CPU vendor name: AuthenticAMD max cpuid level: 1 CPU: Advanced Micro Devices Athlon TB Thunderbird (Type: 6, Stepping: 2) extended cpuid-level: 6 CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 0 SSE2: 0 Compiled for x86 CPU with features: MMX MMX2 3DNow 3DNowEx Reading /home/ccurtis/.mplayer/codecs.conf: 29 audio & 77 video codecs CommandLine: '-v' '10year001.avi' get_path('font/font.desc') -> '/home/ccurtis/.mplayer/font/font.desc' font: can't open file: /home/ccurtis/.mplayer/font/font.desc font: can't open file: /usr/share/mplayer/font/font.desc Linux RTC init: open: Permission denied Using usleep() timing Playing 10year001.avi Not an URL! File size is 151366552 bytes Detected AVI file format! ======= AVI Header ======= us/frame: 33366 (fps=29.971) max bytes/sec: 4147200 padding: 0 MainAVIHeader.dwFlags: (16) HAS_INDEX frames total: 1197 initial: 0 streams: 2 Suggested BufferSize: 0 Size: 720 x 480 ==> Found video stream: 0 ======= STREAM Header ======= Type: vids FCC: dvsd (64737664) Flags: 0 Priority: 0 Language: 0 InitialFrames: 0 Rate: 1000000/33366 = 29.971 Start: 0 Len: 1197 Suggested BufferSize: 0 Quality -1 Sample size: 0 found 'bih', 40 bytes of 40 ======= VIDEO Format ====== biSize 40 biWidth 720 biHeight 480 biPlanes 1 biBitCount 24 biCompression 1685288548='dvsd' biSizeImage 1036800 =========================== ==> Found audio stream: 1 ======= STREAM Header ======= Type: auds FCC: (0) Flags: 0 Priority: 0 Language: 0 InitialFrames: 0 Rate: 48000/1 = 48000.000 Start: 0 Len: 7668764 Suggested BufferSize: 0 Quality -1 Sample size: 2 found 'wf', 16 bytes of 20 ======= WAVE Format ======= Format Tag: 1 (0x1) Channels: 2 Samplerate: 48000 avg byte/sec: 192000 Block align: 4 bits/sample: 16 cbSize: 0 Found movie at 0x144 - 0x90515F0 Reading INDEX block, 2394 chunks for 1197 frames AVI index offset: 0 Auto-selected AVI audio ID = 1 Auto-selected AVI video ID = 0 AVI: Searching for audio stream (id:1) AVI video length=143640008 VIDEO: [dvsd] 720x480 24bpp 29.97 fps 28771.8 kbps (3512.2 kbyte/s) [V] filefmt:3 fourcc:0x64737664 size:720x480 fps:29.97 ftime:=0.0334 get_path('sub/') -> '/home/ccurtis/.mplayer/sub/' Detected audio codec: [pcm] drv:2 (Uncompressed PCM) Initializing audio codec... dec_audio: Allocating 2048 + 65536 = 67584 bytes for output buffer AUDIO: srate=48000 chans=2 bps=2 sfmt=0x10 ratio: 192000->192000 Detected video codec: [qdv] drv:4 prio:0 (Sony Digital Video (DV)) fs seg 0x40017000 Loading DLL: 'qdv.dll' get_path('registry') -> '/home/ccurtis/.mplayer/registry' Using DirectShow codec: qdv.dll Decoder is capable of YUV output ( flags 0x9) INFO: Win32/DShow video codec init OK! Movie-Aspect is undefined - no prescaling applied. VO: [sdl] 720x480 => 720x480 Packed YUY2 VO: Description: SDL YUV/RGB/BGR renderer (SDL v1.1.7+ only!) VO: Author: Ryan C. Gordon <icculus@lokigames.com>, Felix Buenemann <atmosfear@users.sourceforge.net> video_out->init(720x480->720x480,flags=0,'MPlayer',0x32595559) SDL: Using 0x32595559 (YUY2) image format SDL: deactivating XScreensaver/DPMS SDL: X11 Resolution 1600x1200 Disabling DPMS stat: 1 SDL: Using driver: x11 SDL: using hardware-surface SDL: setting windowed mode INFO: Video OUT driver init OK! AO: [sdl] 48000Hz Stereo Signed 16-bit (Little-Endian) AO: Description: SDLlib audio output AO: Author: Felix Buenemann <atmosfear@users.sourceforge.net> SDL: Samplerate: 48000Hz Channels: Stereo Format Signed 16-bit (Little-Endian) SDL: buf size = 4096 Start playing... XXX initial v_pts=0.000 a_pos=6408 (0.033) mp_image: allocated 691200 bytes for 720x480x16 [0x32595559] image ds_fill_buffer: EOF reached (stream: video) 7/1197 36% 15% 0.3% 0 0 0% EOF code: 1 SDL: activating XScreensaver/DPMS Successfully enabled DPMS SDL: Audio Subsystem shutting down! *** free_stream() called *** Exiting... (End of file) max framesize was 120000 bytes And here is that output of what happens (edited for brevity) when I run "mencoder -ovc divx4 -oac mp3lame -divx4opts q=5 -v -pass 1 -o 10year.mpg 10year0*.avi": MEncoder CVS-020208-21:32-2.95.4 (C) 2000-2001 Arpad Gereoffy (see DOCS!) Reading /home/ccurtis/.mplayer/codecs.conf: 29 audio & 77 video codecs CPU vendor name: AuthenticAMD max cpuid level: 1 CPU: Advanced Micro Devices Athlon TB Thunderbird (Type: 6, Stepping: 2) extended cpuid-level: 6 CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 0 SSE2: 0 Not an URL! File not found: 'frameno.avi' Not an URL! File size is 151366552 bytes success: format: 0 data: 0x0 - 0x905AB98 Detected AVI file format! ======= AVI Header ======= us/frame: 33366 (fps=29.971) max bytes/sec: 4147200 padding: 0 MainAVIHeader.dwFlags: (16) HAS_INDEX frames total: 1197 initial: 0 streams: 2 Suggested BufferSize: 0 Size: 720 x 480 ==> Found video stream: 0 ======= STREAM Header ======= Type: vids FCC: dvsd (64737664) Flags: 0 Priority: 0 Language: 0 InitialFrames: 0 Rate: 1000000/33366 = 29.971 Start: 0 Len: 1197 Suggested BufferSize: 0 Quality -1 Sample size: 0 found 'bih', 40 bytes of 40 ======= VIDEO Format ====== biSize 40 biWidth 720 biHeight 480 biPlanes 1 biBitCount 24 biCompression 1685288548='dvsd' biSizeImage 1036800 =========================== ==> Found audio stream: 1 ======= STREAM Header ======= Type: auds FCC: (0) Flags: 0 Priority: 0 Language: 0 InitialFrames: 0 Rate: 48000/1 = 48000.000 Start: 0 Len: 7668764 Suggested BufferSize: 0 Quality -1 Sample size: 2 found 'wf', 16 bytes of 20 ======= WAVE Format ======= Format Tag: 1 (0x1) Channels: 2 Samplerate: 48000 avg byte/sec: 192000 Block align: 4 bits/sample: 16 cbSize: 0 Found movie at 0x144 - 0x90515F0 Reading INDEX block, 2394 chunks for 1197 frames AVI index offset: 0 Auto-selected AVI audio ID = 1 Auto-selected AVI video ID = 0 AVI: Searching for audio stream (id:1) AVI video length=143640008 VIDEO: [dvsd] 720x480 24bpp 29.97 fps 28771.8 kbps (3512.2 kbyte/s) [V] filefmt:3 fourcc:0x64737664 size:720x480 fps:29.97 ftime:=0.0334 Detected video codec: [qdv] drv:4 prio:0 (Sony Digital Video (DV)) fs seg 0x40017000 Loading DLL: 'qdv.dll' get_path('registry') -> '/home/ccurtis/.mplayer/registry' Using DirectShow codec: qdv.dll Decoder is capable of YUV output ( flags 0x9) INFO: Win32/DShow video codec init OK! Detected audio codec: [pcm] drv:2 (Uncompressed PCM) Initializing audio codec... dec_audio: Allocating 2048 + 65536 = 67584 bytes for output buffer AUDIO: srate=48000 chans=2 bps=2 sfmt=0x10 ratio: 192000->192000 Divx: 2-pass logfile: divx2pass.log MP3 audio selected Writing AVI header... LAME version 3.91 (http://www.mp3dev.org/) Using polyphase lowpass filter, transition band: 19548 Hz - 20129 Hz misc: scaling: 0.000000 ch0 (left) scaling: 0.000000 ch1 (right) scaling: 0.000000 filter type: 0 quantization: xr^3/4 huffman search: best (outside loop) experimental X=0 Y=0 Z=0 ... stream format: MPEG-1 Layer 3 2 channel - stereo padding: auto variable bitrate - VBR rh (default) ... psychoacoustic: tonality estimation limit: 8871.700195 Hz using short blocks: allowed adjust masking: -1.000000 dB psymodel: 1 noise shaping: 1 ^ amplification: 1 ^ stopping: 1 ATH: using ^ type: 4 ^ adjust type: 3 ^ adapt threshold type: 2 using temporal masking effect: yes ... XXX initial v_pts=0.000 a_pos=6408 (0.033) mp_image: allocated 691200 bytes for 720x480x16 [0x32595559] image Pos: 0.7s 22f ( 3%) 10fps Trem: 1min 10mb A-V:0.070 [0:176] skip frame!!! Pos: 1.0s 32f ( 3%) 11fps Trem: 1min 8mb A-V:0.070 [2425:176] skip frame!!! Pos: 1.3s 42f ( 4%) 11fps Trem: 1min 8mb A-V:0.070 [2103:175] skip frame!!! Pos: 1.6s 52f ( 5%) 11fps Trem: 1min 7mb A-V:0.070 [1821:173] skip frame!!! Pos: 1.9s 62f ( 6%) 11fps Trem: 1min 7mb A-V:0.070 [1678:174] skip frame!!! Pos: 2.2s 72f ( 6%) 12fps Trem: 1min 6mb A-V:0.070 [1553:174] skip frame!!! Pos: 2.5s 82f ( 7%) 12fps Trem: 1min 6mb A-V:0.070 [1457:177] [...] Pos: 34.7s 1152f (96%) 12fps Trem: 0min 4mb A-V:0.070 [861:183] skip frame!!! Pos: 35.0s 1162f (96%) 12fps Trem: 0min 4mb A-V:0.070 [861:183] skip frame!!! Pos: 35.3s 1172f (97%) 12fps Trem: 0min 4mb A-V:0.070 [860:183] skip frame!!! Pos: 35.6s 1182f (98%) 12fps Trem: 0min 4mb A-V:0.070 [859:183] skip frame!!! Pos: 35.9s 1192f (99%) 12fps Trem: 0min 4mb A-V:0.070 [859:183] skip frame!!! ds_fill_buffer: EOF reached (stream: video) 4mb A-V:0.053 [859:183] Writing AVI index... Fixup AVI header... Video stream: 859.021 kbit/s (107377 bps) size: 3865804 bytes 36.002 secs 1197 frames Audio stream: 183.458 kbit/s (22932 bps) size: 837120 bytes 36.504 secs *** free_stream() called *** Please let me know where you want me to upload the clip, if interested. Thanks, and apologies for newbie-izing on the list, Chris
participants (2)
-
Arpi -
Christopher Curtis