Suite à la lecture de ce billet http://blog.rom1v.com/2012/04/lire-des- ... ns-un-tty/, j'ai appris qu'il était possible d'afficher des images et de lire une vidéo sans X.
Pour moi, c'est complètement inutile, mais j'aimerais bien tester ça au moins une fois dans ma vie.
J'ai donc installé ceci sur mon poste:
Code : Tout sélectionner
extra/xf86-video-fbdev
extra/fbida
Mais je n'arrive pas a faire tourner la vidéo, j’obtiens alors pour la commande suivante, cette erreur:
Code : Tout sélectionner
~$ mplayer -vo fbdev filmTest.avi
MPlayer SVN-r35421-4.7.2 (C) 2000-2012 MPlayer Team
199 audio & 415 video codecs
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.
Playing filmTest.avi.
libavformat version 54.36.100 (internal)
AVI file format detected.
[aviheader] Video stream found, -vid 0
[aviheader] Audio stream found, -aid 1
VIDEO: [XVID] 640x352 12bpp 25.000 fps 862.6 kbps (105.3 kbyte/s)
Clip info:
Software: VirtualDubMod 1.5.1.1a (build 1155/release)
Load subtitles in ./
vo: couldn't open the X11 display ()!
vo: couldn't open the X11 display ()!
vo: couldn't open the X11 display ()!
vo: couldn't open the X11 display ()!
VO XOverlay need a subdriver
[VO_SDL] SDL initialization failed: Unable to open mouse.
vo: couldn't open the X11 display ()!
vo: couldn't open the X11 display ()!
vo: couldn't open the X11 display ()!
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
libavcodec version 54.71.100 (internal)
Unsupported PixelFormat 61
Unsupported PixelFormat 53
Unsupported PixelFormat 81
Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)
==========================================================================
==========================================================================
Opening audio decoder: [mpg123] MPEG 1.0/2.0/2.5 layers I, II, III
AUDIO: 48000 Hz, 2 ch, s16le, 32.0 kbit/2.08% (ratio: 4000->192000)
Selected audio codec: [mpg123] afm: mpg123 (MPEG 1.0/2.0/2.5 layers I, II, III)
==========================================================================
[AO OSS] audio_setup: Can't open audio device /dev/dsp: No such file or directory
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
Movie-Aspect is 1.82:1 - prescaling to correct movie aspect.
[swscaler @ 0x10ee920]using unscaled yuv420p -> bgra special converter
VO: [fbdev] 640x352 => 640x352 BGRA
Can't put VSCREENINFO: Invalid argument
FATAL: Cannot initialize video driver.
Movie-Aspect is 1.82:1 - prescaling to correct movie aspect.
VO: [fbdev] 640x352 => 640x352 BGRA
Can't put VSCREENINFO: Invalid argument
FATAL: Cannot initialize video driver.
Movie-Aspect is 1.82:1 - prescaling to correct movie aspect.
VO: [fbdev] 640x352 => 640x352 BGRA
Can't put VSCREENINFO: Invalid argument
FATAL: Cannot initialize video driver.
Movie-Aspect is 1.82:1 - prescaling to correct movie aspect.
VO: [fbdev] 640x352 => 640x352 BGRA
Can't put VSCREENINFO: Invalid argument
FATAL: Cannot initialize video driver.
Movie-Aspect is 1.82:1 - prescaling to correct movie aspect.
VO: [fbdev] 640x352 => 640x352 BGRA
Can't put VSCREENINFO: Invalid argument
FATAL: Cannot initialize video driver.
Movie-Aspect is 1.82:1 - prescaling to correct movie aspect.
VO: [fbdev] 640x352 => 640x352 BGRA
Can't put VSCREENINFO: Invalid argument
FATAL: Cannot initialize video driver.
Movie-Aspect is 1.82:1 - prescaling to correct movie aspect.
VO: [fbdev] 640x352 => 640x352 BGRA
Can't put VSCREENINFO: Invalid argument
FATAL: Cannot initialize video driver.
Movie-Aspect is 1.82:1 - prescaling to correct movie aspect.
VO: [fbdev] 640x352 => 640x352 BGRA
Can't put VSCREENINFO: Invalid argument
FATAL: Cannot initialize video driver.
Movie-Aspect is 1.82:1 - prescaling to correct movie aspect.
VO: [fbdev] 640x352 => 640x352 BGRA
Can't put VSCREENINFO: Invalid argument
FATAL: Cannot initialize video driver.
FATAL: Could not initialize video filters (-vf) or video output (-vo).
Exiting... (End of file)
Merci d'avance pour toutes vos réponses.