Προς το περιεχόμενο

Bug στον mplayer, δεν παίρνει screenshots: Could not open libavcodec PNG encoder


markelos

Προτεινόμενες αναρτήσεις

Δημοσ.

Αντιμετωπίζει κανένας άλλος το ίδιο πρόβλημα; Χρησιμοποιώ σαν frontend τον smplayer. To log του mplayer είναι το εξής

 

>mplayer -noquiet -nofs -sub-fuzziness 1 -identify -slave -vo xv -ao alsa -zoom -nokeepaspect -framedrop -nodr -double -input conf=/usr/share/smplayer/input.conf -stop-xscreensaver -wid 60817422 -monitorpixelaspect 1 -ass -embeddedfonts -ass-line-spacing 0 -ass-styles /home/markelos/.config/smplayer/styles.ass -ass-font-scale 1 -subcp enca:el:ISO-8859-7 -vid 0 -aid 1 -subpos 100 -cache 2000 -ss 6 -osdlevel 0 -nocorrect-pts -vf-add screenshot -slices -channels 2 -af scaletempo,equalizer=0:0:0:0:0:0:0:0:0:0 /home/markelos/family.guy.s07e06.pdtv.xvid-xor.avi

MPlayer dev-SVN-r26940
CPU: Intel(R) Core(TM)2 CPU          6400  @ 2.13GHz (Family: 6, Model: 15, Stepping: 6)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
Can't open joystick device /dev/input/js0: No such file or directory
Can't init input joystick
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.
Terminal type `unknown' is not defined.

Playing /home/markelos/family.guy.s07e06.pdtv.xvid-xor.avi.

AVI file format detected.
ID_VIDEO_ID=0
[aviheader] Video stream found, -vid 0
ID_AUDIO_ID=1
[aviheader] Audio stream found, -aid 1
VIDEO:  [XVID]  512x384  24bpp  23.976 fps  990.3 kbps (120.9 kbyte/s)
Clip info:
Software: cant touch this
ID_CLIP_INFO_NAME0=Software
ID_CLIP_INFO_VALUE0=cant touch this
ID_CLIP_INFO_N=1
ID_FILENAME=/home/markelos/family.guy.s07e06.pdtv.xvid-xor.avi
ID_DEMUXER=avi
ID_VIDEO_FORMAT=XVID
ID_VIDEO_BITRATE=990264
ID_VIDEO_WIDTH=512
ID_VIDEO_HEIGHT=384
ID_VIDEO_FPS=23.976
ID_VIDEO_ASPECT=0.0000
ID_AUDIO_FORMAT=85
ID_AUDIO_BITRATE=129984
ID_AUDIO_RATE=0
ID_AUDIO_NCH=0
ID_LENGTH=1294.33
ID_SEEKABLE=1
[ass] auto-open
Opening video filter: [screenshot]
Could not open libavcodec PNG encoder
Couldn't open video filter 'screenshot'.
[ass] Init
[ass] Updating font cache.
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)
==========================================================================
ID_VIDEO_CODEC=ffodivx
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 48000 Hz, 2 ch, s16le, 128.0 kbit/8.33% (ratio: 16000->192000)
ID_AUDIO_BITRATE=128000
ID_AUDIO_RATE=48000
ID_AUDIO_NCH=2
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
AO: [alsa] 48000Hz 2ch floatle (4 bytes per sample)
ID_AUDIO_CODEC=mp3
Starting playback...
VDec: vo config request - 512 x 384 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
ID_VIDEO_ASPECT=1.3333
VO: [xv] 512x384 => 512x384 Planar YV12  [zoom]
X11 error: BadAccess during XSelectInput Call
X11 error: The 'ButtonPressMask' mask of specified window has probably already used by another appication (see man XSelectInput)
X11 error: MPlayer discards mouse control (reconfiguring)

 

Όπως παρατηρείτε,

 

>[b]Opening video filter: [screenshot]
Could not open libavcodec PNG encoder
Couldn't open video filter 'screenshot'.[/b]

 

παρ' όλο που έχω την τελευταία έκδοση του libavcodec51, δεν παίρνει screenshots. Υπ' όψιν ότι το πρόβλημα δεν υπήρχε στην αρχή που πρωτοέστησα τo debian. Έχει αναφερθεί σαν bug στο forum του smplayer καθώς και στο debian-bugs-dist.

Δημοσ.

και γω το ιδιο προβλημμα ειχα και μετακομισα σε xine

το mplayer ειναι για εξωτικες κωδικοποιησεις μανουλα

αντιθετα το χινε ειναι ιδανικο για dvd

απο τα δυο πιο ωριμο θεωρω το χινε και τα παμπολα fronted

Δημοσ.
Αν αλλαζες την video output παραμετρο σε gl ή gl2, μηπως το κανει?

 

Μπα τίποτα... Δοκίμασα και άνοιξα μια ταινία με

>mplayer -vf screenshot "movie"

αλλά εξακολουθεί και δε βγάζει screenshot εμφανίζοντας το μήνυμα

>sending VFCTRL_SCREENSHOT!000 ct:  0.001 106/106 19%  2%  0.6% 1 0 
failed (forgot -vf screenshot?)

 

 

>markelos@debian:~$ mplayer -vf screenshot '/media/Storage/torrents/DB_Bleach_197.avi' 
MPlayer dev-SVN-r26940
CPU: Intel(R) Core(TM)2 CPU          6400  @ 2.13GHz (Family: 6, Model: 15, Stepping: 6)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
Can't open joystick device /dev/input/js0: No such file or directory
Can't init input joystick
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 /media/Storage/torrents/DB_Bleach_197.avi.
AVI file format detected.
[aviheader] Video stream found, -vid 0
[aviheader] Audio stream found, -aid 1
AVI: ODML: Building ODML index (2 superindexchunks).
VIDEO:  [H264]  848x480  24bpp  23.976 fps  891.1 kbps (108.8 kbyte/s)
Clip info:
Software: Windows Movie Maker 2.1
open: No such file or directory
[MGA] Couldn't open: /dev/mga_vid
open: No such file or directory
[MGA] Couldn't open: /dev/mga_vid
[VO_TDFXFB] Can't open /dev/fb0: No such file or directory.
s3fb: can't open /dev/fb0: No such file or directory
Opening video filter: [screenshot]
Could not open libavcodec PNG encoder
Couldn't open video filter 'screenshot'.
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 48000 Hz, 2 ch, s16le, 128.0 kbit/8.33% (ratio: 16000->192000)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
VDec: vo config request - 848 x 480 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.77:1 - prescaling to correct movie aspect.
VO: [xv] 848x480 => 848x480 Planar YV12 
No bind found for key 'MOUSE_BTN0'.                         6% 1 0 
sending VFCTRL_SCREENSHOT!000 ct:  0.001 106/106 19%  2%  0.6% 1 0 
failed (forgot -vf screenshot?)

 

Αρχειοθετημένο

Αυτό το θέμα έχει αρχειοθετηθεί και είναι κλειστό για περαιτέρω απαντήσεις.

  • Δημιουργία νέου...