Recherche avancée

Médias (0)

Mot : - Tags -/page unique

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (111)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

  • Script d’installation automatique de MediaSPIP

    25 avril 2011, par

    Afin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
    Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
    La documentation de l’utilisation du script d’installation (...)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

Sur d’autres sites (8337)

  • Plex DVR File Rename on FFMPEG Encoding

    11 juillet 2021, par Brent Johnson

    I'm currently using a bash shell script to encode all of my Plex DVR recordings to H.264 using FFMPEG. I'm using this little for loop I found online to encode all of the files in a single directory :

    


    for i in *.ts;
    do echo "$i" && ffmpeg -i "$i" -vf yadif -c:v libx264 -preset veryslow -crf 22 -y "/mnt/d/Video/DVR Stash/Seinfeld/${i%.*}.mp4";
done


    


    This has served its purposes well but in the process I would like to rename the file to my preferred naming convention so that the original filename Seinfeld (1989) - S01E01 - Pilot.ts is renamed to Seinfeld S01 E01 Pilot.mp4 in the encoded file. While I am already using a regular expression to change the .ts extension to .mp4, but I'm no expert with regex, especially in the bash shell so any help would be appreciated.

    


    For anyone that's interested in my Plex setup, I'm using an old machine running Linux Mint as my dedicated DVR and actually accessing it over the network with my daily driver which is a gaming machine, so more processing power for video encodes. While that one is a Windows machine, I'm using the Ubuntu bash under WSL2 to run my script, as I prefer it over the Windows command prompt or Powershell (my day job is a web developer on a company issued Mac). So here's a sample of my code for anyone that might consider doing something similar.

    


    if [[ -d "/mnt/sambashare/Seinfeld (1989)" ]]
then
    cd "/mnt/sambashare/Seinfeld (1989)"
    echo "Seinfeld"
    for dir in */; do
        echo "$dir/"
        cd "$dir"
        for i in *.ts;
            do echo "$i" && ffmpeg -i "$i" -vf yadif -c:v libx264 -preset veryslow -crf 22 -y "/mnt/d/Video/DVR Stash/Seinfeld/${i%.*}.mp4";
        done
        cd ..
    done
fi


    


    While I've considered doing a for loop for all shows, for now I am doing each show like this individually as there are a few shows I have custom encoding settings for

    


  • How to use codec type properly in NPM

    3 juillet 2017, par shamaleyte

    Trying to use ’-acodec libopus’ in my npm project as I use in the command line like in the following format ;

    ffmpeg -acodec libopus -i 1.webm 1.wav

    This works perfectly ! But I would like to make it possible in my NPM project.

    How can I set the parameters ?
    This is what I have , but not working. The output file is broken in a way that some of the frames of the audio file are missing. It is like there is sound and then there is not. And vice versa.

    var proc = new ffmpeg({
           source: file,
           nolog: false      
       });


    format = "opus"; // or could be wav as well!  


       proc.addOptions([
           '-f ' + format,          
           '-acodec libopus',
           '-vn'
       ]);

    The purpose is to take audio file from the video file seamlessly.

    Without the codec libopus, I get the following errors in the command prompt, so I assume I should handle the same issue in my NPM project as well.

    [opus @ 00000000006d4520] LBRR frames is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented.


    [opus @ 00000000006d4520] Error decoding a SILK frame.

    [opus @ 00000000006d4520] Error decoding an Opus frame.

    My library is up to date, I just need to use the codec libopus properly.
    Any suggestions ?

    \node-js>ffmpeg -version
    ffmpeg version N-86175-g64ea4d1 Copyright (c) 2000-2017 the FFmpeg
    developers
    built with gcc 6.3.0 (GCC)

    Output in command line;
    xtranscribe transcodeWatson: file : ./data/that/2.webm
    progress 62.625273103421605%
    progress 100.01224534515762%
    SAVED - transcodeWatson : .mp3
    out of transcode!
    fileSizeInBytes  : 16284033
  • Passing arguments to FFMPEG using subprocess.call()

    8 mai 2018, par Peter F

    I was working through this answer to an FFMPEG question and the command works just fine through the Windows 10 command prompt (I’ve only changed the input and output filenames) :

    ffmpeg -i test.mp4  -filter:v "select='gt(scene,0.4)',showinfo" -f null  - 2> test.txt

    My Python 3 script gives arguments (as a list) to the subprocess.call() function and works fine for a number of basic FFMPEG operations, but not this one ! It seems to be failing at the final null - 2> test.txt part, with the following error messages depending on how I split the arguments :

    [NULL @ 000001c7e556a3c0] [error] Unable to find a suitable output format for 'pipe:'
    [error] pipe:: Invalid argument

    [error] Unrecognized option '2> test.txt'.
    [fatal] Error splitting the argument list: Option not found

    [error] Unrecognized option '2>'.
    [fatal] Error splitting the argument list: Option not found

    Here’s the basic list of arguments I’ve been trying :

    args=['C:\\Program Files\\ffmpeg\\ffmpeg.exe',
         '-i',
         'test.mp4',
         '-filter:v "select=\'gt(scene,0.4)\',showinfo"',
         '-f null',
         '-',
         '2>',
         'test.txt']

    Plus various permutations combining and splitting the last few elements.

    Please could somebody help me with the right syntax for running FFMPEG with these arguments through Python 3 ?

    Many thanks - I just can’t see where I’m going wrong :(