Page 1 of 1

how to play a video in TEXTp mode on vlc under ubuntu ?

Posted: 19 Jun 2014 01:36
by harlock59
Hello,

my question is in the title. i'd like to know the command-line to play a video in vlc in TEXTp mode on linux.

Re: how to play a video in TEXTp mode on vlc under ubuntu ?

Posted: 19 Jun 2014 18:48
by Rémi Denis-Courmont
Just run "unset DISPLAY" before you run VLC, I think.

Re: how to play a video in TEXTp mode on vlc under ubuntu ?

Posted: 20 Jun 2014 19:07
by harlock59
is it possible to get the full command lines ?

thank you

do i have to type another command line after to retablish original settings ?

Re: how to play a video in TEXTp mode on vlc under ubuntu ?

Posted: 20 Jun 2014 19:14
by harlock59
i tried unset DISPLAY but the video gets played in the terminal.

is it possible to watch it in the window of vlc ?

i'd like to try the same experience as youtube fool's day 2010

Re: how to play a video in TEXTp mode on vlc under ubuntu ?

Posted: 20 Jun 2014 19:16
by harlock59
the first time i tried it worked but on the second time it fails.

i get this

unset DISPLAY
harlock59@Tour-LDLC:~$ vlc -vvv The\ private\ life\ of\ Laura\ Angel.avi
VLC media player 2.1.4 Rincewind (revision 2.1.4-0-g2a072be)
[0xf9f118] main libvlc debug: VLC media player - 2.1.4 Rincewind
[0xf9f118] main libvlc debug: Copyright © 1996-2014 the VideoLAN team
[0xf9f118] main libvlc debug: revision 2.1.4-0-g2a072be
[0xf9f118] main libvlc debug: configured with ./configure '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--libdir=${prefix}/lib/x86_64-linux-gnu' '--libexecdir=${prefix}/lib/x86_64-linux-gnu' '--disable-dependency-tracking' '--build=x86_64-linux-gnu' 'CPPFLAGS=-D_FORTIFY_SOURCE=2' 'LDFLAGS=-Wl,-Bsymbolic-functions -Wl,-z,relro' '--config-cache' '--disable-maintainer-mode' '--disable-silent-rules' '--disable-update-check' '--enable-fast-install' '--prefix=/usr' '--docdir=/usr/share/doc/vlc-nox' '--libdir=/usr/lib' '--sysconfdir=/etc' '--with-binary-version=0ubuntu14.04.1' '--enable-a52' '--enable-aa' '--enable-bluray' '--enable-bonjour' '--enable-caca' '--enable-chromaprint' '--enable-dbus' '--enable-dca' '--enable-dirac' '--enable-directfb' '--enable-dvbpsi' '--enable-dvdnav' '--enable-faad' '--enable-flac' '--enable-fluidsynth' '--enable-freetype' '--enable-fribidi' '--enable-gnutls' '--enable-jack' '--enable-kate' '--enable-libass' '--enable-libfreerdp' '--enable-libmpeg2' '--enable-libxml2' '--enable-lirc' '--enable-live555' '--enable-mad' '--enable-mkv' '--enable-mod' '--enable-mpc' '--enable-mtp' '--enable-mux_ogg' '--enable-ncurses' '--enable-notify' '--enable-ogg' '--enable-opus' '--enable-oss' '--enable-pulse' '--enable-qt' '--enable-realrtsp' '--enable-samplerate' '--enable-schroedinger' '--enable-sdl' '--enable-sftp' '--enable-shout' '--enable-skins2' '--enable-smbclient' '--enable-speex' '--enable-svg' '--enable-taglib' '--enable-theora' '--enable-twolame' '--enable-upnp' '--enable-vcd' '--enable-vcdx' '--enable-vorbis' '--enable-x264' '--enable-zvbi' '--with-kde-solid=/usr/share/kde4/apps/solid/actions/' '--disable-decklink' '--disable-dxva2' '--disable-fdkaac' '--disable-gnomevfs' '--disable-goom' '--disable-libvnc' '--disable-opencv' '--disable-projectm' '--disable-quicksync' '--disable-sndio' '--disable-telx' '--disable-vsxu' '--disable-wasapi' '--enable-alsa' '--enable-atmo' '--enable-dc1394' '--enable-dv1394' '--enable-linsys' '--enable-omxil' '--enable-udev' '--enable-libva' '--enable-v4l2' '--enable-crystalhd' '--enable-mmx' '--enable-sse' '--disable-neon' '--disable-altivec' 'CFLAGS=-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security' 'CXXFLAGS=-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security' 'build_alias=x86_64-linux-gnu'
[0xf9f118] main libvlc debug: searching plug-in modules
[0xf9f118] main libvlc debug: loading plugins cache file /usr/lib/vlc/plugins/plugins.dat
[0xf9f118] main libvlc debug: recursively browsing `/usr/lib/vlc/plugins'
[0xf9f118] main libvlc debug: saving plugins cache /usr/lib/vlc/plugins/plugins.dat
[0xf9f118] main libvlc debug: plug-ins loaded: 426 modules
[0xf9f118] main libvlc debug: opening config file (/home/harlock59/.config/vlc/vlcrc)
[0xf9f118] main libvlc debug: translation test: code is "fr"
[0xf9f118] main libvlc debug: CPU has capabilities MMX MMXEXT SSE SSE2 SSE3 SSSE3 SSE4.1 SSE4.2 AVX FPU
[0xfca5a8] main input debug: Creating an input for 'Bibliothèque'
[0xfca5a8] main input debug: Input is a meta file: disabling unneeded options
[0xfca5a8] main input debug: using timeshift granularity of 50 MiB, in path '/tmp'
[0xfca5a8] main input debug: `file/xspf-open:///home/harlock59/.local/share/vlc/ml.xspf' gives access `file' demux `xspf-open' path `/home/harlock59/.local/share/vlc/ml.xspf'
[0xfca5a8] main input debug: creating demux: access='file' demux='xspf-open' location='/home/harlock59/.local/share/vlc/ml.xspf' file='/home/harlock59/.local/share/vlc/ml.xspf'
[0xfbb878] main demux debug: looking for access_demux module matching "file": 20 candidates
[0xfbb878] main demux debug: no access_demux modules matched
[0xfca5a8] main input debug: creating access 'file' location='/home/harlock59/.local/share/vlc/ml.xspf', path='/home/harlock59/.local/share/vlc/ml.xspf'
[0x10678a8] main access debug: looking for access module matching "file": 25 candidates
[0x10678a8] filesystem access debug: opening file `/home/harlock59/.local/share/vlc/ml.xspf'
[0x10678a8] main access debug: using access module "filesystem"
[0x1067b78] main stream debug: Using stream method for AStream*
[0x1067b78] main stream debug: starting pre-buffering
[0x1067b78] main stream debug: received first data after 0 ms
[0x1067b78] main stream debug: pre-buffering done 296 bytes in 0s - 16059 KiB/s
[0x1067cb8] main stream debug: looking for stream_filter module matching "any": 9 candidates
[0x1067cb8] main stream debug: no stream_filter modules matched
[0x1067cb8] main stream debug: looking for stream_filter module matching "record": 9 candidates
[0x1067cb8] main stream debug: using stream_filter module "record"
[0xfca5a8] main input debug: creating demux: access='file' demux='xspf-open' location='/home/harlock59/.local/share/vlc/ml.xspf' file='/home/harlock59/.local/share/vlc/ml.xspf'
[0x106bab8] main demux debug: looking for demux module matching "xspf-open": 63 candidates
[0x106bab8] playlist demux debug: using XSPF playlist reader
[0x106bab8] main demux debug: using demux module "playlist"
[0x106bd68] main demux meta debug: looking for meta reader module matching "any": 2 candidates
[0x106bd68] lua demux meta debug: Trying Lua scripts in /home/harlock59/.local/share/vlc/lua/meta/reader
[0x106bd68] lua demux meta debug: Trying Lua scripts in /usr/lib/vlc/lua/meta/reader
[0x106bd68] lua demux meta debug: Trying Lua playlist script /usr/lib/vlc/lua/meta/reader/filename.luac
[0x106bd68] lua demux meta debug: Trying Lua scripts in /usr/share/vlc/lua/meta/reader
[0x106bd68] main demux meta debug: no meta reader modules matched
[0xfca5a8] main input debug: `file/xspf-open:///home/harlock59/.local/share/vlc/ml.xspf' successfully opened
[0x1075238] main xml reader debug: looking for xml reader module matching "any": 1 candidates
[0x1075238] main xml reader debug: using xml reader module "xml"
[0x106bab8] playlist demux debug: parsed 0 tracks successfully
[0xfca5a8] main input debug: EOF reached
[0x106bab8] main demux debug: removing module "playlist"
[0x1067cb8] main stream debug: removing module "record"
[0x10678a8] main access debug: removing module "filesystem"
[0x11a1a58] main playlist debug: creating audio output
[0xfcf408] main audio output debug: looking for audio output module matching "any": 6 candidates
[0xfcf408] pulse audio output debug: using library version 4.0.0
[0xfcf408] pulse audio output debug: (compiled with version 4.0.0, protocol 28)
[0xfcf408] pulse audio output debug: connected locally to /run/user/1000/pulse/native as client #37
[0xfcf408] pulse audio output debug: using protocol 28, server protocol 28
[0xfcf408] main audio output debug: using audio output module "pulse"
[0x11a1a58] main playlist debug: keeping audio output
[0xfcf408] pulse audio output debug: adding sink 0: alsa_output.pci-0000_01_00.1.hdmi-stereo-extra1 (GF110 High Definition Audio Controller Digital Stereo (HDMI))
[0x11a1a58] main playlist debug: adding item `The private life of Laura Angel.avi' ( file:///home/harlock59/The%20private%20life%20of%20Laura%20Angel.avi )
[0xfcf408] pulse audio output debug: adding sink 1: alsa_output.pci-0000_00_1b.0.analog-stereo (Audio interne Stéréo analogique)
[0x7fc244000958] main input debug: Creating an input for 'The private life of Laura Angel.avi'
[0xfcfd48] main interface debug: looking for interface module matching "hotkeys,none": 19 candidates
[0xfcfd48] main interface debug: using interface module "hotkeys"
[0x11a1a58] main playlist debug: meta ok for (null), need to fetch art
[0xfd0438] main interface debug: looking for interface module matching "globalhotkeys,none": 19 candidates
[0x7fc244000ab8] main demux meta debug: looking for meta fetcher module matching "any": 1 candidates
[0xfd0438] main interface debug: no interface modules matched
[0xfd0438] main interface error: no suitable interface module
[0xf9f118] main libvlc error: interface "globalhotkeys,none" initialization failed
[0xfd0438] main interface debug: looking for interface module matching "dbus,none": 19 candidates
[0x7fc244000ab8] lua demux meta debug: Trying Lua scripts in /home/harlock59/.local/share/vlc/lua/meta/fetcher
[0x7fc244000ab8] lua demux meta debug: Trying Lua scripts in /usr/lib/vlc/lua/meta/fetcher
[0x7fc244000ab8] lua demux meta debug: Trying Lua playlist script /usr/lib/vlc/lua/meta/fetcher/tvrage.luac
[0xfd0438] dbus interface debug: listening on dbus as: org.mpris.MediaPlayer2.vlc.instance24390
[0xfd0438] main interface debug: using interface module "dbus"
[0xf9f118] main libvlc: Lancement de vlc avec l'interface par défaut. Utilisez « cvlc » pour démarrer VLC sans interface.
[0xfd5a38] main interface debug: looking for interface module matching "any": 19 candidates
[0xfd5a38] qt4 interface error: Could not connect to X server
[0xfd0438] dbus interface debug: Getting All properties
[0xfd5a38] skins2 interface debug: Cannot open X display
[0xfd5a38] skins2 interface error: cannot initialize OSFactory
[0x7fc244000ab8] main demux meta debug: using meta fetcher module "lua"
[0x7fc244000ab8] main demux meta debug: removing module "lua"
[0x11a1a58] main playlist debug: searching art for The private life of Laura Angel.avi
[0x7fc244002d48] main art finder debug: looking for art finder module matching "any": 2 candidates
[0xfd5a38] [cli] lua interface debug: Found lua interface script: /usr/lib/vlc/lua/intf/cli.luac
[0x7fc244002d48] lua art finder debug: Trying Lua scripts in /home/harlock59/.local/share/vlc/lua/meta/art
[0x7fc244002d48] lua art finder debug: Trying Lua scripts in /usr/lib/vlc/lua/meta/art
[0x7fc244002d48] lua art finder debug: Trying Lua playlist script /usr/lib/vlc/lua/meta/art/00_musicbrainz.luac
[0xfd5a38] [cli] main interface debug: using interface module "lua"
[0x11a1a58] main playlist debug: processing request item: null, node: Liste de lecture, skip: 0
[0x11a1a58] main playlist debug: rebuilding array of current - root Liste de lecture
[0x11a1a58] main playlist debug: rebuild done - 1 items, index -1
[0x11a1a58] main playlist debug: starting playback of the new playlist item
[0x11a1a58] main playlist debug: resyncing on The private life of Laura Angel.avi
[0x11a1a58] main playlist debug: The private life of Laura Angel.avi is at 0
[0x11a1a58] main playlist debug: creating new input thread
[0x7fc240000a38] main input debug: Creating an input for 'The private life of Laura Angel.avi'
[0x7fc244002d48] lua art finder debug: Trying Lua playlist script /usr/lib/vlc/lua/meta/art/01_googleimage.luac
[0xfd5a38] [cli] lua interface: Listening on host "*console".
VLC media player 2.1.4 Rincewind
Command Line Interface initialized. Type `help' for help.
[0x7fc240000a38] > main input debug: using timeshift granularity of 50 MiB, in path '/tmp'
[0x7fc240000a38] main input debug: `file:///home/harlock59/The%20private%20life%20of%20Laura%20Angel.avi' gives access `file' demux `' path `/home/harlock59/The%20private%20life%20of%20Laura%20Angel.avi'
[0x7fc240000a38] main input debug: creating demux: access='file' demux='' location='/home/harlock59/The%20private%20life%20of%20Laura%20Angel.avi' file='/home/harlock59/The private life of Laura Angel.avi'
[0x7fc238000e98] main demux debug: looking for access_demux module matching "file": 20 candidates
[0x7fc238000e98] main demux debug: no access_demux modules matched
[0x7fc240000a38] main input debug: creating access 'file' location='/home/harlock59/The%20private%20life%20of%20Laura%20Angel.avi', path='/home/harlock59/The private life of Laura Angel.avi'
[0x7fc2380011c8] main access debug: looking for access module matching "file": 25 candidates
[0x7fc2380011c8] filesystem access debug: opening file `/home/harlock59/The private life of Laura Angel.avi'
[0x7fc2380011c8] filesystem access error: cannot open file /home/harlock59/The private life of Laura Angel.avi (No such file or directory)
[0x7fc2380011c8] main access error: La lecture du fichier a échoué
[0x7fc2380011c8] main access error: VLC n'a pas pu ouvrir le fichier « /home/harlock59/The private life of Laura Angel.avi ». (No such file or directory)
[0x7fc2380011c8] main access debug: no access modules matched
[0x7fc240000a38] main input error: open of `file:///home/harlock59/The%20private%20life%20of%20Laura%20Angel.avi' failed
[0x7fc240000a38] main input error: Votre média d'entrée ne peut être ouvert
[0x7fc240000a38] main input error: VLC ne peut pas ouvrir « file:///home/harlock59/The%20private%20life%20of%20Laura%20Angel.avi ». Vérifiez les messages pour plus de détails.
[0x11a1a58] main playlist debug: finished input
[0x11a1a58] main playlist debug: dead input
[0x11a1a58] main playlist debug: changing item without a request (current 0/1)
[0x11a1a58] main playlist debug: nothing to play
[0x7fc244002d48] lua art finder debug: Trying Lua playlist script /usr/lib/vlc/lua/meta/art/02_frenchtv.luac
[0x7fc244002d48] lua art finder debug: Trying Lua playlist script /usr/lib/vlc/lua/meta/art/03_lastfm.luac
[0x7fc244002d48] lua art finder debug: Trying Lua scripts in /usr/share/vlc/lua/meta/art
[0x7fc244002d48] main art finder debug: no art finder modules matched
[0x11a1a58] main playlist debug: art not found for The private life of Laura Angel.avi

Re: how to play a video in TEXTp mode on vlc under ubuntu ?

Posted: 20 Jun 2014 19:19
by harlock59
i managed it, i wasn't in the right directory but on the terminal, it blends the output messages of vlc and the video