[FFmpeg-trac] #1402(FFplay:new): ffplay: doesn't work on a tty console
FFmpeg
trac at avcodec.org
Sun Jun 3 16:37:13 CEST 2012
#1402: ffplay: doesn't work on a tty console
-------------------------------------+-------------------------------------
Reporter: u ltd. | Owner:
Type: defect | Status: new
Priority: normal | Component: FFplay
Version: 0.11 | Resolution:
Keywords: | Blocked By:
tty,console,ffplay | Reproduced by developer: 0
Blocking: |
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Comment (by u ltd.):
'''Comment 1:''' related to #1401
'''Comment 2:''' This happened in xterm on the graphical tty (tty7) in
KDE4:
{{{
% unset DISPLAY
% ffplay ~/dnw.mp3
ffplay version N-40844-g0e82d31 Copyright (c) 2003-2012 the FFmpeg
developers
built on May 19 2012 15:26:37 with gcc 4.6.2
configuration: --prefix=/usr --mandir=/usr/share/man --libdir=/usr/lib64
--shlibdir=/usr/lib64 --disable-stripping --enable-pthreads --disable-
shared --enable-avfilter --enable-static --enable-libfaac --enable-
libmp3lame --enable-libxvid --enable-libx264 --enable-nonfree --enable-
postproc --enable-shared --enable-libdc1394 --enable-libtheora --enable-
libschroedinger --enable-libvpx --enable-gpl --enable-libopencore-amrnb
--enable-libopencore-amrwb --enable-version3 --enable-x11grab --enable-
ffplay
libavutil 51. 53.100 / 51. 53.100
libavcodec 54. 21.101 / 54. 21.101
libavformat 54. 5.100 / 54. 5.100
libavdevice 53. 4.100 / 53. 4.100
libavfilter 2. 74.102 / 2. 74.102
libswscale 2. 1.100 / 2. 1.100
libswresample 0. 12.100 / 0. 12.100
libpostproc 52. 0.100 / 52. 0.100
Could not initialize SDL - Unable to open a console terminal
(Did you set the DISPLAY variable?)
%
}}}
The interesting thing is that I don't see this text but I see the last
non-graphical tty I visited.
Nevertheless I am on tty7 and all key presses go to KDE4 environment. I
have to press Ctrl-Alt-F1 and Ctrl-Alt-F7 to get back the graphical view.
Please mind that this happens independent of the use of the -nodisp ffplay
flag.
'''Comment 3:''' My system: OpenSUSE 12.1; Kernel 3.1.10-1.9-desktop
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/1402#comment:1>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list