On Wednesday 29 June 2005 10:42, John Harvey wrote: > The ioctl error normally occurs if ivtv hasn't been > initialised with mpeg decoding. > This probably also causes the mplayer error. > Do something like > dd if=/dev/video0 of=/dev/video16 bs=64k count=50
Yeah in my last post I'd mentioned I did that but just for completeness: # dd if=/dev/video0 of=/dev/video16 bs=64k count=50 50+0 records in 50+0 records out # mplayer -vo xv -ao alsa -ac hwac3, crossroads.avi MPlayer 1.0pre7-3.3.4 (C) 2000-2005 MPlayer Team CPU: Intel Pentium 4/Xeon Willamette (Family: 8, Stepping: 3) Detected cache-line size is 64 bytes CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1 Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2 Playing crossroads.avi. AVI file format detected. VIDEO: [DIVX] 640x472 24bpp 29.970 fps 819.6 kbps (100.0 kbyte/s) ========================================================================== Forced audio codec: hwac3 Opening audio decoder: [mp3lib] MPEG layer-2, layer-3 AUDIO: 44100 Hz, 2 ch, s16le, 160.0 kbit/11.34% (ratio: 20000->176400) Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3) ========================================================================== vo: X11 running at 720x480 with depth 24 and 32 bpp (":0" => local display) ========================================================================== Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family Selected video codec: [ffodivx] vfm:ffmpeg (FFmpeg MPEG-4) ========================================================================== Checking audio filter chain for 44100Hz/2ch/s16le -> 44100Hz/2ch/s16le... AF_pre: 44100Hz/2ch/s16le alsa-init: 1 soundcard found, using: default alsa: 44100 Hz/2 channels/4 bpf/65536 bytes buffer/Signed 16 bit Little Endian AO: [alsa] 44100Hz 2ch s16le (2 bps) Building audio filter chain for 44100Hz/2ch/s16le -> 44100Hz/2ch/s16le... Starting playback... [mpeg4 @ 0x85cf7e0]looks like this file was encoded with (divx4/(old)xvid/opendivx) -> forcing low_delay flag VDec: vo config request - 640 x 472 (preferred csp: Planar YV12) VDec: using Planar YV12 as output csp (no 0) Movie-Aspect is 1.36:1 - prescaling to correct movie aspect. VO: [xv] 640x472 => 640x472 Planar YV12 New_Face failed. Maybe the font path is wrong. Please supply the text font file (~/.mplayer/subfont.ttf). subtitle font: load_sub_face failed. X11 error: BadImplementation (server does not implement operation) MPlayer interrupted by signal 6 in module: vo_check_events - MPlayer crashed. This shouldn't happen. It can be a bug in the MPlayer code _or_ in your drivers _or_ in your gcc version. If you think it's MPlayer's fault, please read DOCS/HTML/en/bugreports.html and follow the instructions there. We can't and won't help unless you provide this information when reporting a possible bug. alsa-uninit: pcm closed And then the x log: GetModeLine - scrn: 0 clock: 34564 GetModeLine - hdsp: 720 hbeg: 752 hend: 840 httl: 928 vdsp: 480 vbeg: 484 vend: 488 vttl: 504 flags: 10 Ioctl IVTV_IOC_PREP_FRAME_YUV returned failed Error Invalid argument bitsPerPixel=32, depth=24, defaultVisual=TrueColor mask: ff0000,ff00,ff, offset: 16,8,0 Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing from list! It's been pretty much this way ever since I tried playing with xv. :-( -A. ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ ivtv-devel mailing list ivtv-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ivtv-devel