Recherche avancée

Médias (91)

Autres articles (38)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-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

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 is the first MediaSPIP stable release.
    Its official release date is June 21, 2013 and is announced here.
    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 (...)

  • Librairies et binaires spécifiques au traitement vidéo et sonore

    31 janvier 2010, par

    Les logiciels et librairies suivantes sont utilisées par SPIPmotion d’une manière ou d’une autre.
    Binaires obligatoires FFMpeg : encodeur principal, permet de transcoder presque tous les types de fichiers vidéo et sonores dans les formats lisibles sur Internet. CF ce tutoriel pour son installation ; Oggz-tools : outils d’inspection de fichiers ogg ; Mediainfo : récupération d’informations depuis la plupart des formats vidéos et sonores ;
    Binaires complémentaires et facultatifs flvtool2 : (...)

Sur d’autres sites (5589)

  • converting audio from mp4 to wav and croping in the process using python

    7 mars 2019, par fastali

    I am looking for a package where I can use to convert the audio file from mp4 to wav simultaneously while also cropping the file using python.

    I have seen some posts about using ffmpeg to do the conversion but I dont seem to be able to run ffmpeg within python, and when converted to wav the files become around 10 times bigger which is kind of a storage issue.

    Does anyone have any suggestions except for pipelining it ?

  • FFMPEG using concat but process was killed no Error message

    18 mars 2020, par 김태훈

    I am android devloper
    I use FFmpeg for edit video.
    use this library

    https://github.com/bravobit/FFmpeg-Android
    just

    FFmpeg.execute(" command ");

    I use filter-complex, but process was killed with no error

    is this clue error message ?

    "`[out_0_0 @ 000002092867e200] 100 buffers queued in out_0_0, something may be wrong.`"

    Can you tell me how to fix it ?
    below is my command
    I think syntax is ok, but sementics is wrong.

    -y -i /storage/emulated/0/Download/error_movie.mp4 -filter_complex "
    [0:v]trim=start=20.900:duration=14.500,setpts=PTS-STARTPTS[v1];
    [0:v]trim=start=0:duration=20.900,setpts=PTS-STARTPTS[v2];
    [0:v]trim=start=35.400:duration=30.300,setpts=PTS-STARTPTS[v3];
    [0:v]trim=start=20.900:duration=14.500,setpts=PTS-STARTPTS[v4];
    [0:v]trim=start=20.900:duration=14.500,setpts=PTS-STARTPTS[v5];
    [0:a]atrim=start=20.900:duration=14.500,asetpts=PTS-STARTPTS[a1];
    [0:a]atrim=start=0:duration=20.900,setpts=PTS-STARTPTS[a2];
    [0:a]atrim=start=35.400:duration=30.300,asetpts=PTS-STARTPTS[a3];
    [0:a]atrim=start=20.900:duration=14.500,asetpts=PTS-STARTPTS[a4];
    [0:a]atrim=start=20.900:duration=14.500,asetpts=PTS-STARTPTS[a5];
    [v1][v2][v3][v4][v5]concat=n=5:v=1:a=0[ffmpegVideoOut];
    [a1][a2][a3][a4][a5]concat=n=5:v=0:a=1[ffmpegAudioOut]"
    -map [ffmpegVideoOut] -map [ffmpegAudioOut]
    /storage/emulated/0/AiTube/AiTube_20200316_103442.mp4
  • Crontab starts again before the process of conversion in ffmpeg ends (depending on time suppose /2 minutes) How to Control that ?

    4 février 2018, par A Sahra

    I am running a bash .sh file every two minutes with crontab. the problem is that when crontab runs bash file the process of ffmpeg video conversion starts,the conversion time varies depending on length of videos, i have set the crontab to run every two minutes. crontab runs again after two minutes before end of ffmpeg conversion.

    How to Figure out :

    control of crontab and conversion process so the crontab doesn’t starts again until process of conversion is not completed.

    #!/bin/bash
    # set PATH to check existance of video file in this directory
    checkfiles=/home/webuser/public_html/shareportal/convert_Up_videos/*
    checkforfiles=/home/webuser/public_html/shareportal/convert_Up_videos
    movetodire=/home/webuser/public_html/shareportal/uploaded_videos/
    conversionprocessdir=/home/webuser/public_html/shareportal/conversion_process/
    movetoArchive=/home/webuser/public_html/shareportal/Video_Archive/
    blockpath=/home/webuser/public_html/shareportal/block.txt
    processid=/home/webuser/public_html/shareportal/processid.txt
    #format of output video file
    webm='webm'
    if [ "$(ls -A $checkforfiles)" ]
    then
    #check directory for files to convert
    for f in $checkfiles
       do  
           fullfilename="$f"
           filename=$(basename "$f")
           filewithoutextforimage="${filename%.*}"
           nametofile=$filewithoutextforimage | cut -c1-10;
           echo $filewithoutextforimage | cut -c1-10 1> $blockpath 2>&1
       filewithoutext="${f%.*}"
       fileextention="${f##*.}"
       image_path='/home/webuser/public_html/shareportal/video_images/'$filewithoutextforimage'.png'
       outputfilename=$conversionprocessdir"$filewithoutextforimage.webm"
       #ffmpeg conversion process starts here
       if (ffmpeg -i "$f" "$outputfilename" 1>> $blockpath 2>&1)
       then
           #Extract Image of video file on provided time stamp
           if (ffmpeg -ss 00:00:06 -i "$f" -vframes:v 1 "$image_path")
           then
               echo "Image Extracted"
           else
               echo "Could not Extract Image"
           fi
           echo "Video Converted";
       else
           echo "Could Not Convert Video"
       fi
       #conversion Ends!!
       mv "$outputfilename" $movetodire
       mv "$fullfilename" $movetoArchive
    done
    else
    echo "File Not Found Directory is empty!!!-----"
    fi