Initialise the decoder first by playing something through /dev/video16 ie something like :-
dd if=/dev/video0 of=/dev/video16 bs=64k count=100 John --- double guitars <[EMAIL PROTECTED]> wrote: > Yeah, the new Imakefile and ivtv_xv.c worked great. > Everything compiles, X runs, but I have one last > problem. When I run the following command: > > mplayer -vo xv dailyshow.avi > > I get a screen that's all purple and green, but the > sound sounds right. I hope it's just something > stupid > I'm doing that makes it not work. Here's the output > from mplayer, any ideas? Thanks again. And, just for > reference, mplayer -vo x11 dailyshow.avi works, but > is > all choppy. > > MPlayer 1.0pre5try2-3.4.3 (C) 2000-2004 MPlayer Team > > CPU: Advanced Micro Devices 64-bit CPU > Reading config file /usr/share/mplayer/mplayer.conf > Reading config file > /home/doubleguitars/.mplayer/config > Reading /home/doubleguitars/.mplayer/codecs.conf: > Reading /usr/share/mplayer/codecs.conf: 73 audio & > 180 > video codecs > font: can't open file: > /home/doubleguitars/.mplayer/font/font.desc > Font /usr/share/mplayer/font/font.desc loaded > successfully! (206 chars) > Using usleep() timing > Input config file /usr/share/mplayer/input.conf > parsed: 53 binds > Setting up LIRC support... > > Playing dailyshow.avi. > AVI file format detected. > VIDEO: [XVID] 512x384 12bpp 29.970 fps 967.1 > kbps > (118.1 kbyte/s) > Clip info: > Software: Nandub v1.0rc2 > ========================================================================== > Opening audio decoder: [mp3lib] MPEG layer-2, > layer-3 > MP3lib: init layer2&3 finished, tables done > AUDIO: 48000 Hz, 2 ch, 16 bit (0x10), ratio: > 14000->192000 (112.0 kbit) > Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG > layer-2, layer-3) > ========================================================================== > vo: X11 running at 720x480 with depth 24 and 32 bpp > (":0.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 48000Hz/2ch/16bit -> > 48000Hz/2ch/16bit... > AF_pre: af format: 2 bps, 2 ch, 48000 hz, little > endian signed int > AF_pre: 48000Hz 2ch Signed 16-bit (Little-Endian) > AO: [oss] 48000Hz 2ch Signed 16-bit (Little-Endian) > (2 > bps) > Building audio filter chain for 48000Hz/2ch/16bit -> > 48000Hz/2ch/16bit... > Starting playback... > VDec: vo config request - 512 x 384 (preferred csp: > Planar YV12) > VDec: using Planar YV12 as output csp (no 0) > Movie-Aspect is 1.33:1 - prescaling to correct movie > aspect. > VO: [xv] 512x384 => 512x384 Planar YV12 > A: 0.2 V: 0.0 A-V: 0.197 ct: 0.000 1/ 1 > 0% > 0% 0.0% 0 0 99% > A: 0.2 V: 0.0 A-V: 0.151 ct: 0.003 2/ 2 > 0% > 0% 0.0% 1 0 99% > A: 0.2 V: 0.1 A-V: 0.169 ct: 0.007 3/ 3 > 0% > 0% 0.0% 1 0 99% > A: 0.2 V: 0.1 A-V: 0.136 ct: 0.010 4/ 4 > 0% > 0% 0.0% 2 0 99% > A: 0.3 V: 0.1 A-V: 0.118 ct: 0.013 5/ 5 > 0% > 0% 0.0% 2 0 99% > A: 0.3 V: 0.2 A-V: 0.104 ct: 0.017 6/ 6 > 0% > 0% 0.0% 2 0 99% > A: 0.3 V: 0.2 A-V: 0.086 ct: 0.020 7/ 7 > 0% > 0% 0.0% 2 0 99% > A: 0.3 V: 0.2 A-V: 0.065 ct: 0.023 8/ 8 > 0% > 0% 0.0% 2 0 99% > A: 0.3 V: 0.3 A-V: 0.047 ct: 0.027 9/ 9 > 0% > 0% 0.0% 2 0 99% > A: 0.3 V: 0.3 A-V: 0.029 ct: 0.030 10/ 10 > 0% > 0% 0.0% 2 0 99% > A: 0.4 V: 0.3 A-V: 0.029 ct: 0.033 11/ 11 > 0% > 0% 0.0% 2 0 99% > A: 0.4 V: 0.4 A-V: 0.010 ct: 0.034 12/ 12 > 0% > 0% 0.0% 2 0 99% > A: 0.4 V: 0.4 A-V: 0.007 ct: 0.034 13/ 13 > 0% > 0% 0.0% 2 0 99% > A: 0.4 V: 0.4 A-V: -0.003 ct: 0.034 14/ 14 > 0% > 0% 0.0% 2 0 99% > A: 0.5 V: 0.5 A-V: 0.010 ct: 0.035 15/ 15 > 0% > 0% 0.0% 2 0 99% > A: 0.5 V: 0.5 A-V: 0.007 ct: 0.036 16/ 16 > 36% > 47% 1.0% 2 0 99% > A: 0.5 V: 0.5 A-V: 0.008 ct: 0.037 17/ 17 > 35% > 48% 1.0% 2 0 99% > A: 0.6 V: 0.6 A-V: -0.000 ct: 0.036 18/ 18 > 33% > 47% 1.0% 2 0 99% > A: 0.6 V: 0.6 A-V: 0.008 ct: 0.037 19/ 19 > 31% > 48% 1.0% 2 0 98% > A: 0.6 V: 0.6 A-V: -0.003 ct: 0.037 20/ 20 > 30% > 48% 1.0% 2 0 98% > A: 0.7 V: 0.7 A-V: 0.007 ct: 0.038 21/ 21 > 29% > 48% 1.0% 2 0 98% > A: 0.7 V: 0.7 A-V: -0.002 ct: 0.038 22/ 22 > 28% > 48% 0.9% 2 0 98% > A: 0.7 V: 0.7 A-V: 0.006 ct: 0.038 23/ 23 > 27% > 48% 0.9% 2 0 98% > A: 0.8 V: 0.8 A-V: -0.003 ct: 0.038 24/ 24 > 26% > 48% 0.9% 2 0 98% > A: 0.8 V: 0.8 A-V: 0.003 ct: 0.038 25/ 25 > 25% > 49% 0.9% 2 0 98% > A: 0.8 V: 0.8 A-V: -0.006 ct: 0.038 26/ 26 > 25% > 48% 0.9% 2 0 98% > A: 0.9 V: 0.9 A-V: 0.003 ct: 0.038 27/ 27 > 24% > 49% 0.9% 2 0 97% > A: 0.9 V: 0.9 A-V: -0.002 ct: 0.038 28/ 28 > 24% > 48% 0.9% 2 0 97% > A: 0.9 V: 0.9 A-V: 0.006 ct: 0.038 29/ 29 > 23% > 49% 0.9% 2 0 97% > A: 1.0 V: 1.0 A-V: -0.003 ct: 0.038 30/ 30 > 23% > 48% 0.9% 2 0 97% > A: 1.0 V: 1.0 A-V: 0.006 ct: 0.039 31/ 31 > 22% > 49% 0.8% 2 0 97% > A: 1.0 V: 1.0 A-V: -0.005 ct: 0.038 32/ 32 > 22% > 48% 0.9% 2 0 97% > A: 1.1 V: 1.1 A-V: 0.012 ct: 0.039 33/ 33 > 21% > 49% 0.9% 2 0 96% > A: 1.1 V: 1.1 A-V: -0.009 ct: 0.039 34/ 34 > 21% > 48% 0.9% 2 0 96% > A: 1.1 V: 1.1 A-V: 0.012 ct: 0.040 35/ 35 > 21% > 49% 0.9% 2 0 96% > A: 1.2 V: 1.2 A-V: -0.005 ct: 0.039 36/ 36 > 21% > 48% 0.9% 2 0 96% > A: 1.2 V: 1.2 A-V: 0.005 ct: 0.040 37/ 37 > 20% > 49% 0.8% 2 0 96% > A: 1.2 V: 1.2 A-V: -0.008 ct: 0.039 38/ 38 > 20% > 48% 0.8% 2 0 95% > A: 1.3 V: 1.3 A-V: 0.005 ct: 0.040 39/ 39 > 20% > 49% 0.8% 2 0 95% > Exiting... (Quit) > > --- Fredrik Trotzig <[EMAIL PROTECTED]> wrote: > > > I think that was just enough beers, if you ever > pass > > by Stockholm i\'ll buy you one of those golden. > > Thanks alot. > > > === message truncated === ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ ivtv-devel mailing list ivtv-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ivtv-devel