Recherche avancée

Médias (1)

Mot : - Tags -/MediaSPIP 0.2

Autres articles (34)

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 est la première version de MediaSPIP stable.
    Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • Mise à disposition des fichiers

    14 avril 2011, par

    Par défaut, lors de son initialisation, MediaSPIP ne permet pas aux visiteurs de télécharger les fichiers qu’ils soient originaux ou le résultat de leur transformation ou encodage. Il permet uniquement de les visualiser.
    Cependant, il est possible et facile d’autoriser les visiteurs à avoir accès à ces documents et ce sous différentes formes.
    Tout cela se passe dans la page de configuration du squelette. Il vous faut aller dans l’espace d’administration du canal, et choisir dans la navigation (...)

Sur d’autres sites (4038)

  • Write, with ffmpeg, every 30 seconds wav file from ip stream to file.temp and change the name to timestamp.wav after

    18 juillet 2018, par Eliya

    I’m using ffmpeg to record IP stream and write every 30 seconds to wav file.

    Here is my bash script code :

    #!/bin/bash
    function start_ffmpeg_stream ()
    {
       address=$1 #This is IP stream address
       ffmpeg_option=$2 # "?overrun_nonfatal=1&fifo_size=250000"
       folder_name=$3 #folderName
       channel_number=$4 #i
       #local pid      
       ffmpeg  -loglevel 8 -thread_queue_size 1500 -i "$address$ffmpeg_option" -c copy\
           -vn -f segment -segment_time 30 -ar 8000 -acodec pcm_s32le -ac 1 -strftime 1 /"$folder_name"/"X$channel_number""_""%s.wav"&    
       pid=$!
       echo "$Start ffmpeg, pid is - $pid"
       __="$pid"
    }
    ffmpegOptions="?overrun_nonfatal=1&fifo_size=250000"
    folderName="/wav_files"
    start_ffmpeg_stream "udp://224.10.0.1"  "$ffmpegOptions" "$folderName" "1"

    Now the wav file name is like "X000001_unix_time_stamp.wav".

    I want to write the file name in writeing time something like "X000001_unix_time_stamp.temp"

    And when the 30 seconds done and the FFmpeg finish to write this 30 seconds, I want that FFmpeg changes the name to "X000001_unix_time_stamp.wav"

    And keep writing next 30 seconds.

    The only change that i want is, when FFmpeg writing it write in temp name and after FFmpeg finish to write it change the name.

    It’s seem to case when i donloaded a file so until the donload not finish the file has a temp name and when it done the name change to const name.

  • how to cut audio file and merge with video file in android ?

    27 avril 2016, par Mayank Sugandhi

    I want to cut audio and merge audio file with video programmatically in android.

    I don’t Know how to use FFMPEG library in windows, Can You tell me how to integrate Or if any other solution ? I am finding the answer this question from last 3 months 15 days, still i am not able to get correct answer

    Please Help Me,

    Thank You for Appreciation.

  • ffmpeg batch process issue mac

    22 octobre 2023, par e e

    I'm using ffmpeg to batch process all files(with names containing spaces) in a directory. The script is like :

    


    echo my converter
read -p "Enter give folder: " folder
echo '//////////////////////START CONVERTING FROM FOLDER///////////////////////'

find $folder -type f -name "*[[:space:]]*" | while read file; do
    release="${file%%.*}"'_t.mp4';
    echo "$file";
    ffmpeg -i "$file" -c copy "$release" -loglevel error -stats
    echo $release;
done


    


    the script searches all the files in the address and ffmpeg one by one. However the first file will always fail due to some unknown issues :

    


    [mpegts @ 0x7fb8e9904a40] Continuity check failed for pid 17 expected 2 got 3
[mpegts @ 0x7fb8e9904a40] Continuity check failed for pid 0 expected 0 got 2
[mpegts @ 0x7fb8e9904a40] Continuity check failed for pid 4096 expected 0 got 2
[mpegts @ 0x7fb8e9904a40] Continuity check failed for pid 256 expected 2 got 7
[mpegts @ 0x7fb8e9904a40] Packet corrupt (stream = 0, dts = 203523000).
/Users/xy/Downloads/aaa/aa vv.ts: corrupt input packet in stream 0
[NULL @ 0x7fb8e9905a40] Decoding VUI



    


    If there is only one file, the process works fine.
If comment out the ffmpeg command, it echoes as expected :

    


    /Users/xy/Downloads/aaa/aa vv_t.mp4
/Users/xy/Downloads/aaa/aa vv_t_t.mp4
/Users/xy/Downloads/aaa/aa vv.ts
/Users/xy/Downloads/aaa/aa vv_t.mp4
/Users/xy/Downloads/aaa/cc ee.ts
/Users/xy/Downloads/aaa/cc ee_t.mp4


    


    it first find the target files and then converts into another with different file names.
Any suggestions, thank you !!