You are not logged in.
I found some problems for playing video file recently. My primarily video player is SM Player. When I play any video file it produces some errors as following,
/usr/bin/mplayer -noquiet -slave -identify -nofs -sub-fuzziness 1 -vo xv -ao alsa -nodr -double -nomouseinput -input nodefault-bindings:conf=/dev/null -nokeepaspect -wid 90177563 -monitorpixelaspect 1 -subfont-osd-scale 3 -ass -embeddedfonts -ass-line-spacing 0 -ass-font-scale 1 -noflip-hebrew -ass-styles /home/user//.config/smplayer/styles.ass -subcp UTF-8 -vid 0 -subpos 100 -volume 100 -cache 2048 -osdlevel 0 -vf-add screenshot -noslices -channels 2 -af-add scaletempo -af-add equalizer=0:0:0:0:0:0:0:0:0:0 -softvol -softvol-max 110 /tmp/test.mp4
MPlayer SVN-r37379 (C) 2000-2015 MPlayer Team
210 audio & 441 video codecs
do_connect: could not connect to socket
connect: 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 /tmp/test.mp4.
Cache fill: 0.00% (0 bytes)
libavformat version 56.25.101 (internal)
libavformat file format detected.
ID_VIDEO_ID=0
[lavf] stream 0: video (h264), -vid 0
VIDEO: [H264] 798x406 24bpp 30.000 fps 107.3 kbps (13.1 kbyte/s)
Clip info:
major_brand: isom
ID_CLIP_INFO_NAME0=major_brand
ID_CLIP_INFO_VALUE0=isom
minor_version: 512
ID_CLIP_INFO_NAME1=minor_version
ID_CLIP_INFO_VALUE1=512
compatible_brands: isomiso2avc1mp41
ID_CLIP_INFO_NAME2=compatible_brands
ID_CLIP_INFO_VALUE2=isomiso2avc1mp41
encoder: Lavf56.36.100
ID_CLIP_INFO_NAME3=encoder
ID_CLIP_INFO_VALUE3=Lavf56.36.100
ID_CLIP_INFO_N=4
Load subtitles in /tmp/
ID_FILENAME=/tmp/test.mp4
ID_DEMUXER=lavfpref
ID_VIDEO_FORMAT=H264
ID_VIDEO_BITRATE=107288
ID_VIDEO_WIDTH=798
ID_VIDEO_HEIGHT=406
ID_VIDEO_FPS=30.000
ID_VIDEO_ASPECT=0.0000
ID_START_TIME=0.00
ID_LENGTH=209.03
ID_SEEKABLE=1
ID_CHAPTERS=0
Opening video filter: [ass auto=1]
[ass] auto-open
Opening video filter: [screenshot]
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
libavcodec version 56.26.100 (internal)
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
ID_VIDEO_CODEC=ffh264
Audio: no sound
Starting playback...
Movie-Aspect is 1.97:1 - prescaling to correct movie aspect.
ID_VIDEO_ASPECT=1.9655
[swscaler @ 0x556e6accf8a0]bicubic scaler, from yuv420p to rgb24 using MMXEXT
[swscaler @ 0x556e6accf8a0]using unscaled yuv420p -> rgb24 special converter
VO: [xv] 798x406 => 798x406 Planar YV12
X11 error: BadAccess (attempt to access private resource denied)
MPlayer interrupted by signal 11 in module: decode video
ID_SIGNAL=11
- MPlayer crashed by bad usage of CPU/FPU/RAM.
Recompile MPlayer with --enable-debug and make a 'gdb' backtrace and
disassembly. Details in DOCS/HTML/en/bugreports_what.html#bugreports_crash.
- 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.
Then I tried to use VLC to play, this is the error shown in cosole,
[00007f07f8001268] xcb_xv vout display error: shared memory allocation error: No space left on device
I have no problem previously, only found this recently. And after I restart, then I can play the video again. And after hours of work, playing the video failed again. I don't know what is the condition that the video will fail to be played.
Any way to solve?
Last edited by allencch (2015-07-29 08:42:41)
Offline
I had very similar error messages recently and found a workaround - it was caused by openjdk7.
Could be the same thing: https://bbs.archlinux.org/viewtopic.php?id=200184
If it ain't broke, pacman -Syyu and it will be
Offline
Thanks for the reply. I just checked again without restart, but close almost every program, and then the video can be played. I will try to check whether it is caused by Java and closing Java application can fix it or not.
Offline
Thank you @MightyPork. I just tested and downgrade to openjdk7 2.5.5. Then the problem solved.
Offline
Glad to help. I've submitted it to the arch bugtracker, maybe they'll do something (remove the bad version from repos?)
If it ain't broke, pacman -Syyu and it will be
Offline