Recherche avancée

Médias (1)

Mot : - Tags -/ogg

Autres articles (111)

  • 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" (...)

  • MediaSPIP en mode privé (Intranet)

    17 septembre 2013, par

    À partir de la version 0.3, un canal de MediaSPIP peut devenir privé, bloqué à toute personne non identifiée grâce au plugin "Intranet/extranet".
    Le plugin Intranet/extranet, lorsqu’il est activé, permet de bloquer l’accès au canal à tout visiteur non identifié, l’empêchant d’accéder au contenu en le redirigeant systématiquement vers le formulaire d’identification.
    Ce système peut être particulièrement utile pour certaines utilisations comme : Atelier de travail avec des enfants dont le contenu ne doit pas (...)

  • Personnaliser les catégories

    21 juin 2013, par

    Formulaire de création d’une catégorie
    Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
    Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire.
    Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
    Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...)

Sur d’autres sites (10234)

  • The Mystery of the No such file or directory exception

    22 avril 2022, par JohnWick

    No idea what's going on here. Set a breakpoint after the for of loop in the following function. temp/concat.txt exists but the following exception is thrown :

    


    


    Uncaught Error Error : ffmpeg exited with code 1 : temp/concat.txt : No
such file or directory

    


    


    Outputting stderr gives a bit more info :

    


    


    [concat @ 000001e2e30124c0] Impossible to open
'temp/concat.txt#voiceover #funny #fall #lol.mp4' index.js:19
temp/concat.txt : No such file or directory

    


    


    And here is the contents of concat.txt, standard ffmpeg concat demuxer format :

    


    file '#voiceover #funny #fall #lol.mp4'
file 'part 2 repost 🙄 #fyp #funny @jordond262 @princemoonjq add my snap heroicdw333.mp4'
file 'This is my hair wet wet WOAHHH #GrowUpWithMe #fyp #foryoupage #love #funny #puppy #goldenretriever #cute #dog #wetwet.mp4'
file 'POV calling your friends when your 90#FootlongShuffle #GhostMode #funny #grandma  #fyp #halloween #collegegotmelike #tiktok #foryoupage.mp4'
file 'Sam Ki Singing Kaisi Lgi 😂😜 insta-samayranarula #foryou #trending #lockdown #queen_samayra #tiktokindia #funny #gharbaithoindia 🏠 #comedyindia.mp4'
file 'Reply to @juswa646  #fyp#funny #relatable.mp4'
file 'RaNdOm ViDeOs! #fy #fypシ #viral #meme #funny #xyzbca #funnyvideos #randomvideo.mp4'
file 'Reply to @bratzdoll.maya what should I do next 🙄 #fyp #foryoupage #leethe4th #memes #tall #funny #lol.mp4'
file 'Part 2 #fyp #foryou #viral #foryoupageofficiall #funny #trending.mp4'
file 'Lmfao 😂 (via @danibreezy01) #lmao #lmfao #funny #cousins #family #fyp #foryou #foryoupage.mp4'
file 'When you are a clumsy kitty #trend #joke #Khaleesi #funny #kittensoftiktok #foryou #fyp #foryoupage #cute #catsoftiktok.mp4'
file 'Tag That Friend That Always Be Falling Asleep 😂 #foryou #funny #fail #nap #sleep #pennsylvania #SHEINcares #viral #trending #meme #memes #foryoupage.mp4'
file '#funny #funnyvideos #girlfriend #crzy #Birdshit.mp4'
file 'He forgot he was a dog.                #dog #fyp #talkingdog #cute #pet #funny.mp4'
file 'Bad Day #part1 #badday #falling #funny #memes #viral #jokes #comedy #trending #fyp #foryou #share #likes #us #uk #xyzbca  #epic #pourtoi #fail #wee.mp4'
file 'I think he got offended ( #catsoftiktok #fyp #funny #catlover #MyJob #yellow #foryoupage.mp4'
file 'They took OFF today 🐶🤠🐶 #joshbutlertv #roxyandremi #funny #comedy #dogs #viral #memes.mp4'
file 'Had to make sure momma was there #funny #fyp #raccoons #love #bff #foryoupage #ThisorThatSBLV.mp4'
file 'That\'s not how you get out... #mysterymakers #escaperoom #foryou #fyp #crazystory #friends #funny #crazy #teammate.mp4'


    


    The function throwing the exception.

    


    async function makeCompilation(paths, outPath) {
  for (const filePath of paths) {
    await fs.appendFile(
      "temp/concat.txt",
      `file '${path.basename(filePath).replace("'", "\\'")}'${os.EOL}`
    );
  }
  return new Promise((resolve, reject) => {
    ffmpeg("temp/concat.txt")
      .inputOptions(["-f concat", "-safe 0"])
      .outputOption("-c copy")
      .on("stderr", (line) => console.log(line))
      .on("end", async () => {
        await fs.rm("temp/concat.txt");
        resolve();
      })
      .save(outPath);
  });
}


    


  • Hello i need a some istructions to use ffmpeg, I would like a code to get media file info

    16 juillet 2014, par user3547175

    I want to start by saying that i don’t know how to use FFMPEG in C#. I have a program that reads the information of a media file, I use this code about resolution, bitrate

    var player = new WindowsMediaPlayer();
    var clip = player.newMedia(file.FullName);
    lblLenght_.Text = (TimeSpan.FromSeconds(clip.duration)).ToString();      



    ShellFile shellFile = ShellFile.FromFilePath(file.FullName);
    lblFPS_.Text = (shellFile.Properties.System.Video.FrameRate.Value / 1000).ToString();

    lblHeight_.Text = shellFile.Properties.System.Video.FrameHeight.Value.ToString() + " px";
    lblWidth_.Text = shellFile.Properties.System.Video.FrameWidth.Value.ToString() + " px";
    lblResolution_.Text = shellFile.Properties.System.Video.FrameWidth.Value.ToString() + "x" + shellFile.Properties.System.Video.FrameHeight.Value.ToString() + " px";
    blBitrate_.Text = (shellFile.Properties.System.Video.TotalBitrate.Value / 1000).ToString() + " kb/s";

    but the problem is that ShellFile supports only a few formats, so I found some FFMPEG uses but I don’t know how to work with it. Can someone post the solution or some link to learn how to use it about my problem ?

  • Correct ffmpeg scale command syntax

    10 novembre 2015, par user3132858

    I am new to ffmpeg and need some help with the correct syntax for a scale command I found here.

    Below is my code :

    $width=300;
    $height=200;
    $aspect=$width/$height;


    $command = "/usr/local/bin/ffmpeg -y -i 1.mp4 -vf scale=min(1\,gt(iw\,".$width.")+gt(ih\,".$height.")) * (gte(a\,".$aspect.")*".$width." + \
    lt(a\,".$aspect.")*((".$height."*iw)/ih)) + not(min(1\,gt(iw\,".$width.")+gt(ih\,".$height.")))*iw : \
    min(1\,gt(iw\,".$width.")+gt(ih\,".$height.")) * (lte(a\,".$aspect.")*".$height." + \
    gt(a\,".$aspect.")*((".$width."*ih)/iw)) + not(min(1\,gt(iw\,".$width.")+gt(ih\,".$height.")))*ih  -b 1200k -acodec aac -strict -2 2.mp4 ";

    Video is successfully converted however, the scaling does not go trough.

    The code is copied word for word, I only make two changes :

    • removed the " before scale word and from the end
    • replaced the $FW with $width, $FH with $height and $FA with $aspect.

    Any suggestion at what might be wrong ?