
Recherche avancée
Médias (1)
-
Bug de détection d’ogg
22 mars 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Video
Autres articles (53)
-
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs -
L’utiliser, en parler, le critiquer
10 avril 2011La première attitude à adopter est d’en parler, soit directement avec les personnes impliquées dans son développement, soit autour de vous pour convaincre de nouvelles personnes à l’utiliser.
Plus la communauté sera nombreuse et plus les évolutions seront rapides ...
Une liste de discussion est disponible pour tout échange entre utilisateurs. -
Création définitive du canal
12 mars 2010, parLorsque votre demande est validée, vous pouvez alors procéder à la création proprement dite du canal. Chaque canal est un site à part entière placé sous votre responsabilité. Les administrateurs de la plateforme n’y ont aucun accès.
A la validation, vous recevez un email vous invitant donc à créer votre canal.
Pour ce faire il vous suffit de vous rendre à son adresse, dans notre exemple "http://votre_sous_domaine.mediaspip.net".
A ce moment là un mot de passe vous est demandé, il vous suffit d’y (...)
Sur d’autres sites (10685)
-
Using Mencoder to Convert Sequence of Images Sorted Numerically to Video
7 décembre 2017, par txizzleI want to use
mencoder
to convert a sequence of PNG files to video. The PNG files are named likefile1.png, file2.png, ... file1000.png
. However, if I run this :mencoder mf://*.png -mf fps=25 -ovc copy -oac copy output.avi
The resulting video will not stitch together the frames in the correct order (correct : 1,2,3,.... incorrect : 1, 10, 100, ...). Answers to a similar question suggest that I can manually input the range of frames to have mencoder use the correct numerical order :
mencoder mf://file{1..1000}.png -mf fps=25 -ovc copy -oac copy output.avi
or to manually sort the files with something like
ls -v
and then save the results to a list (say,list.txt
), and then pass that intomencoder
:mencoder mf://@list.txt -mf fps=25 -ovc copy -oac copy output.avi
However, my question is : Is there a way to do this in a single command without specifying the last frame ?
Ideally, I would want an equivalent to
mf://file*.png
that uses a numerical sorting as opposed to the default sorting. For example,ffmpeg
has the option to specify input files likefile%d.png
, which would order the files numerically.Thanks !
-
Displaying progress while working on FFMpegConverter ?
1er novembre 2017, par GreenRoofDuring a part of my project, I should download video data and audio data of a youtube link and merge them using
NReco.VideoConverter
. So this here is my code :public class Download {
public NReco.VideoConverter.FFMpegConverter ffMpeg;
public BackgroundWorker bgWorker;
public Download (BackgroundWorker bgWorker) {
this.BgWorker = BgWorker;
var ffMpeg = new NReco.VideoConverter.FFMpegConverter();
ffMpeg.ConvertProgress += (s, e) => ReportProgress(Convert.ToInt64(e.Processed.TotalSeconds), Convert.ToInt64(e.TotalDuration.TotalSeconds));
}
public MergeData() {
// Video data and Audio data are downloaded to tempVidPath and tempAudPath.
ffMpeg.Invoke(String.Format("-i \"{0}\" -i \"{1}\" -y -c copy \"{2}\"", tempVidPath, tempAudPath, targetPath));
}
public ReportProgress(long part, long total) {
bgWorker.ReportProgress(0, new string[] {part.ToString(), total.ToString()});
}
}
public partial class App : Form {
//**omit
public void Execution() {
bgWorker = new BackgroundWorker(); // bgWorker is already defined in Designer class.
bgWorker.WorkerReportsProgress = true;
Download Dnld = new Download(bgWorker);
bgWorker.ProgressChanged += (s, e) => {
string[] arr = ((System.Collections.IEnumerable)e.UserState).Cast().Select(x => x.ToString()).ToArray();
progBar.Maximum = Int64.Parse(arr[1]);
progBar.Value = Int64.Parse(arr[0]);
};
bgWorker.DoWork += (s, e) => {
Dnld.MergeData()
}
}
}Here, I have no idea how to keep
progBar
to track the merging process while two files are being merged. Is there any method likeWebClinet.DownloadFileAsync
so I can get progress data from the thread ?** I didn’t write unnecessary codes so codes may complicated and inefficient. But there are much more codes so please understand that problems. :)
-
Merge commit 'ecc5c4db2dd3a0f328d95df89daa59f78b4b2810'
30 octobre 2017, par James Almer