caprica / vlcj

Java framework for the vlc media player
http://www.capricasoftware.co.uk/projects/vlcj
1.13k stars 259 forks source link

There is the possibility of running a picasa video? #478

Closed MarlonColhado closed 8 years ago

MarlonColhado commented 8 years ago

First, sorry for my english.. I am brazilian.

I'm trying to watch a video with picasa url. Example of URL: https://r9---sn-bg07ynes.googlevideo.com/videoplayback?id=0f5078997f55741f&itag=18&source=picasa&begin=0&requiressl=yes&mm=30&mn=sn-bg07ynes&ms=nxu&mv=m&nh=IgpwcjAxLmdydTA2Kgw4NC4xNi4xMS4xNzU&pl=21&mime=video/mp4&lmt=1455960359162855&mt=1456610865&ip=187.101.95.14&ipbits=8&expire=1456639746&sparams=ip,ipbits,expire,id,itag,source,requiressl,mm,mn,ms,mv,nh,pl,mime,lmt&signature=885A81BD042FFFA311C2ACB029A102F3B113C35F.418A8059BA1A88E8C3AC3FBCCE9BAE0C4A04D371&key=ck2

I get the updated video link like this up through an API.

But when I try to watch it:

02-27 19:09:05.647 19382-19382/pct.droid.dev I/VLC/LibVLC/Util: ELF ABI = x86, 32bits
02-27 19:09:05.647 19382-19382/pct.droid.dev I/VLC/LibVLC/Util: ELF arch = null
02-27 19:09:05.647 19382-19382/pct.droid.dev I/VLC/LibVLC/Util: ELF fpu = false
02-27 19:09:05.657 19382-19382/pct.droid.dev W/linker: libvlcjni.so has text relocations. This is wasting memory and prevents security hardening. Please fix.
02-27 19:09:05.687 19382-19382/pct.droid.dev D/VLC/JNI/VLCObject: JNI interface loaded.
02-27 19:09:05.697 19382-19382/pct.droid.dev D/VLC: [b915cee8] core libvlc: VLC media player - 3.0.0-git Vetinari
02-27 19:09:05.697 19382-19382/pct.droid.dev D/VLC: [b915cee8] core libvlc: Copyright © 1996-2015 the VideoLAN team
02-27 19:09:05.697 19382-19382/pct.droid.dev D/VLC: [b915cee8] core libvlc: revision 2.2.0-git-4646-g11d6de9
02-27 19:09:05.697 19382-19382/pct.droid.dev D/VLC: [b915cee8] core libvlc: configured with ../configure  '--host=i686-linux-android' '--build=x86_64-unknown-linux' '--disable-nls' '--enable-live555' '--enable-realrtsp' '--enable-avformat' '--enable-swscale' '--enable-avcodec' '--enable-opus' '--enable-opensles' '--enable-mkv' '--enable-taglib' '--enable-dvbpsi' '--disable-vlc' '--disable-shared' '--disable-update-check' '--disable-vlm' '--disable-dbus' '--disable-lua' '--disable-vcd' '--disable-v4l2' '--disable-gnomevfs' '--enable-dvdread' '--enable-dvdnav' '--disable-bluray' '--disable-linsys' '--disable-decklink' '--disable-libva' '--disable-dv1394' '--enable-mod' '--disable-sid' '--disable-gme' '--disable-tremor' '--enable-mad' '--disable-dca' '--disable-sdl-image' '--enable-zvbi' '--disable-fluidsynth' '--disable-jack' '--disable-pulse' '--disable-alsa' '--disable-samplerate' '--disable-sdl' '--disable-xcb' '--disable-atmo' '--disable-qt' '--disable-skins2' '--disable-mtp' '--disable-notify' '--enable-libass' '--disable-svg' '--disable-udev' '--enable-li
02-27 19:09:05.697 19382-19382/pct.droid.dev D/VLC: [b915cee8] core libvlc: plug-ins loaded: 260 modules
02-27 19:09:05.697 19382-19382/pct.droid.dev D/VLC: [b915d948] core logger: looking for logger module matching "any": 4 candidates
02-27 19:09:05.697 19382-19382/pct.droid.dev D/VLC: [b915d948] core logger: using logger module "android_logger"
02-27 19:09:05.697 19382-19382/pct.droid.dev D/VLC: [b915cee8] core libvlc: translation test: code is "C"
02-27 19:09:05.697 19382-19382/pct.droid.dev D/VLC: [b915cee8] core libvlc: CPU has capabilities MMX MMXEXT SSE SSE2 SSE3 SSSE3 FPU 
02-27 19:09:05.707 19382-19382/pct.droid.dev D/VLC: [b9247638] core generic: creating audio output
02-27 19:09:05.707 19382-19382/pct.droid.dev D/VLC: [b924a108] core audio output: looking for audio output module matching "android_audiotrack": 4 candidates
02-27 19:09:05.707 19382-19382/pct.droid.dev W/libOpenSLES: class OutputMix interface 0 requested but unavailable MPH=43
02-27 19:09:05.707 19382-19382/pct.droid.dev D/VLC: [b924a108] core audio output: using audio output module "opensles_android"
02-27 19:09:05.707 19382-19382/pct.droid.dev D/VLC: [b9247638] core generic: keeping audio output
02-27 19:09:05.717 19382-19382/pct.droid.dev D/VLC: [b924d3a8] core input: Creating an input for 'mp4&lmt=1455960359162855&mt=1456610865&ip=187.101.95.14&ipbits=8&expire=1456639746&sparams=ip,ipbits,expire,id,itag,source,requiressl,mm,mn,ms,mv,nh,pl,mime,lmt&signature=885A81BD042FFFA311C2ACB029A102F3B113C35F.418A8059BA1A88E8C3AC3FBCCE9BAE0C4A04D371&key=ck2'
02-27 19:09:05.717 19382-20446/pct.droid.dev D/VLC: [b924d3a8] core input: using timeshift granularity of 50 MiB
02-27 19:09:05.717 19382-20446/pct.droid.dev D/VLC: [b924d3a8] core input: using default timeshift path
02-27 19:09:05.717 19382-20446/pct.droid.dev D/VLC: [b924d3a8] core input: `https://r9---sn-bg07ynes.googlevideo.com/videoplayback?id=0f5078997f55741f&itag=18&source=picasa&begin=0&requiressl=yes&mm=30&mn=sn-bg07ynes&ms=nxu&mv=m&nh=IgpwcjAxLmdydTA2Kgw4NC4xNi4xMS4xNzU&pl=21&mime=video/mp4&lmt=1455960359162855&mt=1456610865&ip=187.101.95.14&ipbits=8&expire=1456639746&sparams=ip,ipbits,expire,id,itag,source,requiressl,mm,mn,ms,mv,nh,pl,mime,lmt&signature=885A81BD042FFFA311C2ACB029A102F3B113C35F.418A8059BA1A88E8C3AC3FBCCE9BAE0C4A04D371&key=ck2' gives access `https' demux `' path `r9---sn-bg07ynes.googlevideo.com/videoplayback?id=0f5078997f55741f&itag=18&source=picasa&begin=0&requiressl=yes&mm=30&mn=sn-bg07ynes&ms=nxu&mv=m&nh=IgpwcjAxLmdydTA2Kgw4NC4xNi4xMS4xNzU&pl=21&mime=video/mp4&lmt=1455960359162855&mt=1456610865&ip=187.101.95.14&ipbits=8&expire=1456639746&sparams=ip,ipbits,expire,id,itag,source,requiressl,mm,mn,ms,mv,nh,pl,mime,lmt&signature=885A81BD042FFFA311C2ACB029A102F3B113C35F.418A8059BA1A88E8C3AC3FBCCE9BAE0C4A04D371&key=ck2'
02-27 19:09:05.717 19382-20446/pct.droid.dev D/VLC: [b924d3a8] core input: specified demux `any'
02-27 19:09:05.717 19382-20446/pct.droid.dev D/VLC: [b924d3a8] core input: creating demux: access='https' demux='any' location='r9---sn-bg07ynes.googlevideo.com/videoplayback?id=0f5078997f55741f&itag=18&source=picasa&begin=0&requiressl=yes&mm=30&mn=sn-bg07ynes&ms=nxu&mv=m&nh=IgpwcjAxLmdydTA2Kgw4NC4xNi4xMS4xNzU&pl=21&mime=video/mp4&lmt=1455960359162855&mt=1456610865&ip=187.101.95.14&ipbits=8&expire=1456639746&sparams=ip,ipbits,expire,id,itag,source,requiressl,mm,mn,ms,mv,nh,pl,mime,lmt&signature=885A81BD042FFFA311C2ACB029A102F3B113C35F.418A8059BA1A88E8C3AC3FBCCE9BAE0C4A04D371&key=ck2' file='(null)'
02-27 19:09:05.717 19382-20446/pct.droid.dev D/VLC: [b9252be8] core demux: looking for access_demux module matching "https": 6 candidates
02-27 19:09:05.717 19382-20446/pct.droid.dev D/VLC: [b9252be8] core demux: no access_demux modules matched
02-27 19:09:05.717 19382-20446/pct.droid.dev D/VLC: [b9253028] core access: creating access 'https' location='r9---sn-bg07ynes.googlevideo.com/videoplayback?id=0f5078997f55741f&itag=18&source=picasa&begin=0&requiressl=yes&mm=30&mn=sn-bg07ynes&ms=nxu&mv=m&nh=IgpwcjAxLmdydTA2Kgw4NC4xNi4xMS4xNzU&pl=21&mime=video/mp4&lmt=1455960359162855&mt=1456610865&ip=187.101.95.14&ipbits=8&expire=1456639746&sparams=ip,ipbits,expire,id,itag,source,requiressl,mm,mn,ms,mv,nh,pl,mime,lmt&signature=885A81BD042FFFA311C2ACB029A102F3B113C35F.418A8059BA1A88E8C3AC3FBCCE9BAE0C4A04D371&key=ck2', path='(null)'
02-27 19:09:05.717 19382-20446/pct.droid.dev D/VLC: [b9253028] core access: looking for access module matching "https": 20 candidates
02-27 19:09:05.717 19382-20446/pct.droid.dev D/VLC: [b9255388] core tls client: looking for tls client module matching "any": 1 candidates
02-27 19:09:05.717 19382-20446/pct.droid.dev D/VLC: [b9255388] gnutls tls client: using GnuTLS version 3.2.21
02-27 19:09:05.717 19382-19382/pct.droid.dev V/FragmentManager: moveto STARTED: VideoPlayerFragment{64d51d1 #0 id=0x7f0f00ac}
02-27 19:09:05.847 19382-19382/pct.droid.dev V/FragmentManager: moveto RESUMED: VideoPlayerFragment{64d51d1 #0 id=0x7f0f00ac}
02-27 19:09:05.937 19382-20446/pct.droid.dev D/VLC: [b9255388] gnutls tls client: loaded 157 trusted CAs
02-27 19:09:05.937 19382-20446/pct.droid.dev D/VLC: [b9255388] core tls client: using tls client module "gnutls"
02-27 19:09:05.937 19382-20446/pct.droid.dev D/VLC: [b9253028] http access: querying proxy for https://r9---sn-bg07ynes.googlevideo.com/videoplayback?id=0f5078997f55741f&itag=18&source=picasa&begin=0&requiressl=yes&mm=30&mn=sn-bg07ynes&ms=nxu&mv=m&nh=IgpwcjAxLmdydTA2Kgw4NC4xNi4xMS4xNzU&pl=21&mime=video/mp4&lmt=1455960359162855&mt=1456610865&ip=187.101.95.14&ipbits=8&expire=1456639746&sparams=ip,ipbits,expire,id,itag,source,requiressl,mm,mn,ms,mv,nh,pl,mime,lmt&signature=885A81BD042FFFA311C2ACB029A102F3B113C35F.418A8059BA1A88E8C3AC3FBCCE9BAE0C4A04D371&key=ck2
02-27 19:09:05.937 19382-20446/pct.droid.dev D/VLC: [b9253028] http access: no proxy
02-27 19:09:05.937 19382-20446/pct.droid.dev D/VLC: [b9253028] http access: http: server='r9---sn-bg07ynes.googlevideo.com' port=443 file='/videoplayback'
02-27 19:09:05.937 19382-20446/pct.droid.dev D/VLC: [b9253028] core access: net: connecting to r9---sn-bg07ynes.googlevideo.com port 443
02-27 19:09:06.557 19382-20446/pct.droid.dev E/VLC: [b9253028] core access: connection failed: Network is unreachable
02-27 19:09:06.557 19382-20446/pct.droid.dev E/VLC: [b9253028] http access: cannot connect to r9---sn-bg07ynes.googlevideo.com:443
02-27 19:09:06.577 19382-20446/pct.droid.dev D/VLC: [b9253028] core access: no access modules matched
02-27 19:09:06.577 19382-20446/pct.droid.dev E/VLC: [b924d3a8] core input: open of `https://r9---sn-bg07ynes.googlevideo.com/videoplayback?id=0f5078997f55741f&itag=18&source=picasa&begin=0&requiressl=yes&mm=30&mn=sn-bg07ynes&ms=nxu&mv=m&nh=IgpwcjAxLmdydTA2Kgw4NC4xNi4xMS4xNzU&pl=21&mime=video/mp4&lmt=1455960359162855&mt=1456610865&ip=187.101.95.14&ipbits=8&expire=1456639746&sparams=ip,ipbits,expire,id,itag,source,requiressl,mm,mn,ms,mv,nh,pl,mime,lmt&signature=885A81BD042FFFA311C2ACB029A102F3B113C35F.418A8059BA1A88E8C3AC3FBCCE9BAE0C4A04D371&key=ck2' failed
02-27 19:09:06.577 19382-20446/pct.droid.dev W/art: Native thread exiting without having called DetachCurrentThread (maybe it's going to use a pthread_key_create destructor?): Thread[76,tid=20446,Native,Thread*=0xb9251560,peer=0x132bd080,"VlcObject"]
02-27 19:09:06.577 19382-19382/pct.droid.dev D/VLC: [b924d3a8] core input: Destroying the input for 'mp4&lmt=1455960359162855&mt=1456610865&ip=187.101.95.14&ipbits=8&expire=1456639746&sparams=ip,ipbits,expire,id,itag,source,requiressl,mm,mn,ms,mv,nh,pl,mime,lmt&signature=885A81BD042FFFA311C2ACB029A102F3B113C35F.418A8059BA1A88E8C3AC3FBCCE9BAE0C4A04D371&key=ck2'

Can anyone tell me the problem or how can I fix?

caprica commented 8 years ago

I don't see any reference to vlcj in your log.

You seem to be using Android? LibVLC on Android is not vlcj.