
Recherche avancée
Autres articles (74)
-
Creating farms of unique websites
13 avril 2011, parMediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...) -
MediaSPIP : Modification des droits de création d’objets et de publication définitive
11 novembre 2010, parPar défaut, MediaSPIP permet de créer 5 types d’objets.
Toujours par défaut les droits de création et de publication définitive de ces objets sont réservés aux administrateurs, mais ils sont bien entendu configurables par les webmestres.
Ces droits sont ainsi bloqués pour plusieurs raisons : parce que le fait d’autoriser à publier doit être la volonté du webmestre pas de l’ensemble de la plateforme et donc ne pas être un choix par défaut ; parce qu’avoir un compte peut servir à autre choses également, (...) -
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
Sur d’autres sites (7261)
-
Compress the video using ffmpeg when upload using php form ?
7 mars 2018, par kunalI am using laravel famework and i am using ffmpeg PHP library. If have not found any good links for video compression using ffmpeg. There are two cases of compression.
1) Video Already exists in folder - this i have done already
2) Video Upload through Form - this i am not able to do :(Lets i am sharing 1st case code :-
Suppose my video is 13Mb and below code compressed to 4.5Mb (running fine)
$inputVideo = public_path('input/airplane_flight_airport_panorama_1080.mp4');
$outputVideo = public_path('uploads/output.mp4');
exec("ffmpeg -i $inputVideo -b 1000000 $outputVideo"); // this compressing or resize the videoNow second case is uploading using form :-
<form method="post" action="{{url('/api/upload-test-video')}}" enctype="multipart/form-data">
<input type="file" /><br />
<input type="submit" value="Submit" />
</form>Now when i go to function :-
public function uploadTestVideo(Request $request){
echo "<pre>"; print_r($_FILES);
// now in this function i wnat to compress the video
}
</pre>Note :- I don’t want to upload video in some folder and after that get the video and compress the video. Please help how can i resolve this problem. Thanks in advance :)
-
how to merge Audio and video in C# windows form other than ffmpeg
31 janvier 2018, par Tahir MullaIm trying to merge audio and video using ffmpeg following is my code,
problem is it take too much time for long video,is there any other way of merging audio and video filesstring Path_FFMPEG = Application.StartupPath + "\\ffmpeg.exe";
string Wavefile = applicationPath + @"\Vizipp_Video_" + currentDateTime + ".wav"; ;
string videoFile = applicationPath + @"\Vizipp_Video_" + currentDateTime + ".avi";
string strResult = applicationPath + @"\Vizipp_Video_" + currentDateTime + ".mpg";
System.Diagnostics.Process proc = new System.Diagnostics.Process();
proc.StartInfo.Arguments = string.Format("-i {0} -i {1} {2}", Wavefile, videoFile, strResult);
proc.StartInfo.UseShellExecute = false;
proc.StartInfo.CreateNoWindow = false;
proc.StartInfo.RedirectStandardOutput = true;
proc.StartInfo.RedirectStandardError = true;
proc.StartInfo.FileName = Path_FFMPEG;
proc.Start();
//string StdOutVideo = proc.StandardOutput.ReadToEnd();
//string StdErrVideo = proc.StandardError.ReadToEnd();
MessageBox.Show("Please wait while we are processing on your video recording...", "Vizipp", MessageBoxButtons.OK, MessageBoxIcon.Information); -
Connect external cameras to iOS and decompress to a usable form
27 septembre 2017, par Ping ChenI want to create a 2 camera setup which can send 1 of the camera views out as an RTMP stream depending on the motion intensity detected. The chosen camera view can change if motion intensity on the views changes.
I imagine that I could use an iPhone/iPad as encoding/streaming hub as well as 1 of the cameras. And connect a WiFi camera to the iPad/iPhone to feed the 2nd camera view.
My goals for the iOS side are :
- Connect with a WiFi camera on the local network
- Decode the data and run motion intensity detection on the WiFi camera feed AND the iPhone/iPad’s own camera feed with Brad Larson’s GPUImage framework https://github.com/BradLarson/GPUImage
- Stream out the chosen camera view. depending on motion detected
Larson’s GPUImage framework works with an AVCaptureSession subclass. I’m only familiar with AVFoundation objects, but am a complete noob with it comes to VideoToolbox and some of the lower level iOS video stuff. Through googling, I kind of know that VTDecompressionSession is what I’d get from the WiFi camera. I have no clue how I can manipulate that to a usable form for my purposes.
I’ve dug through stackoverflow answers such as : https://stackoverflow.com/a/29525001/7097455
Very informative, but maybe I don’t even know to ask the correct questions