Recherche avancée

Médias (91)

Autres articles (76)

  • Qu’est ce qu’un éditorial

    21 juin 2013, par

    Ecrivez votre de point de vue dans un article. Celui-ci sera rangé dans une rubrique prévue à cet effet.
    Un éditorial est un article de type texte uniquement. Il a pour objectif de ranger les points de vue dans une rubrique dédiée. Un seul éditorial est placé à la une en page d’accueil. Pour consulter les précédents, consultez la rubrique dédiée.
    Vous pouvez personnaliser le formulaire de création d’un éditorial.
    Formulaire de création d’un éditorial Dans le cas d’un document de type éditorial, les (...)

  • Gestion des droits de création et d’édition des objets

    8 février 2011, par

    Par défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

Sur d’autres sites (14577)

  • ffmpeg : Invalid data found when processing input

    20 septembre 2018, par Rich_F

    I have a situation where ffmpeg is throwing an error :

    Invalid data found when processing input

    I’ve reviewed other answers here, but my situation is different. I generate in Ruby, a text file with a list of input files I want to concatenate together into one large video.

    I generate in Ruby, the command meant for bash, which is also output for me to manually copy :

    ffmpeg -y -f concat -safe 0 -i /Volumes/Dragon2/Yums/randoms.txt /Volumes/Dragon2/Yums/final.mp4

    Throws an error :

    /Volumes/Dragon2/Yums/randoms.txt: Invalid data found when processing input

    Here is that file :

    file '/Volumes/Dragon2/Yums/0CEDC3CA-4571-4271-9938-A161EC2A887B.mov'
    file '/Volumes/Dragon2/Yums/0D25D907-D053-443B-AFC6-9F12B1711BBF.mov'
    file '/Volumes/Dragon2/Yums/6A272808-7706-435D-801E-ACE6B42EC749.mov'
    file '/Volumes/Dragon2/Yums/6E9BA2F1-C5E7-4C1C-B290-D116105732FA.mov'
    file '/Volumes/Dragon2/Yums/0A41C7B7-74CE-484E-B029-3AE57B8BB4EA.mov'

    When bash runs it, it complains about the input file randoms.txt having invalid data. When I copy and paste the very same command in bash, it works fine. I’m stumped as to how the two are different and why ffmpeg is not happy when initiated in the shell.

    How can I get this to work ? What am I missing ? Cheers

    EDIT : Original ruby code :

    `clear`
    require 'pathname'
    require 'pp'

    s = '/Volumes/Dragon2/Yums'
    files = []

    Dir.foreach(s) do |path|
     files << "#{ s }/#{ path }"  
    end

    result = files.sample(files.size)           # randomizer

    f = File.open("#{ s }/randoms.txt", 'w+')
    result.each_with_index do |item, i|
     pp "#{ i }: #{ item }" if item.include?('mov')
     f << "file '#{ item }'\n" if item.include?('mov')
    end

    `echo `

    File.delete("#{ s }/final.mp4") if File.exists?("#{ s }/final.mp4")
    s = "ffmpeg -y -f concat -safe 0 -i #{ s }/randoms.txt #{ s }/final.mp4"
    puts s

    sleep 3
    `#{ s }`

    I have also tried system s as well with the same error. The syntax is generated fine, output fine, operates fine manually.

  • How to not include the Pause duration in the FFMPEG recording timeline

    8 janvier 2019, par Riccardo Volpe

    I’m trying to pause a screencast made with ffmpeg under Linux, giving the command :

    kill -s SIGSTOP <pid>
    </pid>

    resuming then it with the command :

    kill -s SIGCONT <pid>
    </pid>

    to finally interrupt it with the command :

    kill <pid>
    </pid>

    but the resulting file keeps the duration of the pause command in the timeline. Is there any way to not include it in the final video output ?

    Thank you

    Edit #1

    I can’t understand a down vote without an explanation... but maybe my mind thinks different.

    To not be misunderstood and for a better explanation of the problem, I realized a video : as you can see, now, there are 14 seconds in which the timeline is locked (from 29th to 43th second), the same duration of the command to pause the screencast (kill -s SIGSTOP <pid></pid>). Now the previous question, if someone knows the solution.

    The unique one that I thought is to cut the final output, "labeling" the pause command in such a way to know where to cut...

  • Combining audio and multiple videos with FFMPEG [closed]

    6 novembre 2023, par Lee P

    I am working on a ffmpeg script to combine two videos with one audio file. The first video file should start after about 6 seconds and the second after about 40 seconds, and there should be a padding with a black screen between the two videos.&#xA;However, it only seems to add the first video clones the final frame as the padding.

    &#xA;

    Here is my current script :

    &#xA;

    ffmpeg -i video_0.mp4 -i video_1.mp4 -i audio.mp4 -filter_complex "[0:v] tpad=start_duration=5927ms:start_mode=add:color=black:stop_mode=add:color=black; [1:v] tpad=start_duration=44901ms:start_mode=add:color=black:stop_mode=add:color=blackconcat=n=2" -map 2:a -f mp4 -movflags &#x2B;faststart composite_recording.mp4&#xA;

    &#xA;

    The final video timing should be :

    &#xA;

    00:00-00:06 — black screen
    &#xA;00:06-00:24 — first video
    &#xA;00:24-00:40 — black screen
    &#xA;00:40-00:48 — second video

    &#xA;

    I tried setting different values for the tpad start_duration for the second video and expected it to start the second video at around 40 seconds into the audio, however it didn't change anything.

    &#xA;