Vous n'êtes pas identifié(e).
Dernière modification par Anonyme (07-05-2015 17:27:24)
GrandChaos9000
I've got urgent bad news about YouTube API v2 today, but unfortunately, it was officially discontinued and no longer affected works with older devices and apps.
Maybe then they will be soon updating the latest API or browse the web.
J'ai une mauvaises nouvelles sur YouTube API v2 aujourd'hui, malheureusement, il a été officiellement abandonnées et plus il affecte les anciens périphériques et applications .
Peut-être y'aura t-il bientôt à mise-a-jour pour le dernier API ou navigateur Web
SuperTramp83
And..no minitube and no smtube works right now! stupid api! Just an empty list. no vids at all. no one vid.
ay ay ay
Need to solve this!
p.s - today, that is some hours ago all worked perfectly!
Et.. Il n'y a pas de minitube et aucun smtube qui fonctionne en ce moment ! api stupide! Juste une liste vide. aucun fichier vids. personne a de vid. Triste
ay ay ay
Besoin de résoudre ce Bug !
ps - aujourd'hui, il ya quelques heures, tout a parfaitement fonctionné !
Ir0nsh007er (49 72 30 6E 73 68 30 30 37 65 72). Mon CV
Noob un jour, noob toujours
01001001 01110010 00110000 01101110 01110011 01101000 00110000 00110000 00110111 01100101 01110010
Hors ligne
GrandChaos9000
So, here's the worst part you can't watch, listen or download some music and videos from YouTube, because there are common reasons of age verification, copyright restrictions, country restrictions and any others.
Donc, voici le pire est que vous ne pouvez pas regarder, écouter ou télécharger de la musique et des vidéos à partir de YouTube , car il ya des restrictions de vérification de l'âge , des restrictions de droits d'auteur , les restrictions du pays et tous les autres.
Google traduction !
Ir0nsh007er (49 72 30 6E 73 68 30 30 37 65 72). Mon CV
Noob un jour, noob toujours
01001001 01110010 00110000 01101110 01110011 01101000 00110000 00110000 00110111 01100101 01110010
Hors ligne
Ir0nsh007er (49 72 30 6E 73 68 30 30 37 65 72). Mon CV
Noob un jour, noob toujours
01001001 01110010 00110000 01101110 01110011 01101000 00110000 00110000 00110111 01100101 01110010
Hors ligne
Rendre executable youtube-dl et écraser l'ancien fichier dans /usr/bin
Ses choix et c'est parti
J'ai neutralisé la suppression des fichiers audio & vidéo pour les garder
Le script :
#!/bin/bash
#Youtube-DL DASH Video and Audio merging script
#Written by QuidsUp
#Edited by Christoph Korn
# Modifié par Anonyme
File1New=video.mp4
File2New=audio.m4a
URL=$1
if [ -z $URL ]; then
echo "Usage: youtube url"
exit
fi
#Find what quality of videos are available
youtube-dl -F $URL
echo
echo -n "Quality for Video (default 137): "
read Qual1
echo -n "Quality for Audio (default 140): "
read Qual2
#Set values if user has just pressed Return without typing anything
if [ -z $Qual1 ]; then
Qual1="137"
fi
if [ -z $Qual2 ]; then
Qual2="140"
fi
#Set filenames from output of youtube-dl
File1=$(youtube-dl --get-filename -f $Qual1 $URL)
File2=$(youtube-dl --get-filename -f $Qual2 $URL)
echo $File1
echo $File2
Out=${File1:0:${#File1}-16}".mp4"
echo $Out
#Download Video file with First Quality Setting
youtube-dl -f $Qual1 $URL
if [[ ! -f $File1 ]]; then
echo
echo "Error video file not downloaded"
exit
fi
mv "$File1" "$File1New"
#Download Audio file with Second Quality Setting
youtube-dl -f $Qual2 $URL
if [[ ! -f $File2 ]]; then
echo
echo "Error audio file not downloaded"
exit
fi
mv "$File2" "$File2New"
File1=$File1New
File2=$File2New
#Merge Audio and Video with avconv
#Delete -threads 0 if you have a Single Core CPU
echo
echo "Combining Audio and Video files with FFMpeg"
avconv -i "$File1" -i "$File2" -c copy -threads 0 "$Out"
if [[ -f $Out ]]; then
echo
echo "File" $Out "created"
else
echo
echo "Error Unable to combine Audio and Video files with FFMpeg"
exit
fi
#Remove old Files
#rm "$File1"
#rm "$File2"
Example:
patrick@debian:~/Bureau$ ./youtube https://www.youtube.com/watch?v=v2AC41dglnM
[youtube] v2AC41dglnM: Downloading webpage
[youtube] v2AC41dglnM: Extracting video information
[youtube] v2AC41dglnM: Downloading js player en_US-vflJuImhV
[youtube] v2AC41dglnM: Downloading DASH manifest
[info] Available formats for v2AC41dglnM:
format code extension resolution note
140 m4a audio only DASH audio 129k , m4a_dash container, aac @128k (44100Hz), 4.48MiB
171 webm audio only DASH audio 130k , audio@128k (44100Hz), 4.39MiB
141 m4a audio only DASH audio 255k , m4a_dash container, aac @256k (44100Hz), 8.89MiB
160 mp4 192x144 DASH video 111k , 15fps, video only, 3.80MiB
278 webm 192x144 DASH video 157k , webm container, VP9, 1fps, video only, 3.11MiB
133 mp4 320x240 DASH video 250k , 30fps, video only, 8.52MiB
242 webm 320x240 DASH video 251k , 1fps, video only, 7.42MiB
243 webm 480x360 DASH video 473k , 1fps, video only, 13.91MiB
134 mp4 480x360 DASH video 626k , 30fps, video only, 19.00MiB
244 webm 640x480 DASH video 938k , 1fps, video only, 27.87MiB
135 mp4 640x480 DASH video 1142k , 30fps, video only, 37.87MiB
17 3gp 176x144
36 3gp 320x240
5 flv 400x240
43 webm 640x360
18 mp4 640x360 (best)
Quality for Video (default 137): 18
Quality for Audio (default 140): 141
AC_DC - Thunderstruck-v2AC41dglnM.mp4
AC_DC - Thunderstruck-v2AC41dglnM.m4a
AC_DC - Thunderstruck.mp4
[youtube] v2AC41dglnM: Downloading webpage
[youtube] v2AC41dglnM: Extracting video information
[youtube] v2AC41dglnM: Downloading DASH manifest
[download] Destination: AC_DC - Thunderstruck-v2AC41dglnM.mp4
[download] 100% of 25.62MiB in 00:57
[youtube] v2AC41dglnM: Downloading webpage
[youtube] v2AC41dglnM: Extracting video information
[youtube] v2AC41dglnM: Downloading DASH manifest
[download] Destination: AC_DC - Thunderstruck-v2AC41dglnM.m4a
[download] 100% of 8.89MiB in 00:20
[ffmpeg] Correcting container in "AC_DC - Thunderstruck-v2AC41dglnM.m4a"
Combining Audio and Video files with FFMpeg
avconv version 11.3-6:11.3-1, Copyright (c) 2000-2014 the Libav developers
built on Mar 13 2015 23:08:20 with gcc 4.9.2 (Debian 4.9.2-10)
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'video.mp4':
Metadata:
major_brand : mp42
minor_version : 0
compatible_brands: isommp42
creation_time : 2015-04-21 04:43:37
Duration: 00:04:52.29, start: 0.000000, bitrate: 735 kb/s
Stream #0.0(und): Video: h264 (Constrained Baseline), yuv420p, 480x360 [PAR 1:1 DAR 4:3], 636 kb/s, 29.97 fps, 30k tbn, 59.94 tbc (default)
Metadata:
creation_time : 1970-01-01 00:00:00
Stream #0.1(eng): Audio: aac, 44100 Hz, stereo, fltp, 96 kb/s (default)
Metadata:
creation_time : 2015-04-21 04:43:38
Input #1, mov,mp4,m4a,3gp,3g2,mj2, from 'audio.m4a':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2mp41
creation_time : 2015-04-21 04:40:32
encoder : Lavf56.1.0
Duration: 00:04:52.33, start: 0.000000, bitrate: 256 kb/s
Stream #1.0(und): Audio: aac, 44100 Hz, stereo, fltp, 253 kb/s (default)
Metadata:
creation_time : 2015-04-21 04:40:32
Output #0, mp4, to 'AC_DC - Thunderstruck.mp4':
Metadata:
major_brand : mp42
minor_version : 0
compatible_brands: isommp42
creation_time : 2015-04-21 04:43:37
encoder : Lavf56.1.0
Stream #0.0(und): Video: libx264, yuv420p, 480x360 [PAR 1:1 DAR 4:3], q=2-31, 636 kb/s, 30k tbn, 30k tbc (default)
Metadata:
creation_time : 1970-01-01 00:00:00
Stream #0.1(eng): Audio: libvo_aacenc, 44100 Hz, stereo, 96 kb/s (default)
Metadata:
creation_time : 2015-04-21 04:43:38
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Stream #0:1 -> #0:1 (copy)
Press ctrl-c to stop encoding
frame= 8760 fps= 0 q=-1.0 Lsize= 26313kB time=292.26 bitrate= 737.6kbits/s
video:22719kB audio:3426kB other streams:0kB global headers:0kB muxing overhead: 0.645181%
File AC_DC - Thunderstruck.mp4 created
patrick@debian:~/Bureau$
Dernière modification par Anonyme (07-05-2015 14:02:39)
Paquet construit : smtube_15.5.7_amd64.deb
Résultat :
Voilà, si ça peut aider
Par contre, pour charger des vidéos, utiliser le script plus haut.
Surtout pour les 1080P
Dernière modification par Anonyme (07-05-2015 17:35:45)
Dernière modification par Pkadd (13-05-2015 12:43:02)
Ordinateur de bureau
Processeur: Intel(R) Core(TM)2 Duo CPU E6750 2.66GHz
Mémoire: 4 GIGS
Carte graphique: Intel Corporation 82Q35 Express (rev 02) (prog-if 00 [VGA controller])
Hors ligne