Minitube non funzionante

Installazione, configurazione e utilizzo di applicativi multimediali, masterizzazione, acquisizione e codec audio/video, streaming e altro.
eduzzino5
Prode Principiante
Messaggi: 23
Iscrizione: lunedì 19 marzo 2012, 14:40

Minitube non funzionante

Messaggio da eduzzino5 »

Visto che non riesco ad installare flash player (le ho provate tutte ma niente da fare :muro: :muro: :muro: :muro: ) ho installato minitube per vedere i video di youtube. L'installazione è andata a buon fine..ma apro, cerco il video, faccio il doppio click e non parte. Rimane ferma l'immagine e non carica neppure!
Qualcuno sa cosa potrei fare?
Avatar utente
maxbigsi
Tenace Tecnocrate
Tenace Tecnocrate
Messaggi: 17039
Iscrizione: mercoledì 21 maggio 2008, 14:05
Desktop: Xfce
Distribuzione: MX Linux 23.2 64bit
Sesso: Maschile
Contatti:

Re: Minitube non funzionante

Messaggio da maxbigsi »

che versione di minitube? e di ubuntu?
W il software libero..... W Ubuntu -- Ubuntu User # 31322
https://www.ergosumracalmuto.org/inform ... /index.php
eduzzino5
Prode Principiante
Messaggi: 23
Iscrizione: lunedì 19 marzo 2012, 14:40

Re: Minitube non funzionante

Messaggio da eduzzino5 »

Grazie per avermi risposto. Uso Lubuntu 12.04.4 e la versione di minitube è l'ultima uscita
Avatar utente
ilovelinux
Entusiasta Emergente
Entusiasta Emergente
Messaggi: 1590
Iscrizione: lunedì 22 luglio 2013, 8:49
Desktop: Awesome
Distribuzione: Archlinux x86_64
Sesso: Maschile
Località: Sicilia, Italia

Re: Minitube non funzionante

Messaggio da ilovelinux »

1) Come hai installato Minitube?
2) Perché non riesci ad installare Flash Player?
eduzzino5
Prode Principiante
Messaggi: 23
Iscrizione: lunedì 19 marzo 2012, 14:40

Re: Minitube non funzionante

Messaggio da eduzzino5 »

Minitube l'ho installato da terminale. Flashplayer adesso mi funziona..era un problema di aggiornamento..
zerocoll
Entusiasta Emergente
Entusiasta Emergente
Messaggi: 1657
Iscrizione: mercoledì 20 gennaio 2010, 1:44

Re: Minitube non funzionante

Messaggio da zerocoll »

siccome mi piace il terminale e sul tubo ce un sacco di pubblicita -.-

uso questo script :D

Codice: Seleziona tutto

#!/bin/bash
# yt-download.sh v2.35 2013-04-21
# Arif HS http://arif.suparlan.com/2011/02/23/download-youtube-video-dengan-shell-script
# Big thanks to: Trio & Dougal http://www.murga-linux.com/puppy/viewtopic.php?p=326803#326803
# Usage: bash/sh yt-download.sh [youtube_video_id] [save_directory]
# 
function youtube(){
echo ""
echo "YT-DOWNLOAD.SH v2.35"
echo "----------------------------------"

#if [ $2 ]
#then
#	if [ ! -d "$2" ]
#	then
#		echo "Can not find directory. Aborting..."
#		sleep 1
#		exit 0
#	fi
#	DIR=$2"/"
#else
#	DIR=""
#fi

DIR="~"

ricerca=`zenity --entry --text="inserisci il video da cercare" |  sed -e 's/ /+/g'`

curl -A "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.3) Gecko/20090910 Firefox/3.5.3" "http://gdata.youtube.com/feeds/base/videos?q=$ricerca&alt=rss&client=ytapi-youtube-search&v=2" > /tmp/youtube.html

PROG=`cat /tmp/youtube.html | perl -wlne '/title>(.*)<\/title/i && print $1' | awk -F '>' '{print $1}' | sed -e '1d' | zenity --height=450 --width=280 --list --column="lista" --title="youtube" --text="Select Video:"`

   lista=`cat /tmp/youtube.html | grep -A1 "$PROG" | grep -o "watch?v=..........." | tail -1 | awk -F '=' '{print $2}'`

# cat $lista
echo $lista

function play(){
if [ $2 ]
then
	if [ ! -d "$2" ]
	then
		echo "Can not find directory. Please check [save_directory]"
		sleep 1
		exit 0
	fi
	DIR=$2"/"
else
	DIR=""
fi

if [ $1 ]
then
	#downloading html file
	echo "Downloading HTML file and getting video formats, please wait..."
	tmpfn=$1-$(date +"%s").tmp
	wget -O $tmpfn "http://www.youtube.com/watch?v="$1 -q
	#curl -s "http://www.youtube.com/watch?v="$1 > $tmpfn
	
	#get title
	title=$(grep -o "<meta name=\"title\" content=\".*\">" $tmpfn)
	title=`expr match "$title" '<meta name=\"title\" content=\"\(.*\)\">'`
	title=${title//\//"-"}
	titlefn=${title//" "/"_"}

	#check value
	function chkval {
		if [ ! $1 ]
		then
			echo "Uh oh, something went wrong..."
			exit 0
		fi
	}

	chkval $titlefn
	echo ""
	echo "Download site(s) found!"
	echo "----------------------------------"
	echo "Title: "$title

	#get player_config part
	#Tmp=$(grep -o "'PLAYER_CONFIG': {.*}" $tmpfn)
	Tmp=$(grep -o "ytplayer.config = {.*}" $tmpfn)

	declare -a Url_array Geom_array Fmt_array
	UrlMap=${Tmp#*\"url_encoded_fmt_stream_map\": \"}
	UrlMap=${UrlMap%%\"*}
	UrlMap=`echo ${UrlMap//,/ } | tac -s' '`
	GeomMap=${Tmp#*\"fmt_list\": \"}
	GeomMap=${GeomMap%%\"*}
	GeomMap=`echo ${GeomMap//,/ } | tac -s' '`

	#fmt_list
	#url_encoded_fmt_stream_map

	j=0
	for i in ${UrlMap} ; do
		#Fmt=${i##*=}
		Url=${i#*url=}

		Url=${Url%%\\u0026*}	
		Url="$(echo $Url | echo -e $(sed 's/+/ /g; s/%/\\x/g'))"
		Url=${Url//\\\///}
		Url=${Url//\\\u0026/&}
		Url=${Url//\%252C/,}
		
		#get signature
		Sig=${i#*sig=}
		Sig=${Sig%%\\u0026*}
		#Url=${Url%%&type*}
		#Url="$(echo $Url | sed -e s/\\http:[^\]]*\\.v/http:\\/\\/v/)"
		Url=$Url"&signature="$Sig"&title="$titlefn
		
		#itag
		itag=${i#*0026itag=}
		itag=${itag%%\\*}
		
		Url_array[$j]=$Url
		Fmt_array[$j]=$itag
		let j++
	done
	
	j=0
	for i in ${GeomMap} ; do
		Fmt=${i%%\\*}
		Geom=${i#*/}
		Geom=${Geom%%\\*}
		Geom_array[$j]="$Geom"
		let j++
	done

	#format list
	fmt[0]="flv"
	fmt[5]="flv"
	fmt[6]="flv"
	fmt[34]="flv"
	fmt[35]="flv"
	fmt[13]="3gp"
	fmt[17]="3gp"
	fmt[18]="mp4"
	fmt[22]="mp4"
	fmt[37]="mp4"
	fmt[38]="mp4"
	fmt[43]="webm"
	fmt[44]="webm"
	fmt[45]="webm"
	
	echo "----------------------------------"
	# List all the elements in the array.
	arr_count=${#Geom_array[@]}
	i=0
	while [ "$i" -lt "$arr_count" ]
	do
		echo [$i] ${Geom_array[$i]} ${fmt[${Fmt_array[$i]}]} >> /tmp/youtube-infmt #${Fmt_array[$i]} 
		let i++
	done	
	
#	echo -n 'Select video format and press enter or just press enter to abort: '
#	read infmt 
	infmt_raw=`cat /tmp/youtube-infmt | zenity --height=350 --width=280 --list --column="lista" --title="youtube" --text="Select Quality:"`
	infmt=`echo "$infmt_raw" | grep -o '\[[^\]]*' | grep -oE [[:digit:]]`
    rm /tmp/youtube-infmt
	if [ ! "$infmt" ]
	then
		echo "Aborting..."
		sleep 1
		exit 0
	else
		#check if input integer
		if [ $infmt -ne 0 -o $infmt -eq 0 2>/dev/null ]
		then
			arr_in=${#Fmt_array[@]}
			if [ $infmt -lt $arr_in ]  &&  [ $infmt -ge "0" ]
			then
				echo "Downloading video..."
				echo "----------------------------------"

				#set file name
				fn=$titlefn.${Geom_array[$infmt]}.${fmt[${Fmt_array[$infmt]}]} 
				
				chkval ${Url_array[$infmt]}
				stream= echo \"${Url_array[$infmt]}\"


				scelta=`zenity --list --height=200 --width=150 --title="SELECT OPERATIONS" --text="quale operazione vuoi fare?" --column="PLAYER"\
                "play" "download" `
case "$scelta" in

	"download") wget -O - -t 7 -w 5 --waitretry=14 --random-wait '--user-agent=Mozilla/5.0' -e robots=off "${Url_array[$infmt]}" > "$DIR""$fn" ;;
	"play") vlc "${Url_array[$infmt]}" ;;
esac


				#echo "File:" $fn ${Url_array[$infmt]}
				#rm wget-log*
			fi
		fi
	fi

	echo "----------------------------------"
	echo ""

else
	echo "Usage: bash/sh yt-download.sh [youtube_video_id] [save_directory] "
	echo "Example: sh yt-download.sh jNQXAC9IVRw"
	exit
fi
}

play $lista

}

youtube

exit 0

e li vedo su vlc c e anche la possibilita di salvare il file ^_^
Scrivi risposta

Ritorna a “Multimediale”

Chi c’è in linea

Visualizzano questa sezione: 0 utenti iscritti e 3 ospiti