Recherche avancée

Médias (1)

Mot : - Tags -/MediaSPIP

Autres articles (60)

  • Librairies et logiciels spécifiques aux médias

    10 décembre 2010, par

    Pour un fonctionnement correct et optimal, plusieurs choses sont à prendre en considération.
    Il est important, après avoir installé apache2, mysql et php5, d’installer d’autres logiciels nécessaires dont les installations sont décrites dans les liens afférants. Un ensemble de librairies multimedias (x264, libtheora, libvpx) utilisées pour l’encodage et le décodage des vidéos et sons afin de supporter le plus grand nombre de fichiers possibles. Cf. : ce tutoriel ; FFMpeg avec le maximum de décodeurs et (...)

  • Installation en mode ferme

    4 février 2011, par

    Le mode ferme permet d’héberger plusieurs sites de type MediaSPIP en n’installant qu’une seule fois son noyau fonctionnel.
    C’est la méthode que nous utilisons sur cette même plateforme.
    L’utilisation en mode ferme nécessite de connaïtre un peu le mécanisme de SPIP contrairement à la version standalone qui ne nécessite pas réellement de connaissances spécifique puisque l’espace privé habituel de SPIP n’est plus utilisé.
    Dans un premier temps, vous devez avoir installé les mêmes fichiers que l’installation (...)

  • Installation en mode standalone

    4 février 2011, par

    L’installation de la distribution MediaSPIP se fait en plusieurs étapes : la récupération des fichiers nécessaires. À ce moment là deux méthodes sont possibles : en installant l’archive ZIP contenant l’ensemble de la distribution ; via SVN en récupérant les sources de chaque modules séparément ; la préconfiguration ; l’installation définitive ;
    [mediaspip_zip]Installation de l’archive ZIP de MediaSPIP
    Ce mode d’installation est la méthode la plus simple afin d’installer l’ensemble de la distribution (...)

Sur d’autres sites (5765)

  • ffmpeg unknown keyword invalid data found when processing input

    16 novembre 2020, par Adriaan

    I have a file ffmpeg_list_of_files.txt with the content

    



    file '.\Output_0\forces_vs_radii.pdf'
file '.\Output_1\forces_vs_radii.pdf'
file '.\Output_2\forces_vs_radii.pdf'
file '.\Output_3\forces_vs_radii.pdf'
file '.\Output_4\forces_vs_radii.pdf'
and so on...


    



    and then run ffmpeg -f concat -i ffmpeg_list_of_files.txt -c copy output.mkv as is stated at

    



    http://trac.ffmpeg.org/wiki/Concatenate

    



    I, unfortunately, get the error

    



    Line 1: unknown keyword ' ■f'
.\ffmpeg_list_of_files.txt: Invalid data found when processing input


    



    in Windows PowerShell in Windows 10.

    



    What am I doing wrong ?

    


  • How can i preview FFmpeg audio/video modifications without processing an output in android application ? [FFMPEG, android]

    12 février 2019, par akash varlani

    Basically I am developing a video editing app that lets user choose some of their images and create video slide show with music.

    I am using FFMPEG to generate video slide show from images but the problem is I can only show preview of the video after executing FFMPEG command.

    Is googled so many blogs and all and I know there is a possible way available to display preview of the output.

    Check below image from reference app. I am developing something similar to this app. There is an option to replace the image in video. This app displays instant preview once I change the image.

    enter image description here

    Here is the link of the reference app if anyone wants to check :
    https://play.google.com/store/apps/details?id=com.newbiz.mvmaster

    Clicking an EXPORT button this app lets you generate video output. I can do that as I know FFMPEG and how to generate OUTPUT FILE using FFMPEG but what I don’t know is how to display quick preview of OUTPUT VIDEO before generating actual VIDEO FILE.

    On my UBUNTU device I can view output of FFMPEG command using FFPLAY tool but how to do the same on android device.

    Some useful link :
    http://androidwarzone.blogspot.com/2011/12/ffmpeg4android.html

  • Bash : loop ffmpeg command through sets of subfolders and direct it to files in the folders for processing

    7 décembre 2018, par Katman

    I am playing around with embedding captions into mp4 video files, and want to find a way to do this across large sets of directories with the .mp4 and .srt files in them. Each pair of .mp4 and .srt files will be subfoldered together in their own directory, and the basename should be the same between the two. Example :

    Video1
     Video1.mp4
     Video1.srt
    Video2
     Video2.mp4
     Video2.srt

    I’ve tried several things but I’m a novice at this and only write very simple bash scripts for much more straightforward processes. For this I need to figure out how to write the bash script to run an ffmpeg command in every subfolder that will grab the mp4 and srt file and output a new mp4 of the merged data. The basic ffmpeg command to do this is :

    ffmpeg -i filename.mp4 -i filename.srt -c copy -c:s mov_text output.mp4

    I’ve tried to add :

    for dir in ./*/; do ffmpeg -i *.mp4 -i *.srt -c copy -c:s move_text “$file”.mp4

    …and several variations of this, but ffmpeg always stops with a “*.mp4 : No such file or directory” error. Then I tried to add "for file in..." after the "for dir in" statement but didn’t have any positive results. The following is closest to what I need - it at least goes to each folder and processes the files - but it does them independently and doesn’t combine the mp4 and srt source files as the ffmpeg command should. It outputs a video.mp4.mp4 and video.srt.mp4, and fails to combine them in either case.

    for dir in ./**/*;
    do ffmpeg -i "$dir" -i "$dir" -c copy -c:s mov_text "$dir".mp4

    I tried "$dir".mp4 and "$dir".srt but that just results in an error. I tried to pull just directory names :

    for dir in ./**/*;
    do ffmpeg -i "$(basename $dir)" -i "$(basename $dir)" -c copy -c:s mov_text "$dir".mp4

    and my attempts using "$(basename $dir).extension" have resulted in errors - it looks for video.mp4.mp4 or video.srt.mp4. Any tips as to what to add to get this process to work or another approach entirely would be greatly appreciated ! I figure it’s a simple bash thing I’m just ignorant of, but certainly need to learn how to do ! Thanks !