
Recherche avancée
Autres articles (57)
-
MediaSPIP version 0.1 Beta
16 avril 2011, parMediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...) -
MediaSPIP 0.1 Beta version
25 avril 2011, parMediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
The zip file provided here only contains the sources of MediaSPIP in its standalone version.
To get a working installation, you must manually install all-software dependencies on the server.
If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...) -
Amélioration de la version de base
13 septembre 2013Jolie sélection multiple
Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)
Sur d’autres sites (7307)
-
How to stream my webpage to Youtube on Debian 10 Server
7 février 2021, par MASSKADo you have an idea how to stream a webpage to Youtube on Debian 10 Server ? Maybe we can do that with ffmpeg ?


Thanks for your help


-
How to convert a script from youtube-dl
16 janvier 2020, par danilshikThere is a bash/batch file script :
ffmpeg -i `youtube-dl https://www.twitch.tv/zero` -vf fps=fps=60, scale=1920x1080 -c:v libx264 -b:v 500k -preset superfast -c:a copy -f segment -segment_time 60 test.mp4
The script is not mine, but it allows you to record video with a constant frame rate of parts. Unfortunately in cmd it does not work for me. Already tried everything, I do not know what the error is.
I am getting
No such file or directory
.Tried
'youtube-dl https://www.twitch.tv/zero'
, the same errorI tried
"youtube-dl https://www.twitch.tv/zero"
, error :youtube-dl https://www.twitch.tv/zero: Invalid argument
What am I doing wrong ? The author assures that he works on linux
Update
I tried
ffmpeg -i $ (youtube-dl -f best -g https://www.twitch.tv/zero) ....
The same errorUpdate 2
Why the video size exceeds 500 Mb ? What am I doing wrong ?
Code
cls && @echo off & setlocal enableextensions enabledelayedexpansion
set "_tag_00=https://www.twitch.tv/avagg"
set "_tag_01=--ignore-errors --abort-on-error --ignore-config --flat-playlist --geo-bypass "
set "_tag_02=--restrict-filenames --no-part --no-cache-dir --write-thumbnail --prefer-ffmpeg "
set "_tag_03=--ffmpeg-location .\ --postprocessor-args -i "%%(title)s.%%(ext)s" -vf fps^=fps^=60^,"
set "_tag_04=scale^=1920x1080 -c:v libx264 -b:v 500k -preset superfast -c:a copy -f segment -segment_time "
set "_tag_05=60 %%^(title^)s.mp4"
youtube-dl "!_tag_00!" -f "bestvideo[ext=mp4]+bestaudio[ext=m4a]/best[ext=mp4]/best" -o "%%^(title^)s.%%^(ext^)s" !_tag_1!!_tag_2!!_tag_3!!_tag_4!!_tag_5!
PauseUpdate 3
-
How to generate valid live DASH for YouTube ?
24 septembre 2019, par Matt HensleyI am attempting to implement YouTube live video ingestion via DASH as documented at :
https://developers.google.com/youtube/v3/live/guides/encoding-with-dashTo start, I am exercising the YouTube API manually and running ffmpeg to verify required video parameters before implementing in my app.
Created a new livestream with
liveStreams.insert
and these values for thecdn
field :"cdn": {
"frameRate": "variable",
"ingestionType": "dash",
"resolution": "variable"
}Created a broadcast via
liveBroadcasts.insert
, then usedliveBroadcasts.bind
to bind the stream to the broadcast.Then I grabbed the
ingestionInfo
from the stream and ran this ffmpeg command, copying in theingestionAddress
with thestreamName
:ffmpeg -stream_loop -1 -re -i mov_bbb.mp4 \
-loglevel warning \
-r 30 \
-g 60 \
-keyint_min 60 \
-force_key_frames "expr:eq(mod(n,60),0)" \
-quality realtime \
-map v:0 \
-c:v libx264 \
-b:v:0 800k \
-map a:0 \
-c:a aac \
-b:a 128k \
-strict -2 \
-f dash \
-streaming 1 \
-seg_duration 2 \
-use_timeline 0 \
-use_template 1 \
-window_size 5 \
-extra_window_size 10 \
-index_correction 1 \
-adaptation_sets "id=0,streams=v id=1,streams=a" \
-dash_segment_type mp4 \
-method PUT \
-http_persistent 1 \
-init_seg_name "dash_upload?cid=${streamName}&copy=0&file=init$RepresentationID$.mp4" \
-media_seg_name "dash_upload?cid=${streamName}&copy=0&file=media$RepresentationID$$Number$.mp4" \
'https://a.upload.youtube.com/dash_upload?cid=${streamName}&copy=0&file=dash.mpd'It appears all the playlist updates and video segments upload fine to YouTube - ffmpeg does not report any errors. However the
liveStream
status always showsnoData
, and the YouTube Live Control Room doesn’t show the stream as receiving data.The DASH output, when written to files play backs fine in this test player. The playlist output doesn’t match exactly the samples, but does have the required tags per the "MPD Contents" section in the documentation.
Are my ffmpeg arguments incorrect, or does YouTube have additional playlist format requirements that are not documented ?