RSATom / QmlVlc

[ABANDONED] libvlc wrapper for Qt Quick 2/Qml
Other
140 stars 56 forks source link

QmlVlc play Youtube on Linux #28

Closed AndreaD82 closed 10 years ago

AndreaD82 commented 10 years ago

Hi RSATom!

Whith the same version of your example i can play youtube videos on windows, they start automatically bat not in Ubuntu 14.04, they doesn't start...

the output is

QML debugging is enabled. Only use this in a safe environment. libGL error: failed to authenticate magic 9 libGL error: failed to load driver: vboxvideo [0x916de60] main libvlc debug: VLC media player - 2.1.5 Rincewind [0x916de60] main libvlc debug: Copyright © 1996-2014 the VideoLAN team [0x916de60] main libvlc debug: revision 2.1.4-49-gdab6cb5 [0x916de60] main libvlc debug: configured with ./configure '--enable-x11' '--enable-xvideo' '--disable-gtk' '--enable-sdl' '--enable-ffmpeg' '--with-ffmpeg-mp3lame' '--enable-mad' '--enable-libdvbpsi' '--enable-a52' '--enable-dts' '--enable-libmpeg2' '--enable-dvdnav' '--enable-faad' '--enable-vorbis' '--enable-ogg' '--enable-theora' '--enable-faac--enable-mkv' '--enable-freetype' '--enable-fribidi' '--enable-speex' '--enable-flac' '--enable-livedotcom' '--with-livedotcom-tree=/usr/lib/live' '--enable-caca' '--enable-skins' '--enable-skins2' '--enable-alsa' '--disable-kde--disable-qt' '--enable-wxwindows' '--enable-ncurses' '--enable-release' [0x916de60] main libvlc debug: searching plug-in modules [0x916de60] main libvlc debug: loading plugins cache file /usr/local/lib/vlc/plugins/plugins.dat [0x916de60] main libvlc debug: recursively browsing /usr/local/lib/vlc/plugins' [0x916de60] main libvlc debug: saving plugins cache /usr/local/lib/vlc/plugins/plugins.dat [0x916de60] main libvlc debug: plug-ins loaded: 424 modules [0x916de60] main libvlc debug: translation test: code is "it" [0x916de60] main libvlc debug: CPU has capabilities MMX MMXEXT SSE SSE2 SSE3 SSSE3 FPU [0x920e4a8] main input debug: Creating an input for 'https://www.youtube.com/watch?v=XWxJsWy7QjA' [0x920e4a8] main input debug: using timeshift granularity of 50 MiB, in path '/tmp' [0x920e4a8] main input debug:https://www.youtube.com/watch?v=XWxJsWy7QjA' gives access https' demux' path www.youtube.com/watch?v=XWxJsWy7QjA' [0x920e4a8] main input debug: creating demux: access='https' demux='' location='www.youtube.com/watch?v=XWxJsWy7QjA' file='(null)' [0xabe00950] main demux debug: looking for access_demux module matching "https": 20 candidates [0xabe00950] main demux debug: no access_demux modules matched [0x920e4a8] main input debug: creating access 'https' location='www.youtube.com/watch?v=XWxJsWy7QjA', path='(null)' [0xabe00a50] main access debug: looking for access module matching "https": 23 candidates [0xabe02cd8] main tls client debug: looking for tls client module matching "any": 1 candidates [0xabe02cd8] gnutls tls client debug: GnuTLS v3.2.11 initialized [0xabe02cd8] gnutls tls client debug: loaded 164 trusted CAs [0xabe02cd8] main tls client debug: using tls client module "gnutls" [0xabe00a50] access_http access debug: querying proxy for https://www.youtube.com/watch?v=XWxJsWy7QjA [0xabe00a50] access_http access debug: no proxy [0xabe00a50] access_http access debug: http: server='www.youtube.com' port=443 file='/watch?v=XWxJsWy7QjA' [0xabe00a50] main access debug: net: connecting to www.youtube.com port 443 [0xabe00a50] main access error: cannot resolve www.youtube.com port 443 : Nome o servizio sconosciuto [0xabe00a50] access_http access error: cannot connect to www.youtube.com:443 [0xabe02cd8] gnutls tls client debug: GnuTLS deinitialized [0xabe00a50] main access debug: no access modules matched [0x920e4a8] main input error: open ofhttps://www.youtube.com/watch?v=XWxJsWy7QjA' failed [0x920e4a8] main input error: L'ingresso non può essere aperto [0x920e4a8] main input error: VLC non è in grado di aprire il MRL 'https://www.youtube.com/watch?v=XWxJsWy7QjA'. Controlla il registro per i dettagli. The program has unexpectedly finished.

Greetings Andrea

RSATom commented 10 years ago

[0x916de60] main libvlc debug: configured with ./configure '--enable-x11' '--enable-xvideo' '--disable-gtk' '--enable-sdl' '--enable-ffmpeg' '--with-ffmpeg-mp3lame' '--enable-mad' '--enable-libdvbpsi' '--enable-a52' '--enable-dts' '--enable-libmpeg2' '--enable-dvdnav' '--enable-faad' '--enable-vorbis' '--enable-ogg' '--enable-theora' '--enable-faac--enable-mkv' '--enable-freetype' '--enable-fribidi' '--enable-speex' '--enable-flac' '--enable-livedotcom' '--with-livedotcom-tree=/usr/lib/live' '--enable-caca' '--enable-skins' '--enable-skins2' '--enable-alsa' '--disable-kde--disable-qt' '--enable-wxwindows' '--enable-ncurses' '--enable-release'

don's see "--enable-lua" there...

did you try same MRL in VLC Player?

RSATom commented 10 years ago

for example same from my windows box:

[228baf04] main libvlc debug: revision 2.1.5-9-gb3fd0af main libvlc debug: configured with ../extras/package/win32/../../../configure '--enable-update-check' '--enable-lua' '--enable-faad' '--enable-flac' '--enable-theora' '--enable-twolame' '--enable-quicktime' '--enable-avcodec' '--enable-merge-ffmpeg' '--enable-dca' '--enable-mpc' '--enable-libass' '--enable-x264' '--enable-schroedinger' '--enable-realrtsp' '--enable-live555' '--enable-dvdread' '--enable-shout' '--enable-goom' '--enable-caca' '--disable-sdl' '--enable-qt' '--enable-skins2' '--enable-sse' '--enable-mmx' '--enable-libcddb' '--enable-zvbi' '--disable-telx' '--enable-nls' '--disable-dirac' '--host=i686-w64-mingw32' 'host_alias=i686-w64-mingw32'

RSATom commented 10 years ago

check please, do you have /usr/lib/vlc/lua/playlist/youtube.luac

AndreaD82 commented 10 years ago

i don't have /usr/lib/vlc/lua/playlist/youtube.luac, i have to put it? Where can i find it? i'm re-compiling vlc with --enable-lua configuration...

RSATom commented 10 years ago

you don't need recompile vlc, you could just install it with apt-get:

sudo apt-get install vlc-nox
RSATom commented 10 years ago

I have following installed:

$ dpkg --get-selections | grep vlc libvlc-dev libvlc5 libvlccore7 vlc vlc-data vlc-nox vlc-plugin-notify vlc-plugin-pulse

RSATom commented 10 years ago

I'm on xubuntu 14.04

AndreaD82 commented 10 years ago

i've just recompiled vlc, i have /usr/LOCAL/lib/vlc/lua/playlist/youtube.luac i'm on Ubuntu 14.04 too but dpkg --get-selections | grep vlc return nothing...

RSATom commented 10 years ago

yep, it shouldn't - you don't install vlc via apt-get. So it's ok.

RSATom commented 10 years ago

it will if you do

sudo apt-get install vlc libvlc-dev
RSATom commented 10 years ago

but then you don't need build vlc by yourself.

AndreaD82 commented 10 years ago

ok, but finally the QmlVlcDemo doesnt work with youtube, with the mrl = "http://download.blender.org/peach/bigbuckbunny_movies/big_buck_bunny_480p_stereo.avi" it works perfectly

AndreaD82 commented 10 years ago

if i replace it with https://www.youtube.com/watch?v=XWxJsWy7QjA, for example, nothing happens...

RSATom commented 10 years ago

I recommend you install prebuilded vlc with

sudo apt-get install vlc libvlc-dev
AndreaD82 commented 10 years ago

ok! i wii immediately

RSATom commented 10 years ago

After that you should remove/rename /usr/lib/vlc/plugins/gui/libqt4_plugin.so or you will get "segmentation fault" on start... It's known compatibility issue between Qt4 and Qt5 in same application...

AndreaD82 commented 10 years ago

Ok, i did it, but nothing change...

QML debugging is enabled. Only use this in a safe environment. libGL error: failed to authenticate magic 24 libGL error: failed to load driver: vboxvideo [0x873d628] main libvlc debug: VLC media player - 2.1.4 Rincewind [0x873d628] main libvlc debug: Copyright © 1996-2014 the VideoLAN team [0x873d628] main libvlc debug: revision 2.1.4-0-g2a072be [0x873d628] main libvlc debug: configured with ./configure '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--libdir=${prefix}/lib/i386-linux-gnu' '--libexecdir=${prefix}/lib/i386-linux-gnu' '--disable-dependency-tracking' '--build=i686-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=i686-linux-gnu' [0x873d628] main libvlc debug: searching plug-in modules [0x873d628] main libvlc debug: loading plugins cache file /usr/lib/vlc/plugins/plugins.dat [0x873d628] main libvlc debug: recursively browsing /usr/lib/vlc/plugins' [0x873d628] main libvlc debug: saving plugins cache /usr/lib/vlc/plugins/plugins.dat [0x873d628] main libvlc debug: plug-ins loaded: 423 modules [0x873d628] main libvlc debug: translation test: code is "it" [0x873d628] main libvlc debug: CPU has capabilities MMX MMXEXT SSE SSE2 SSE3 SSSE3 FPU [0x8984110] main input debug: Creating an input for 'https://www.youtube.com/watch?v=XWxJsWy7QjA' [0x8984110] main input debug: using timeshift granularity of 50 MiB, in path '/tmp' [0x8984110] main input debug:https://www.youtube.com/watch?v=XWxJsWy7QjA' gives access https' demux' path www.youtube.com/watch?v=XWxJsWy7QjA' [0x8984110] main input debug: creating demux: access='https' demux='' location='www.youtube.com/watch?v=XWxJsWy7QjA' file='(null)' [0xaca00950] main demux debug: looking for access_demux module matching "https": 20 candidates [0xaca00950] main demux debug: no access_demux modules matched [0x8984110] main input debug: creating access 'https' location='www.youtube.com/watch?v=XWxJsWy7QjA', path='(null)' [0xaca00a50] main access debug: looking for access module matching "https": 25 candidates [0xaca02cd8] main tls client debug: looking for tls client module matching "any": 1 candidates [0x884e1c8] main libvlc debug: VLC media player - 2.1.4 Rincewind [0x884e1c8] main libvlc debug: Copyright © 1996-2014 the VideoLAN team [0x884e1c8] main libvlc debug: revision 2.1.4-0-g2a072be [0x884e1c8] main libvlc debug: configured with ./configure '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--libdir=${prefix}/lib/i386-linux-gnu' '--libexecdir=${prefix}/lib/i386-linux-gnu' '--disable-dependency-tracking' '--build=i686-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=i686-linux-gnu' [0x884e1c8] main libvlc debug: plug-ins loaded: 423 modules [0x884e1c8] main libvlc debug: translation test: code is "it" [0x884e1c8] main libvlc debug: CPU has capabilities MMX MMXEXT SSE SSE2 SSE3 SSSE3 FPU [0x88565b8] main input debug: Creating an input for 'http://download.blender.org/peach/bigbuckbunny_movies/big_buck_bunny_480p_stereo.avi' [0x88565b8] main input debug: using timeshift granularity of 50 MiB, in path '/tmp' [0x88565b8] main input debug:http://download.blender.org/peach/bigbuckbunny_movies/big_buck_bunny_480p_stereo.avi' gives access http' demux' path download.blender.org/peach/bigbuckbunny_movies/big_buck_bunny_480p_stereo.avi' [0x88565b8] main input debug: creating demux: access='http' demux='' location='download.blender.org/peach/bigbuckbunny_movies/big_buck_bunny_480p_stereo.avi' file='(null)' [0xac600980] main demux debug: looking for access_demux module matching "http": 20 candidates [0xac600980] main demux debug: no access_demux modules matched [0x88565b8] main input debug: creating access 'http' location='download.blender.org/peach/bigbuckbunny_movies/big_buck_bunny_480p_stereo.avi', path='(null)' [0xac600a58] main access debug: looking for access module matching "http": 25 candidates [0xac600a58] access_http access debug: querying proxy for http://download.blender.org/peach/bigbuckbunny_movies/big_buck_bunny_480p_stereo.avi [0xac600a58] access_http access debug: no proxy [0xac600a58] access_http access debug: http: server='download.blender.org' port=80 file='/peach/bigbuckbunny_movies/big_buck_bunny_480p_stereo.avi' [0xac600a58] main access debug: net: connecting to download.blender.org port 80 [0xaca02cd8] gnutls tls client debug: GnuTLS v3.2.11 initialized [0xac600a58] main access debug: connection succeeded (socket = 13) [0xaca02cd8] gnutls tls client debug: loaded 164 trusted CAs [0xaca02cd8] main tls client debug: using tls client module "gnutls" [0xaca00a50] access_http access debug: querying proxy for https://www.youtube.com/watch?v=XWxJsWy7QjA [0xaca00a50] access_http access debug: no proxy [0xaca00a50] access_http access debug: http: server='www.youtube.com' port=443 file='/watch?v=XWxJsWy7QjA' [0xaca00a50] main access debug: net: connecting to www.youtube.com port 443 [0xaca00a50] main access debug: connection succeeded (socket = 17) [0xaca35d90] gnutls tls session debug: TLS handshake: Resource temporarily unavailable, try again. [0xaca35d90] gnutls tls session debug: TLS handshake: Resource temporarily unavailable, try again. [0xaca35d90] gnutls tls session debug: TLS handshake: Success. [0xaca35d90] gnutls tls session debug: 3 certificate(s) in the list [0xac600a58] access_http access debug: protocol 'HTTP' answer code 206 [0xac600a58] access_http access debug: Content-Type: video/x-msvideo [0xac600a58] access_http access debug: stream size=156506028,pos=0,remaining=156506028 [0xac600a58] access_http access debug: this frame size=156506028 [0xac600a58] access_http access debug: Connection: close [0xac600a58] access_http access debug: Server: lighttpd/1.4.35 [0xac600a58] main access debug: using access module "access_http" [0xac6038d0] main stream debug: Using stream method for AStream* [0xac6038d0] main stream debug: starting pre-buffering [0xac6038d0] main stream debug: received first data after 0 ms [0xac6038d0] main stream debug: pre-buffering done 1024 bytes in 0s - 28571 KiB/s [0xac603b10] main stream debug: looking for stream_filter module matching "any": 9 candidates [0xac603b10] main stream debug: no stream_filter modules matched [0xac603b10] main stream debug: looking for stream_filter module matching "record": 9 candidates [0xac603b10] main stream debug: using stream_filter module "record" [0x88565b8] main input debug: creating demux: access='http' demux='' location='download.blender.org/peach/bigbuckbunny_movies/big_buck_bunny_480p_stereo.avi' file='(null)' [0xac605a30] main demux debug: looking for demux module matching "any": 63 candidates [0xac603b10] avi stream debug: <list 'AVI '> [0xac603b10] avi stream debug: <list 'hdrl'> [0xac603b10] avi stream debug: <list 'strl'> [0xac603b10] avi stream debug: </list 'strl'> [0xac603b10] avi stream debug: <list 'strl'> [0xac603b10] avi stream debug: </list 'strl'> [0xac603b10] avi stream debug: </list 'hdrl'> [0xac603b10] avi stream debug: <list 'INFO'> [0xac603b10] avi stream debug: </list 'INFO'> [0xac603b10] avi stream debug: skipping movi chunk [0xac603b10] avi stream debug: </list 'AVI '> [0xac603b10] avi stream debug: * LIST-root size:156506028 pos:0 [0xac603b10] avi stream debug: + RIFF-AVI size:156506020 pos:0 [0xac603b10] avi stream debug: | + LIST-hdrl size:306 pos:12 [0xac603b10] avi stream debug: | | + avih size:56 pos:24 [0xac603b10] avi stream debug: | | + LIST-strl size:116 pos:88 [0xac603b10] avi stream debug: | | | + strh size:56 pos:100 [0xac603b10] avi stream debug: | | | + strf size:40 pos:164 [0xac603b10] avi stream debug: | | + LIST-strl size:106 pos:212 [0xac603b10] avi stream debug: | | | + strh size:56 pos:224 [0xac603b10] avi stream debug: | | | + strf size:30 pos:288 [0xac603b10] avi stream debug: | + LIST-INFO size:42 pos:326 [0xac603b10] avi stream debug: | | + ISFT size:29 pos:338 [0xac603b10] avi stream debug: | + JUNK size:3712 pos:376 [0xac603b10] avi stream debug: | + LIST-movi size:155875260 pos:4096 [0xac605a30] avi demux debug: AVIH: 2 stream, flags HAS_INDEX IS_INTERLEAVED TRUST_CKTYPE [0xac605a30] avi demux debug: stream[0] rate:24 scale:1 samplesize:0 [0xac605a30] avi demux debug: stream[0] video(MP42) 854x480 24bpp 24.000000fps [0x88565b8] main input debug: selecting program id=0 [0xac605a30] avi demux debug: stream[1] rate:48000 scale:1152 samplesize:0 [0xac605a30] avi demux debug: stream[1] audio(0x55 - MPEG Audio layer 1/2/3) 2 channels 48000Hz 0bits [0xac605a30] avi demux warning: cannot find idx1 chunk, no index defined [0xac605a30] avi demux debug: selected standard index for stream[0] [0xac605a30] avi demux debug: selected standard index for stream[1] [0xac605a30] avi demux error: no key frame set for track 0 [0xac605a30] avi demux debug: stream[0] created 0 index entries [0xac605a30] avi demux error: no key frame set for track 1 [0xac605a30] avi demux debug: stream[1] created 0 index entries [0xac605a30] avi demux warning: broken or missing index, 'seek' will be approximative or will exhibit strange behavior [0xac605a30] avi demux warning: cannot create index (unseekable stream) [0xac605a30] avi demux warning: cannot find idx1 chunk, no index defined [0xac605a30] avi demux debug: selected standard index for stream[0] [0xac605a30] avi demux debug: selected standard index for stream[1] [0xac605a30] avi demux error: no key frame set for track 0 [0xac605a30] avi demux debug: stream[0] created 0 index entries [0xac605a30] avi demux error: no key frame set for track 1 [0xac605a30] avi demux debug: stream[1] created 0 index entries [0xac605a30] avi demux warning: broken or missing index, 'seek' will be approximative or will exhibit strange behavior [0xac605a30] main demux debug: using demux module "avi" [0xac608030] main decoder debug: looking for decoder module matching "any": 39 candidates [0xac608030] avcodec decoder debug: trying to use direct rendering [0xac608030] avcodec decoder debug: allowing 4 thread(s) for decoding [0xac608030] avcodec decoder debug: avcodec codec (MS MPEG-4 Video v2) started [0xac608030] main decoder debug: using decoder module "avcodec" [0xac6281e8] main decoder debug: looking for decoder module matching "any": 39 candidates [0xac6281e8] main decoder debug: using decoder module "mpeg_audio" [0xac628b40] main demux meta debug: looking for meta reader module matching "any": 2 candidates [0xac628b40] lua demux meta debug: Trying Lua scripts in /home/bertero/.local/share/vlc/lua/meta/reader [0xac628b40] lua demux meta debug: Trying Lua scripts in /usr/lib/vlc/lua/meta/reader [0xac628b40] lua demux meta debug: Trying Lua playlist script /usr/lib/vlc/lua/meta/reader/filename.luac [0xac628b40] lua demux meta debug: Trying Lua scripts in /usr/share/vlc/lua/meta/reader [0xac628b40] main demux meta debug: no meta reader modules matched [0x88565b8] main input debug:http://download.blender.org/peach/bigbuckbunny_movies/big_buck_bunny_480p_stereo.avi' successfully opened [0x88565b8] main input debug: Buffering 0% [0x88565b8] main input debug: Buffering 0% [0xac6281e8] mpeg_audio decoder debug: MPGA channels:2 samplerate:48000 bitrate:160 [0x884ee28] main generic debug: creating audio output [0xa88004d8] main audio output debug: looking for audio output module matching "any": 6 candidates [0x88565b8] main input debug: Buffering 23% [0xa88004d8] pulse audio output debug: using library version 4.0.0 [0xa88004d8] pulse audio output debug: (compiled with version 4.0.0, protocol 28) [0xa88004d8] pulse audio output debug: connected locally to unix:/run/user/1000/pulse/native as client #17 [0xa88004d8] pulse audio output debug: using protocol 28, server protocol 28 [0xa88004d8] main audio output debug: using audio output module "pulse" [0xa88004d8] pulse audio output debug: using stereo channel map [0xa88004d8] pulse audio output debug: adding sink 0: auto_null (Output dummy) [0x88565b8] main input debug: Buffering 47% [0xa3c012b0] main spu text debug: looking for text renderer module matching "any": 2 candidates [0xa3c012b0] freetype spu text debug: Building font databases. [0xa3c012b0] freetype spu text debug: Took 6 microseconds Fontconfig warning: FcPattern object size does not accept value "0" [0xa88004d8] pulse audio output debug: changed buffer metrics: maxlength=4194304, tlength=46080, prebuf=0, minreq=15360 [0xa88004d8] pulse audio output debug: connected to sink auto_null [0xa88004d8] main audio output debug: output 'f32l' 44100 Hz Stereo frame=1 samples/8 bytes [0xa88066a8] main volume debug: looking for audio volume module matching "any": 2 candidates [0xa88066a8] main volume debug: using audio volume module "float_mixer" [0xa88004d8] main audio output debug: input 'mpga' 48000 Hz Stereo frame=1152 samples/969 bytes [0xa8807c68] main audio filter debug: looking for audio filter module matching "scaletempo": 14 candidates [0xa8807c68] scaletempo audio filter debug: format: 48000 rate, 2 nch, 4 bps, fl32 [0xa8807c68] scaletempo audio filter debug: params: 30 stride, 0.200 overlap, 14 search [0xa8807c68] scaletempo audio filter debug: 1.000 scale, 1440.000 stride_in, 1440 stride_out, 1152 standing, 288 overlap, 672 search, 2400 queue, fl32 mode [0xa8807c68] main audio filter debug: using audio filter module "scaletempo" [0xa88004d8] main audio output debug: conversion: 'mpga'->'f32l' 48000 Hz->48000 Hz Stereo->Stereo [0xa880f3f0] main audio converter debug: looking for audio converter module matching "any": 12 candidates [0xa88004d8] pulse audio output debug: base volume: 65536 [0xa88004d8] pulse audio output debug: changing sink 0: auto_null (Output dummy) [0xaca00a50] access_http access debug: protocol 'HTTP' answer code 200 [0xaca00a50] access_http access debug: Server: gwiseguy/2.0 [0xaca00a50] access_http access debug: Content-Type: text/html; charset=utf-8 [0xaca00a50] access_http access debug: Accepting Cookie: VISITOR_INFO1_LIVE=a-49Om_C598; path=/; domain=.youtube.com; expires=Tue, 02-Jun-2015 02:30:37 GMT [0xaca00a50] access_http access debug: Accepting Cookie: PREF=f1=50000000; path=/; domain=.youtube.com; expires=Tue, 02-Jun-2015 02:30:37 GMT [0xaca00a50] access_http access debug: Accepting Cookie: YSC=h3RS2IUmsAA; path=/; domain=.youtube.com; httponly [0xaca00a50] access_http access debug: Connection: close [0xaca00a50] main access debug: using access module "access_http" [0xaca37760] main stream debug: Using stream method for AStream* [0xaca37760] main stream debug: starting pre-buffering [0xaca37760] main stream debug: received first data after 0 ms [0xaca37760] main stream debug: pre-buffering done 552 bytes in 0s - 10366 KiB/s [0xaba6a288] main stream debug: looking for stream_filter module matching "any": 9 candidates [0xaba6a288] main stream debug: no stream_filter modules matched [0xaba6a288] main stream debug: looking for stream_filter module matching "record": 9 candidates [0xaba6a288] main stream debug: using stream_filter module "record" [0x8984110] main input debug: creating demux: access='https' demux='' location='www.youtube.com/watch?v=XWxJsWy7QjA' file='(null)' [0xaca43ae0] main demux debug: looking for demux module matching "any": 63 candidates [0x88565b8] main input debug: Buffering 64% [0xa880f3f0] main audio converter debug: no audio converter modules matched [0xa880f3f0] main audio converter debug: looking for audio converter module matching "any": 12 candidates [0xa880f3f0] mpgatofixed32 audio converter debug: mpga->f32l, bits per sample: 32 [0xa880f3f0] main audio converter debug: using audio converter module "mpgatofixed32" [0xa88004d8] main audio output debug: conversion pipeline complete [0xa88004d8] main audio output debug: conversion: 'f32l'->'f32l' 48000 Hz->48000 Hz Stereo->Stereo [0xa88004d8] main audio output debug: conversion pipeline complete [0xa8818650] main audio resampler debug: looking for audio resampler module matching "any": 3 candidates [0xa8818650] main audio resampler debug: using audio resampler module "samplerate" [0xac6281e8] main decoder debug: End of audio preroll Fontconfig warning: FcPattern object size does not accept value "0" [0xa3c012b0] freetype spu text debug: Using Serif Bold as font from file /usr/share/fonts/truetype/dejavu/DejaVuSans.ttf [0xa3c012b0] freetype spu text debug: using fontsize: 2 [0xa3c012b0] main spu text debug: using text renderer module "freetype" [0xa3c26700] main scale debug: looking for video filter2 module matching "any": 55 candidates [0xa3c26700] swscale scale debug: 32x32 chroma: YUVA -> 16x16 chroma: RGBA with scaling using Bicubic (good quality) [0xa3c26700] main scale debug: using video filter2 module "swscale" [0xa3c3a928] main scale debug: looking for video filter2 module matching "any": 55 candidates [0xa3c3a928] yuvp scale debug: YUVP to YUVA converter [0xa3c3a928] main scale debug: using video filter2 module "yuvp" [0xa3c004d8] main video output debug: Deinterlacing available [0xa3c004d8] main video output debug: deinterlace 0, mode blend, is_needed 0 [0xa3c004d8] main video output debug: Opening vout display wrapper [0x904a990] main vout display debug: looking for vout display module matching "vmem": 12 candidates [0x904a990] main vout display debug: VoutDisplayEvent 'fullscreen' 0 [0x904a990] main vout display debug: VoutDisplayEvent 'resize' 854x480 window [0x904a990] main vout display debug: using vout display module "vmem" [0xa3c004d8] main video output warning: Not enough direct buffers, using system memory [0xa3c004d8] main video output debug: original format sz 854x480, of (0,0), vsz 854x480, 4cc I420, sar 1:1, msk r0x0 g0x0 b0x0 [0xa3c004d8] main video output debug: Adding 'adjust' as interactive [0x905cc80] main filter debug: looking for video filter2 module matching "adjust": 55 candidates [0x905cc80] main filter debug: using video filter2 module "adjust" [0xa3c004d8] main video output debug: Filter 'adjust' (0x905cc80) appended to chain [0xa3c012b0] main spu text debug: removing module "freetype" [0xa3c012b0] main spu text debug: looking for text renderer module matching "any": 2 candidates [0xa3c012b0] freetype spu text debug: Building font databases. [0xa3c012b0] freetype spu text debug: Took 6 microseconds Fontconfig warning: FcPattern object size does not accept value "0" Fontconfig warning: FcPattern object size does not accept value "0" [0xa3c012b0] freetype spu text debug: Using Serif Bold as font from file /usr/share/fonts/truetype/dejavu/DejaVuSans.ttf [0xa3c012b0] freetype spu text debug: using fontsize: 2 [0xa3c012b0] main spu text debug: using text renderer module "freetype" [0xac608030] avcodec decoder debug: using direct rendering [0xac608030] main decoder debug: End of video preroll [0xac608030] main decoder debug: Received first picture [0x904a990] main vout display error: Failed to change zoom [0x904a990] main vout display error: Failed to set on top [0x904a990] main vout display error: Failed to change source AR [0x88565b8] main input debug: Buffering 79% [0x88565b8] main input debug: Buffering 93% [0x88565b8] main input debug: Stream buffering done (1104 ms in 198 ms) [0x88565b8] main input debug: Decoder buffering done in 0 ms [0xa88004d8] pulse audio output debug: cannot synchronize start [0xa88004d8] pulse audio output debug: deferring start (6050 us) [0xa88004d8] pulse audio output warning: starting late (-18650 us) [0xa88004d8] pulse audio output debug: started [0xa88004d8] pulse audio output debug: underflow [0xa88004d8] pulse audio output debug: underflow [0xa88004d8] pulse audio output debug: changing sink 0: auto_null (Output dummy) [0xaca43ae0] ts demux debug: TS module discarded (lost sync) [0xaca43ae0] mod demux debug: MOD validation failed (ext=) [0xa88004d8] main audio output warning: playback too early (-42194): down-sampling [0xaca43ae0] lua demux debug: Trying Lua scripts in /home/bertero/.local/share/vlc/lua/playlist [0xaca43ae0] lua demux debug: Trying Lua scripts in /usr/lib/vlc/lua/playlist [0xaca43ae0] lua demux debug: Trying Lua playlist script /usr/lib/vlc/lua/playlist/anevia_streams.luac [0xaca43ae0] lua demux debug: Trying Lua playlist script /usr/lib/vlc/lua/playlist/anevia_xml.luac [0xaca43ae0] lua demux debug: Trying Lua playlist script /usr/lib/vlc/lua/playlist/appletrailers.luac [0xaca43ae0] lua demux debug: Trying Lua playlist script /usr/lib/vlc/lua/playlist/bbc_co_uk.luac [0xaca43ae0] lua demux debug: Trying Lua playlist script /usr/lib/vlc/lua/playlist/break.luac [0xaca43ae0] lua demux debug: Trying Lua playlist script /usr/lib/vlc/lua/playlist/canalplus.luac [0xaca43ae0] lua demux debug: Trying Lua playlist script /usr/lib/vlc/lua/playlist/cue.luac [0xaca43ae0] lua demux debug: Trying Lua playlist script /usr/lib/vlc/lua/playlist/dailymotion.luac [0xaca43ae0] lua demux debug: Trying Lua playlist script /usr/lib/vlc/lua/playlist/extreme.luac [0xaca43ae0] lua demux debug: Trying Lua playlist script /usr/lib/vlc/lua/playlist/france2.luac [0xaca43ae0] lua demux debug: Trying Lua playlist script /usr/lib/vlc/lua/playlist/googlevideo.luac [0xaca43ae0] lua demux debug: Trying Lua playlist script /usr/lib/vlc/lua/playlist/jamendo.luac [0xaca43ae0] lua demux debug: Trying Lua playlist script /usr/lib/vlc/lua/playlist/joox.luac [0xaca43ae0] lua demux debug: Trying Lua playlist script /usr/lib/vlc/lua/playlist/katsomo.luac [0xaca43ae0] lua demux debug: Trying Lua playlist script /usr/lib/vlc/lua/playlist/koreus.luac [0xaca43ae0] lua demux debug: Trying Lua playlist script /usr/lib/vlc/lua/playlist/lelombrik.luac [0xa88004d8] main audio output warning: playback way too early (-152946): playing silence [0xa88004d8] main audio output debug: inserting 6744 zeroes [0xaca43ae0] lua demux debug: Trying Lua playlist script /usr/lib/vlc/lua/playlist/liveleak.luac [0xaca43ae0] lua demux debug: Trying Lua playlist script /usr/lib/vlc/lua/playlist/metacafe.luac [0xaca43ae0] lua demux debug: Trying Lua playlist script /usr/lib/vlc/lua/playlist/metachannels.luac [0xaca43ae0] lua demux debug: Trying Lua playlist script /usr/lib/vlc/lua/playlist/mpora.luac [0xaca43ae0] lua demux debug: Trying Lua playlist script /usr/lib/vlc/lua/playlist/pinkbike.luac [0xaca43ae0] lua demux debug: Trying Lua playlist script /usr/lib/vlc/lua/playlist/pluzz.luac [0xaca43ae0] lua demux debug: Trying Lua playlist script /usr/lib/vlc/lua/playlist/rockbox_fm_presets.luac [0xaca43ae0] lua demux debug: Trying Lua playlist script /usr/lib/vlc/lua/playlist/soundcloud.luac [0xaca43ae0] lua demux debug: Trying Lua playlist script /usr/lib/vlc/lua/playlist/vimeo.luac [0xaca43ae0] lua demux debug: Trying Lua playlist script /usr/lib/vlc/lua/playlist/youtube.luac [0xaca43ae0] lua demux debug: Lua playlist script /usr/lib/vlc/lua/playlist/youtube.luac's probe() function was successful [0xaca43ae0] main demux debug: using demux module "lua" [0xaca43cb8] main demux meta debug: looking for meta reader module matching "any": 2 candidates [0xaca43cb8] lua demux meta debug: Trying Lua scripts in /home/bertero/.local/share/vlc/lua/meta/reader [0xaca43cb8] lua demux meta debug: Trying Lua scripts in /usr/lib/vlc/lua/meta/reader [0xaca43cb8] lua demux meta debug: Trying Lua playlist script /usr/lib/vlc/lua/meta/reader/filename.luac [0xaca43cb8] lua demux meta debug: Trying Lua scripts in /usr/share/vlc/lua/meta/reader [0xaca43cb8] main demux meta debug: no meta reader modules matched [0x8984110] main input debug: `https://www.youtube.com/watch?v=XWxJsWy7QjA' successfully opened [0xaca35d90] gnutls tls session error: The TLS connection was non-properly terminated. [0xaca00a50] main access error: read error: Connection reset by peer [0xaca43ae0] lua demux debug: old path: https://www.youtube.com/watch?v=XWxJsWy7QjA [0xaca43ae0] lua demux debug: Path: http://r8---sn-hpa7ene7.googlevideo.com/videoplayback?mt=1412174154&mv=m&ms=au&id=o-AJV4ms9cDlmKah6gBMTmlCybUle0CpsJVvJmZm1HMvHw&ratebypass=yes&ipbits=0&mm=31&ip=77.108.51.138&sver=3&itag=22&initcwndbps=332500&fexp=927622%2C930666%2C931983%2C932404%2C934030%2C935024%2C936100%2C946013%2C947209%2C952302%2C953801&signature=260F8A04C4B5C7183015D928DA22FF276AC7A0E6.BCFDD17FEC03E3920AC4EB623774FEC9B25752FA&sparams=id%2Cinitcwndbps%2Cip%2Cipbits%2Citag%2Cmime%2Cmm%2Cms%2Cmv%2Cratebypass%2Csource%2Cupn%2Cexpire&upn=70QWXIMgKT8&expire=1412195857&mime=video%2Fmp4&source=youtube&key=yt5 [0xaca43ae0] lua demux debug: Name: Top Ten Biographic Movies - Movie HD [0xaca43ae0] lua demux debug: Artist: MOVIECLIPS Trailers [0xaca43ae0] lua demux debug: Description: Subscribe to TRAILERS: http://bit.ly/sxaw6h Subscribe to COMING SOON: http://bit.ly/H2vZUn Like us on FACEBOOK: http://goo.gl/dHs73 Subscribe to INDIE TRAILE... [0xaca43ae0] lua demux debug: ArtURL: https://i.ytimg.com/vi/XWxJsWy7QjA/maxresdefault.jpg [0xaca43ae0] lua demux debug: meta-URL: https://www.youtube.com/watch?v=XWxJsWy7QjA [0xa88004d8] main audio output warning: playback too early (-49886): down-sampling [0xa88004d8] main audio output debug: resampling stopped (drift: 67 us) [0xa88004d8] main audio output warning: playback too late (63486): up-sampling [0xa88004d8] main audio output debug: resampling stopped (drift: -22306 us)

AndreaD82 commented 10 years ago

there isn't "enable-lua" i see

AndreaD82 commented 10 years ago

dpkg --get-selections | grep vlc libvlc-dev install libvlc5 install libvlccore7 install vlc install vlc-data install vlc-nox install vlc-plugin-notify install vlc-plugin-pulse install

RSATom commented 10 years ago

there isn't "enable-lua" i see

It's seems it's Ok, since in log I can see

[0xaca43ae0] lua demux debug: Lua playlist script /usr/lib/vlc/lua/playlist/youtube.luac's probe() function was successful

So now you have some another problem...

RSATom commented 10 years ago

is

[0xa88004d8] main audio output debug: resampling stopped (drift: -22306 us)

last string in the log?

AndreaD82 commented 10 years ago

not properly the last [0xa88004d8] main audio output debug: resampling stopped (drift: -22306 us) terminate called after throwing an instance of 'std::bad_alloc' what(): std::bad_alloc The program has unexpectedly finished.

RSATom commented 10 years ago

hm... it's some problem in C++ part... you should try to find where 'std::bad_alloc' is thrown.

AndreaD82 commented 10 years ago

in QmlClvConfig.cpp

row 43

QByteArray networkCachingBuf;
RSATom commented 10 years ago

hm... how did you install Qt5?

RSATom commented 10 years ago

but it's very strange, this code called right on startup. After playing already started execution could not go there...

AndreaD82 commented 10 years ago

i found the problem.... as you suggest before, the version of QT is the problem i compile it with the 5.3.1 Linux Android instead 5.3.1 Linux

RSATom commented 10 years ago

Is it works now?

AndreaD82 commented 10 years ago

Yes it works now, thank you very much for your huge help

RSATom commented 10 years ago

It's great! Do you plan to use QmlVlc on Android?

AndreaD82 commented 10 years ago

Funking yeah!

RSATom commented 10 years ago

Then please keep me informed about progress. If it possible. I wanted to do the same but have no enough time and hardware...

AndreaD82 commented 10 years ago

yes of course! Thanks so much!

RSATom commented 10 years ago

You are welcome!