Recherche avancée

Médias (91)

Autres articles (22)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Supporting all media types

    13 avril 2011, par

    Unlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)

  • Creating farms of unique websites

    13 avril 2011, par

    MediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
    This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)

Sur d’autres sites (7177)

  • mp3 and multiple image convert to mp4 [on hold]

    16 mai 2017, par Henrik C Wiberg

    I need some guidance to convert an mp3 audio file, along with multiple photos to an mp4 file, using php/laravel.

    It must end with a mp4 file with a slideshow of images along with an audio file.

    How do you recommend me to begin the task ?
    I have this Json :

    {
    - data [
    {
       id: 1,
       name: "item 1",
       image: "image_1.jpg",
       start: "2017-01-01T02:00:00",
       end: "2017-01-01T02:30:00"
     },
     {
       id": 2,
       name: "item 2",
       image: "image_2.jpg",
       start: "2017-01-01T02:31:00",
       end: "2017-01-01T02:50:00"
     },
     {
       id": 3,
       name: "item 3",
       image: "image_3.jpg",
       start: "2017-01-01T02:51:00",
       end: "2017-01-01T03:00:00"
     }
    ],
    - meta {
      audiofile: {
       mp3: 'example.com/audio/audiofile.mp3',
       start: "2017-01-01T02:00:00",
       end: "2017-01-01T03:00:00"  
    }
    }  

    This json must be converted to one mp4 file, where image has to be placed and displayed on a timeline while ’audiofile.mp3’ is playing.

    Or do you know some code samples I can see ? :-)

  • How to turn an AppleScript path into a posix path and pass to shell script ?

    18 mars 2017, par Björn

    I´m trying to create a textfile that my ffmpeg-command can use to merge two videofiles. The problem I´m having is getting my folder/file-paths to look like I want. The two lines that cause my problems are :

    set theFile to path to replay_folder & "ls.txt"

    I simply want this path to be the path of replay_folder and ls.txt

    In the shell script line I want the same thing.

    do shell script "cd " & replay_folder & "
       /usr/local/bin/ffmpeg -f concat -i ls.txt -c copy merged.mov"

    I get this path with the shell script Macintosh HD:Users:BjornFroberg:Documents:wirecast:Replay-2017-03-17-12_11-1489749062:

    But I want this /Users/BjornFroberg/Documents/wirecast/Replay-2017-03-17-12_11-1489749062/

    The full code is :

    tell application "Finder"
    set sorted_list to sort folders of folder ("Macintosh HD:Users:bjornfroberg:documents:wirecast:") by creation date
    set replay_folder to item -1 of sorted_list
    set replay_files to sort items of replay_folder by creation date
    end tell

    set nr4 to "file '" & name of item -4 of replay_files & "'"
    set nr3 to "file '" & name of item -3 of replay_files & "'"

    set theText to nr4 & return & nr3

    set overwriteExistingContent to true

    set theFile to path to replay_folder & "ls.txt" --actual path is: POSIX file "/Users/BjornFroberg/Documents/wirecast/Replay-2017-03-17-12_11-1489749062/ls.txt"

    set theOpenedFile to open for access file theFile with write permission

    if overwriteExistingContent is true then set eof of theOpenedFile to 0

    write theText to theOpenedFile starting at eof

    close access theOpenedFile

    do shell script "cd " & replay_folder & "
    /usr/local/bin/ffmpeg -f concat -i ls.txt -c copy merged.mov"

    Any help is appreciated :)

  • How do I pass a variable to shell script ?

    18 mars 2017, par Björn

    I´m trying to create a textfile that my ffmpeg-command can use to merge two videofiles. The problem I´m having is getting my folder/file-paths to look like I want. The two lines that cause my problems are :

    set theFile to path to replay_folder & "ls.txt"

    I simply want this path to be the path of replay_folder and ls.txt

    In the shell script line I want the same thing.

    do shell script "cd " & replay_folder & "
       /usr/local/bin/ffmpeg -f concat -i ls.txt -c copy merged.mov"

    I get this path with the shell script Macintosh HD:Users:BjornFroberg:Documents:wirecast:Replay-2017-03-17-12_11-1489749062:

    But I want this /Users/BjornFroberg/Documents/wirecast/Replay-2017-03-17-12_11-1489749062/

    The full code is :

    tell application "Finder"
    set sorted_list to sort folders of folder ("Macintosh HD:Users:bjornfroberg:documents:wirecast:") by creation date
    set replay_folder to item -1 of sorted_list
    set replay_files to sort items of replay_folder by creation date
    end tell

    set nr4 to "file '" & name of item -4 of replay_files & "'"
    set nr3 to "file '" & name of item -3 of replay_files & "'"

    set theText to nr4 & return & nr3

    set overwriteExistingContent to true

    set theFile to path to replay_folder & "ls.txt" --actual path is: POSIX file "/Users/BjornFroberg/Documents/wirecast/Replay-2017-03-17-12_11-1489749062/ls.txt"

    set theOpenedFile to open for access file theFile with write permission

    if overwriteExistingContent is true then set eof of theOpenedFile to 0

    write theText to theOpenedFile starting at eof

    close access theOpenedFile

    do shell script "cd " & replay_folder & "
    /usr/local/bin/ffmpeg -f concat -i ls.txt -c copy merged.mov"

    Any help is appreciated :)