Recherche avancée

Médias (91)

Autres articles (99)

  • 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

  • Contribute to documentation

    13 avril 2011

    Documentation is vital to the development of improved technical capabilities.
    MediaSPIP welcomes documentation by users as well as developers - including : critique of existing features and functions articles contributed by developers, administrators, content producers and editors screenshots to illustrate the above translations of existing documentation into other languages
    To contribute, register to the project users’ mailing (...)

  • Submit bugs and patches

    13 avril 2011

    Unfortunately a software is never perfect.
    If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
    If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
    You may also (...)

Sur d’autres sites (11983)

  • 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 !!

    


  • 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.