Recherche avancée

Médias (91)

Autres articles (107)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 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 (...)

  • Problèmes fréquents

    10 mars 2010, par

    PHP et safe_mode activé
    Une des principales sources de problèmes relève de la configuration de PHP et notamment de l’activation du safe_mode
    La solution consiterait à soit désactiver le safe_mode soit placer le script dans un répertoire accessible par apache pour le site

  • Support de tous types de médias

    10 avril 2011

    Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)

Sur d’autres sites (7099)

  • Is ffmpeg using a buffer ? Why arent the filename and drawtext times matching ?

    6 octobre 2018, par Ian Rubenstein

    I am using ffmpeg to

    1) capture images from a webcam as jpeg with the timestamp in the filename and as an overlay with drawtext

    ffmpeg -s 1920x1080 -framerate 20 -i /dev/video1 -f image2 -ss 8 -s 1920x1080 -qscale:v 1 -r 1 -strftime 1 -vf setpts=.2*PTS, drawtext=fontfile=/usr/share/fonts/truetype/dejavu/DejaVuSans.ttf: text='%{localtime\:%Y-%m-%d_%T}': fontcolor=white: fontsize=24: box=1: boxcolor=black@0.5: boxborderw=5: x=(w-text_w)*.04: y=(h-text_h)*.96 /home/ian/netdrives/antares/Pictures/plant_lapse/ir/20181004/plant.%Y%m%d_%H%M%S.jpeg

    2) combine the images into a timelapse video

    C:/Users/Ian/apps/ffmpeg/bin/ffmpeg -f concat -safe 0 -i processingfilelist.ir_20181004.txt -c:v h264_nvenc -rc constqp -qp 38 -s 1920x1080 -filter:v format=yuv420p,fps=60,scale=iw/1.5:-1,yadif=0:-1:0,hqdn3d plant_lapse_ir_20181004_074451_dusk.mp4

    Its generally working, but I noticed the filenames are one frame ahead of the timestamp shown in the overlay.

    Example Image - Im not smart enough to know which is the right time, just to know that I’d like them to match. Any ideas why they don’t ?

  • PHP - Upload video convert mp4 and upload to Amazon S3

    31 octobre 2019, par Kadir Geçit

    I’m using amazon s3 as video storage for my website. I’m having problems for some videos. black screen or sound problems etc.

    I want to convert the video to mp4 format after uploading the video to my server and then upload it to amazon. Is it possible with FFMPEG ?

    I’m using this code for uploading files now :

    $file1 = $_FILES['file']['name'];
    $videoFileType = strtolower(pathinfo($file1,PATHINFO_EXTENSION));
    $file_name = sprintf('%s_%s', uniqid(),uniqid().".".$videoFileType);
    $temp_file_location = $_FILES["file"]["tmp_name"];

    require 'application/libraries/Amazon/aws-autoloader.php';
           $s3 = new Aws\S3\S3Client([
               'region'  => $amazon_region,
               'version' => 'latest',
               'credentials' => [
               'key'    => $amazon_key,
               'secret' => $amazon_secret,
               ]
           ]);    

           $result = $s3->putObject([
               'Bucket' => $amazon_bucket,
               'Key'    => $file_name,
               'SourceFile' => $temp_file_location,
               'ACL'    => 'public-read',
               'CacheControl' => 'max-age=3153600',
           ]);
               $filepath = $result['ObjectURL'] . PHP_EOL;

               echo json_encode([
                   'status' => 'ok',
                   'path' => $filepath

               ]);
  • Video Stabilization with spin product OpenCV

    28 mars 2021, par a.masri

    I'm trying to stabilize video using OpenCV, but my video is a walkaround 360 spin like this spin, but the stabilize not perfect has a shaking because the optical flow not working perfectly with the spined video

    


    can you find python code here

    


    and I'm trying to use FFmpeg but still, have the same issue,

    


    this command

    


    INPUT=$1
STB_OUTPUT=stb1.mp4

ffmpeg -y -i "$INPUT" -vf vidstabdetect=stepsize=32:shakiness=5:accuracy=15:result="$TRF" -f null -

ffmpeg -y -i "$INPUT" -vf vidstabtransform=input="$TRF":smoothing=30,unsharp=5:5:0.8:3:3:0.4  "$STB_OUTPUT"