
Recherche avancée
Autres articles (51)
-
Personnaliser les catégories
21 juin 2013, parFormulaire de création d’une catégorie
Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
On peut modifier ce formulaire dans la partie :
Administration > Configuration des masques de formulaire.
Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...) -
Emballe médias : à quoi cela sert ?
4 février 2011, parCe plugin vise à gérer des sites de mise en ligne de documents de tous types.
Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ; -
Installation en mode ferme
4 février 2011, parLe mode ferme permet d’héberger plusieurs sites de type MediaSPIP en n’installant qu’une seule fois son noyau fonctionnel.
C’est la méthode que nous utilisons sur cette même plateforme.
L’utilisation en mode ferme nécessite de connaïtre un peu le mécanisme de SPIP contrairement à la version standalone qui ne nécessite pas réellement de connaissances spécifique puisque l’espace privé habituel de SPIP n’est plus utilisé.
Dans un premier temps, vous devez avoir installé les mêmes fichiers que l’installation (...)
Sur d’autres sites (7068)
-
Download highest quality audio from YouTube using youtube-dl
3 juin 2020, par darvastI'm using this command :



youtube-dl -f bestaudio --extract-audio --audio-format "opus" --add-metadata -o "%(playlist_index)s-%(title)s.%(ext)s" "https://www.youtube.com/playlist?list=OLAK5uy_lWRq5MhPNthDDe1nYXtlekDA40wtrpKE0"




Here's the available streams :



[info] Available formats for 6t1dErgAglk:
format code extension resolution note
249 webm audio only tiny 58k , opus @ 50k (48000Hz), 416.34KiB
250 webm audio only tiny 72k , opus @ 70k (48000Hz), 516.52KiB
140 m4a audio only tiny 130k , m4a_dash container, mp4a.40.2@128k (44100Hz), 1.06MiB
251 webm audio only tiny 131k , opus @160k (48000Hz), 923.79KiB
278 webm 140x144 144p 32k , webm container, vp9, 25fps, video only, 159.74KiB
160 mp4 140x144 144p 54k , avc1.4d400b, 25fps, video only, 278.62KiB
242 webm 232x240 240p 71k , vp9, 25fps, video only, 321.29KiB
134 mp4 350x360 360p 96k , avc1.4d4015, 25fps, video only, 303.75KiB
133 mp4 232x240 240p 124k , avc1.4d400c, 25fps, video only, 651.46KiB
243 webm 350x360 360p 126k , vp9, 25fps, video only, 545.77KiB
135 mp4 466x480 360p 174k , avc1.4d401e, 25fps, video only, 534.97KiB
244 webm 466x480 360p 215k , vp9, 25fps, video only, 1003.20KiB
136 mp4 698x720 720p 305k , avc1.4d401f, 25fps, video only, 942.76KiB
137 mp4 1048x1080 1080p 494k , avc1.640020, 25fps, video only, 1.49MiB
247 webm 698x720 720p 593k , vp9, 25fps, video only, 1.97MiB
248 webm 1048x1080 1080p 768k , vp9, 25fps, video only, 3.81MiB
18 mp4 350x360 360p 213k , avc1.42001E, 25fps, mp4a.40.2@ 96k (44100Hz), 1.73MiB
22 mp4 698x720 720p 242k , avc1.64001F, 25fps, mp4a.40.2@192k (44100Hz) (best)




When I run the above command it seems to be converting m4a to opus : https://prnt.sc/st2l8u



I'm wondering why it's doing that instead of getting it from the webm container ?


-
unable to download youtube video portion via extracted video URL from youtube-dl and ffmpeg
29 juillet 2020, par karmaI've read the following link, and did :


youtube-dl --rm-cache-dir



But it still give me 403 forbidden.


This is my process :


youtube-dl -g https://www.youtube.com/watch?v=kGDgGsrA78s



It gave me a result like this :


https://r2---sn-uigxxi0ujipnvo-q2ne.googlevideo.com/videoplayback?expire=1596034295&ei=lzghX6SHKMOD8QPlx5SQBw&ip=223.255.228.87&id=o-AK6cYo88zJXe5Xb4y1QsXspuRnVCy-zPFpMaHcAaTQ-_&itag=137&aitags=133%2C134%2C135%2C136%2C137%2C160%2C242%2C243%2C244%2C247%2C248%2C278&source=youtube&requiressl=yes&mh=DA&mm=31%2C29&mn=sn-uigxxi0ujipnvo-q2ne%2Csn-npoe7nlz&ms=au%2Crdu&mv=m&mvi=2&pl=24&initcwndbps=173750&vprv=1&mime=video%2Fmp4&gir=yes&clen=456970484&dur=1389.955&lmt=1521825834085900&mt=1596012582&fvip=5&keepalive=yes&fexp=23883098&c=WEB&sparams=expire%2Cei%2Cip%2Cid%2Caitags%2Csource%2Crequiressl%2Cvprv%2Cmime%2Cgir%2Cclen%2Cdur%2Clmt&sig=AOq0QJ8wRgIhAMvZrHYvC1YrkvtARzhjyD8dnMnlefobGrOFM1rX6QZPAiEAqqeIsKdZ19y-SlHf-l8YwTx2yYbo1p5sFlVoC87oXEQ%3D&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AG3C_xAwRAIgAIwAVMPrcMhAL476uN_ZzWj8vKPGGW58KCpHBYBsKeICICRgVWgthNvgbGl8VgQwscjJ0n8ib4XBNjRxRgSg2T5r&ratebypass=yes
https://r2---sn-uigxxi0ujipnvo-q2ne.googlevideo.com/videoplayback?expire=1596034295&ei=lzghX6SHKMOD8QPlx5SQBw&ip=223.255.228.87&id=o-AK6cYo88zJXe5Xb4y1QsXspuRnVCy-zPFpMaHcAaTQ-_&itag=140&source=youtube&requiressl=yes&mh=DA&mm=31%2C29&mn=sn-uigxxi0ujipnvo-q2ne%2Csn-npoe7nlz&ms=au%2Crdu&mv=m&mvi=2&pl=24&initcwndbps=173750&vprv=1&mime=audio%2Fmp4&gir=yes&clen=22077901&dur=1390.039&lmt=1521818817521456&mt=1596012582&fvip=5&keepalive=yes&fexp=23883098&c=WEB&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cvprv%2Cmime%2Cgir%2Cclen%2Cdur%2Clmt&sig=AOq0QJ8wRQIhANHMaZK4jYg7p4t2dID3d21VRv18I1nhBtXqYRSZo0C7AiAEjO8LwjhXeNQiKqdiZFQ_DsHuXT4rgvPnNQhaDGj9hg%3D%3D&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AG3C_xAwRAIgAIwAVMPrcMhAL476uN_ZzWj8vKPGGW58KCpHBYBsKeICICRgVWgthNvgbGl8VgQwscjJ0n8ib4XBNjRxRgSg2T5r&ratebypass=yes



The result gave me two URL, so I only copy the first line and since what I want is just to copy a few minutes video portion - so in ffmpeg :


ffmpeg -ss 00:00:15.00 -i https://r2---sn-uigxxi0ujipnvo-q2ne.googlevideo.com/videoplayback?expire=1596034295&ei=lzghX6SHKMOD8QPlx5SQBw&ip=223.255.228.87&id=o-AK6cYo88zJXe5Xb4y1QsXspuRnVCy-zPFpMaHcAaTQ-_&itag=140&source=youtube&requiressl=yes&mh=DA&mm=31%2C29&mn=sn-uigxxi0ujipnvo-q2ne%2Csn-npoe7nlz&ms=au%2Crdu&mv=m&mvi=2&pl=24&initcwndbps=173750&vprv=1&mime=audio%2Fmp4&gir=yes&clen=22077901&dur=1390.039&lmt=1521818817521456&mt=1596012582&fvip=5&keepalive=yes&fexp=23883098&c=WEB&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cvprv%2Cmime%2Cgir%2Cclen%2Cdur%2Clmt&sig=AOq0QJ8wRQIhANHMaZK4jYg7p4t2dID3d21VRv18I1nhBtXqYRSZo0C7AiAEjO8LwjhXeNQiKqdiZFQ_DsHuXT4rgvPnNQhaDGj9hg%3D%3D&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AG3C_xAwRAIgAIwAVMPrcMhAL476uN_ZzWj8vKPGGW58KCpHBYBsKeICICRgVWgthNvgbGl8VgQwscjJ0n8ib4XBNjRxRgSg2T5r&ratebypass=yes -t 00:00:10.00 -c copy out.mp4



But then the result in command prompt is like this :


ffmpeg version N-93300-g96451477b9 Copyright (c) 2000-2019 the FFmpeg developers
 built with gcc 8.2.1 (GCC) 20190212
 configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-amf --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt
 libavutil 56. 26.100 / 56. 26.100
 libavcodec 58. 47.103 / 58. 47.103
 libavformat 58. 26.101 / 58. 26.101
 libavdevice 58. 6.101 / 58. 6.101
 libavfilter 7. 48.100 / 7. 48.100
 libswscale 5. 4.100 / 5. 4.100
 libswresample 3. 4.100 / 3. 4.100
 libpostproc 55. 4.100 / 55. 4.100
[https @ 0000020137c895c0] HTTP error 403 Forbidden
https://r2---sn-uigxxi0ujipnvo-q2ne.googlevideo.com/videoplayback?expire=1596034295: Server returned 403 Forbidden (access denied)
'ei' is not recognized as an internal or external command,
operable program or batch file.
'ip' is not recognized as an internal or external command,
operable program or batch file.
'id' is not recognized as an internal or external command,
operable program or batch file.
.... and so on....



BTW, I've also tried to copy the second URL, still 403 error.

I also tried to copy both URL, still 403 error.

On the other hand, when I tried to paste the URL into Internet Download Manager,

IDM directly recognized the URL and I can download the file via IDM.

Is there a way to resolve this ?


Any kind of respond would be greatly appreciated.

Thank you in advanced.

EDIT :
I'm very sorry for my ignorant.

It turn out I need to put apostrophe at the beginning and at the end of the URL :).

Dear moderator, please close this thread.

Thank you for you all.

-
Why do I use the header file/library + ffplay.c download from the official website of ffmpeg to make the player worse than the official ffplay ?
15 juillet 2020, par fredirty2017- 

-
I am use win10 system with a "http_url_mp4" in hand, the MIME of this file is :
video/mp4 ; codecs="mp4a.40.2,avc1.640020" ; profiles="isom,mp41,mp42".


-
I downloaded the header files, libraries, dlls, source code from https://ffmpeg.zeranoe.com/builds/ ,then :


-
Run offical "ffplay http_url_mp4", audio and video viewing is normal ;


-
I used VS2017 (the project has no special settings) to compile and link the fftools/ffplay.c,fftools/cmdutil.c and the included header files(libavcodec/libavutil and so on), libraries(such as avcodec.lib, avdevicelib, etc.), dlls(avcodec-58.dll / avformat-58.dll...), then run "myffplay http_url_mp4", The playback is stuttering, debugging found av_read_frame relative The processing cost more time, the calling frequency will be lower.


-
i found config.h only line '#define FFMPEG_CONFIGURATION "—enable-gpl"', but offical ffplay cmdline shows :
'—disable-static —enable-shared —enable-gpl —enable-version3 —enable-cuda —enable-cuvid —enable-d3d11va —enable-dxva2 —enable-libmfx —enable-nvenc —enable-avisynth —enable-bzlib —enable-fontconfig —enable-frei0r —enable-gnutls —enable-iconv —enable-libass —enable-libbluray —enable-libbs2b —enable-libcaca —enable-libfreetype —enable-libgme —enable-libgsm —enable-libilbc —enable-libmodplug —enable-libmp3lame —enable-libopencore-amrnb —enable-libopencore-amrwb —enable-libopenh264 —enable-libopenjpeg —enable-libopus —enable-librtmp —enable-libsnappy —enable-libsoxr —enable-libspeex —enable-libtheora —enable-libtwolame —enable-libvidstab —enable-libvo-amrwbenc —enable-libvorbis —enable-libvpx —enable-libwavpack —enable-libwebp —enable-libx264 —enable-libx265 —enable-libxavs —enable-libxvid —enable-libzimg —enable-lzma —enable-zlib',


-
Does the VS project need special settings or other codes ?
















-