
Recherche avancée
Autres articles (65)
-
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 -
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 -
HTML5 audio and video support
13 avril 2011, parMediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
For older browsers the Flowplayer flash fallback is used.
MediaSPIP allows for media playback on major mobile platforms with the above (...)
Sur d’autres sites (9172)
-
pthread_frame : use the AVFrame API properly.
9 novembre 2013, par Anton Khirnov -
Issue when concatenating mkvs using ffmpeg : How to set timestamps properly ?
29 janvier 2017, par a-goonieI’ve attempted to concatenate 2 mkv videos with ffmpeg, using the following commands :
ffmpeg -i file-01.mkv -f mpegts -c copy -bsf:v h264_mp4toannexb file-01.mpeg.ts
ffmpeg -i file-02.mkv -f mpegts -c copy -bsf:v h264_mp4toannexb file-02.mpeg.ts
ffmpeg -isync -i "concat:file-01.mpeg.ts|file-02.mpeg.ts" -f matroska
-c copy output.mkvHowever, I receive the following error :
[matroska @ 0x7fc72a000600] Timestamps are unset in a packet for stream 0. This is deprecated and will stop working in the future. Fix your code to set the timestamps properly
[matroska @ 0x7fc72a000600] Can’t write packet with unknown timestamp
av_interleaved_write_frame() : Invalid argumentHow do I go about setting the timestamps ?
-
Need help working ffmpeg in php
15 mars 2015, par Lukas KaneI am working on a video uploading site. I have never converted videos from other users though. All signs point towards using ffmpeg, but I am honestly lost. I have installed it properly within my htdocs folder in my xampp folder, and I have the upload file php setup correctly, because it does upload the video file and moves the file to the right folder. I do have what I would think to be working ffmpeg code within the php code, but it is not working. I need to make all the files .mp4 no matter what the input file format is. I would appreciate someone helping to figure out my problem so much.
"htdocs\new-video\upload\index.php" is where I have the code for ffmpeg and uploading the file. The htdocs\phpffmpeg\ folder is just the regular structure of phpffmpeg and ffmpeg installation.
This is the code for the uploading and ffmpeg exec.
$name = $_FILES["file"]["name"];
$temp = explode(".", $_FILES["file"]["name"]);
$extension = end($temp);
move_uploaded_file($_FILES["file"]["tmp_name"],
"(my file location that I move the file to)" . $_FILES["file"]["name"]);
shell_exec("ffmpeg -i $name.$extension -b 1500k -vcodec libx264 -vpre slow -vpre baseline -g 30 $name.mp4");Like I said, the uploading and moving to folder works just fine. It is the not converting that is the problem. All links, tips, and information are greatly appreciated. Hope everyone has a great day.