
Recherche avancée
Médias (1)
-
Revolution of Open-source and film making towards open film making
6 octobre 2011, par
Mis à jour : Juillet 2013
Langue : English
Type : Texte
Autres articles (82)
-
Des sites réalisés avec MediaSPIP
2 mai 2011, parCette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page. -
Support de tous types de médias
10 avril 2011Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)
-
Supporting all media types
13 avril 2011, parUnlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)
Sur d’autres sites (7867)
-
Batch Script to Download Video with youtube-dl and Convert with FFmpeg
24 octobre 2019, par Matt McManisI’m trying to
- Using a single
batch
script to - Download an
mp4
video using youtube-dl - Save the video’s original title to a batch variable
- Convert the video to
webm
with FFmpeg
I want to keep the original title, so it needs to read the title with
youtube-dl
, save it to a variable, and use that variable forFFmpeg
input/output filename.CMD Batch
1. Download Video
youtube-dl -f best "https://www.youtube.com/watch?v=TWNhqCHw0qc" -o "C:\Users\Matt\Downloads\%%(title)s.mp4" --merge-output-format mp4
2. Download Video using Loop
This is used to save the title to a variable
%%a
.for /f "delims=" %%a in ('youtube-dl -f best "https://www.youtube.com/watch?v=TWNhqCHw0qc" -o @"C:\Users\Matt\Downloads\%%(title)s.mp4" --merge-output-format mp4') do (echo example)
3. Final Script
Download Video, Save Title, Convert with FFmpegSorted
for /f "delims=" %%a in ('
youtube-dl
-f best "https://www.youtube.com/watch?v=TWNhqCHw0qc"
-o @"C:\Users\Matt\Downloads\%%(title)s.mp4"
--merge-output-format mp4
')
do (ffmpeg -y
-i "C:\Users\Matt\Downloads\%%a.mp4"
-c:v libvpx -b:v 1300K -crf 16 -pix_fmt yuv420p
-map 0:v:0? -sn
-c:a libvorbis -q:a 6 -ac 2 -map 0:a:0?
-f webm
"C:\Users\Matt\Downloads\%%a.webm"
)Inline
for /f "delims=" %%a in ('youtube-dl -f best "https://www.youtube.com/watch?v=TWNhqCHw0qc" -o @"C:\Users\Matt\Downloads\%%(title)s.mp4" --merge-output-format mp4') do (ffmpeg -y -i "C:\Users\Matt\Downloads\%%a.mp4" -c:v libvpx -b:v 1300K -crf 16 -pix_fmt yuv420p -map 0:v:0? -sn -c:a libvorbis -q:a 6 -ac 2 -map 0:a:0? -f webm "C:\Users\Matt\Downloads\%%a.webm")
Error
Before the script can ever reach
FFmpeg
,youtube-dl
fails to download the file. It says the file has already been downloaded, even when there is no file in the directory.[download] @C#\Users\Matt\Downloads\Color Balloons.mp4 has already
been downloaded - Using a single
-
download compressed video from m3u8 link
6 juin 2020, par alsaibii'm making a python script to download videos from a site



it's working perfectly but some videos are m3u8



the links are something like this



https:\/\/dl.v.vrv.co\/evs\/5e915ac2127515861ea2563ca4e3eb25\/assets\/jpy1j4wghs4eepk_,1605371.mp4,1605379.mp4,1605363.mp4,1605355.mp4,1605347.mp4,.urlset\/master.m3u8?Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cCo6Ly9kbC52LnZydi5jby9ldnMvNWU5MTVhYzIxMjc1MTU4NjFlYTI1NjNjYTRlM2ViMjUvYXNzZXRzL2pweTFqNHdnaHM0ZWVwa18sMTYwNTM3MS5tcDQsMTYwNTM3OS5tcDQsMTYwNTM2My5tcDQsMTYwNTM1NS5tcDQsMTYwNTM0Ny5tcDQsLnVybHNldC9tYXN0ZXIubTN1OCIsIkNvbmRpdGlvbiI6eyJEYXRlTGVzc1RoYW4iOnsiQVdTOkVwb2NoVGltZSI6MTU5MTU1ODg4Nn19fV19&Signature=S7bDaUsOAplp437a-2hBIiED-jgwGCHups-cCHFK0etbVwn5O0Lx09~yiPvOnL9kae3AHFbPnlduxwotDDzKUMy01Swbudjz~HLwR26Lp1fb1vKAhZDgM1LJPkBFuQSbCYfN4cKG2aihTfbxNy3S63sUdQJouVjxwgkIj069kIjTmj7GsMfFgqrvYZja~RUOvF7n4evA0iisKbzTio4gB3gGYBhqOe~rh1rSbqGsO92U1AiflVGETpgo~z0p89agQGK4LHamKEWQUF2vITqYA2WXKYV1qNNg5JJ3ZDJUp3L3qE2zCBige1qw9UYtxr7jvg-PhZh4Esr07xS5G7UfQA__&Key-Pair-Id=DLVR




i'm trying to download mp4 or mkv file to watch the video offline



i tried using ffmpeg and youtube-dl



they only work after changing
\/
in the link to//



ffmpeg command i used
ffmpeg -i "Link" -bsf:a aac_adtstoasc -vcodec copy -c copy -crf 50 file.mp4



that's not the problem



they download the full raw video file which is around 1.5GB



but in the site watching the video take maximum 250MB at highest quality



and the download is really slow for some reason



it take almost 1 hour to download 1 video



and at the end video don't open after finish downloading



vlc say it's corrupted



isn't there is a way to convert the link to direct link to compressed file link ?



the site take 200MB to watch the video and loading the video is fast but downloading it from the link above take 1.5GB and it's soo slow


-
Anomalie #4598 (Fermé) : PHP 8 : Resource vs GdImage object problem.
4 novembre 2020GD ne retourne plus une "resource", mais une instance de GdImage.
Ça fait planter une partie des filtres images dans SPIP.
Notamment s’il y a des tests avecis_resource()
Exemple :
Warning : Trying to access array offset on value of type bool in [...]ecrire/inc/filtres_images_lib_mini.php on line 1607 à 1610
Qui provient de grosso modo :
[(#CHEMINun_fichier.png|image_applatirico)]Docs¶
- https://php.watch/versions/8.0/gdimage
- La correction chez WP : https://core.trac.wordpress.org/ticket/50833Avec la solution proposée :
Note that in PHP 7.2 and older, instanceOf operator requires an object. If you need to make your code function across PHP versions older than 7.3 through PHP 8.0, you will need an additional is_object() check :
- if (is_resource($image))
+ if (is_resource($image) || (is_object($image) && $image instanceOf \GdImage))