
Recherche avancée
Autres articles (71)
-
MediaSPIP v0.2
21 juin 2013, parMediaSPIP 0.2 est la première version de MediaSPIP stable.
Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Comme pour la version précédente, 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 (...) -
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir -
Mise à disposition des fichiers
14 avril 2011, parPar défaut, lors de son initialisation, MediaSPIP ne permet pas aux visiteurs de télécharger les fichiers qu’ils soient originaux ou le résultat de leur transformation ou encodage. Il permet uniquement de les visualiser.
Cependant, il est possible et facile d’autoriser les visiteurs à avoir accès à ces documents et ce sous différentes formes.
Tout cela se passe dans la page de configuration du squelette. Il vous faut aller dans l’espace d’administration du canal, et choisir dans la navigation (...)
Sur d’autres sites (7141)
-
youtube-dl - How do I ensure that the "original" video formats are downloaded ?
25 juin 2018, par SchytheronI am building a C# GUI (Windows only) for youtube-dl where I allow the user to pick the desired video quality and framerate but I am having problems with format selection. youtube-dl sometimes downloads either the wrong video file or the wrong audio file (often it is audio) and after merging them I end up with a .mkv file because according to FFmpeg the files I am trying to merge are incompatible.
These are the format selection queries I have tried to far :
bestvideo[height<=?%height%][fps<=?%fps%]+bestaudio/best
and
public string[] qualities = { "4320", "2160", "1440", "1080", "720", "480", "360", "240", "144" };
public string[] framerates = { "60", "50", "48", "30", "24" };
private void buildFormat(int qualSkip,int fpsSkip)
{
string[] qualitiesMin = qualities.Skip(qualSkip).ToArray();
string[] frameratesMin = framerates.Skip(fpsSkip).ToArray();
format = "-f ";
foreach (string quality in qualitiesMin)
{
foreach (string framerate in frameratesMin)
{
format += "bestvideo[height=?" + quality + "][fps=?" + framerate + "]+bestaudio/";
}
}
format += "best";
}In the first one I had a problem where on some videos youtube-dl downloaded a video in a lower framerate than what I requested (for example, if I request 1080p60FPS I get 1080p30FPS). I tried to fix this in the second method by searching for the best video for all qualities and framerates that are equal to or lower than the one I picked (for example, if I pick 1080p60FPS it would look for videos from 1080p60->1080p30->720p60->720p30->...->144p30).
The second method however looks overly convoluted and stupid and another problem still remains. youtube-dl always picks the best audio quality no matter what video quality I choose. I want the audio quality to scale with the video quality (for example, if I pick 144p I want poor audio quality). There has got to be a better way.
Maybe I am explaining this poorly but I basically want youtube-dl to ALWAYS (consistently) download the exact same video and audio format as the one that is displayed in the youtube video player itself for each picked video quality (see image below). How do I do that ?
Example 1, Video and audio format codes of video in 4K (the numbers in the red circles are the format codes) :
Example 2, Video and audio format of same video but this time in 720p :
(should also pick a lower framerate video of same quality if that framerate is not available in the YouTube quality selector, for example 1080p30FPS in a 1080p60FPS video)
Thanks !
-
Revision 70d9f116fd : End of orientation zero group experiment Adds an experiment that codes an end-o
28 mars 2013, par Deb MukherjeeChanged Paths : Modify /configure Modify /vp9/common/vp9_blockd.h Modify /vp9/common/vp9_coefupdateprobs.h Modify /vp9/common/vp9_default_coef_probs.h Modify /vp9/common/vp9_entropy.c Modify /vp9/common/vp9_entropy.h Modify /vp9/common/vp9_onyxc_int.h (...)
-
Using ffmpeg to split videos into frames doesn't work
28 décembre 2018, par אבנר יעקבIn my code i’m trying to split video to frames using ffmpeg.
for this I’m using this code
experiments = ['iguazu.mp4', 'boat.mp4']
for experiment in experiments:
exp_no_ext = experiment.split('.')[0]
os.system('mkdir dump')
os.system('mkdir dump\%s' % exp_no_ext)
os.system("ffmpeg -i videos\%s dump\%s\%s%%03d.jpg" % (experiment,
exp_no_ext, exp_no_ext))So in visual studio code it’s working perfect but in visual studio community the line "os.system("ffmpeg -i videos\%s dump\%s\%s%%03d.jpg" % (experiment,
exp_no_ext, exp_no_ext))" showing error "ffmpeg is not recognized as an internal or external command".