Recherche avancée

Médias (2)

Mot : - Tags -/media

Autres articles (51)

  • Keeping control of your media in your hands

    13 avril 2011, par

    The vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
    While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
    MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
    MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...)

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

  • Configurer la prise en compte des langues

    15 novembre 2010, par

    Accéder à la configuration et ajouter des langues prises en compte
    Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
    De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
    Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)

Sur d’autres sites (7549)

  • Golang command working in terminal but not with exec package

    17 août 2016, par Jon Stevens

    I am converting a video generation library from NodeJS to GO that primarily uses FFMPEG for all the video processing. I already have all the FFMPEG commands written out to do the generation I want. The issue is that when I try to run the command through the os/exec package, it fails. However, if I copy the exact command and run it directly in the terminal it works and I cannot figure out why that is. My code that runs the command is below :

    command := "ffmpeg -y -loop 1 -i image.png -vf 'fade=in:0:15,fade=out:105:15' -c:v mpeg2video -t 5 -s 1280x720 -r 30 -q:v 1 -preset ultrafast image.mpg"

    parts := strings.Fields(command)
    cmd := exec.Command(parts[0], parts[1:]...)
    cmd.Stderr = os.Stderr
    cmd.Stdout = os.Stdout
    err := cmd.Run()
    if err != nil {
       panic(err)
    }

    The ffmpeg error I get when I try to run this code is :

    [AVFilterGraph @ 0x22a9bc0] No such filter : ’fade=in:0:15,fade=out:105:15’

    Error opening filters !

    2016/08/17 17:48:53 exit status 1

    Like I previously stated, if I copy the EXACT command :

    ffmpeg -y -loop 1 -i image.png -vf 'fade=in:0:15,fade=out:105:15' -c:v mpeg2video -t 5 -s 1280x720 -r 30 -q:v 1 -preset ultrafast image.mpg

    and run it directly in the terminal, it works no problem.

    PLEASE HELP.

  • C run linux shell command(fmpeg) slower than typing directly in terminal

    11 novembre 2014, par dadylonglegs

    I’m writing an application that execute a linux shell command (ffmpeg) from my C code. Such as :

    char command[2000];
    sprintf(command, "ffmpeg -i %s/%s -r 1 -vf scale=-1:120 -vframes 1 -ss  00:00:00 %s.gif", publicFolder, mediaFile, mediaFile);
    system(command);

    To extract video thumbnail from a specific video. But the strange that it is too much slower when executing shell command form C compare to typing directly to the terminal. I have no idea about this.
    Can anybody help me pls ?. Thanks in advance.

  • Record only audio using ffmpeg commands in OSX Terminal

    27 septembre 2017, par Swati

    I have tried multiple commands, the file is created but no audio.

    ffmpeg -f avfoundation -framerate 30 -i "Built In Input" -acodec aac -ab 64000 -ar 48000 -ac 2 -f flv test.wav

    ffmpeg -f avfoundation -i ":Built In Input" -acodec libmp3lame -ab 32k -ac 1 -f flv test.wav

    ffmpeg -f avfoundation -i ":1" -r 25  -c:v libx264 -preset fast -crf 22 -c:a libfdk_aac  -b:a 128k -ar 44100 -s 640x480  test.mp4

    ffmpeg -f avfoundation -i ":1" -acodec libmp3lame -ab 32k -ac 1 -f mp3 swati.mp3




    ffmpeg -f avfoundation -framerate 30 -i ":1" -ab 128000 -ac 2 -f flv /Users/admin/Documents/swati.flv

    Result in terminal :
    video:0kB audio:686kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead : 0.810823%

    Above line indicates audio exists but i cant hear anything
    any suggestions what should I do ?