Recherche avancée

Médias (1)

Mot : - Tags -/biomaping

Autres articles (45)

  • Automated installation script of MediaSPIP

    25 avril 2011, par

    To overcome the difficulties mainly due to the installation of server side software dependencies, an "all-in-one" installation script written in bash was created to facilitate this step on a server with a compatible Linux distribution.
    You must have access to your server via SSH and a root account to use it, which will install the dependencies. Contact your provider if you do not have that.
    The documentation of the use of this installation script is available here.
    The code of this (...)

  • Other interesting software

    13 avril 2011, par

    We don’t claim to be the only ones doing what we do ... and especially not to assert claims to be the best either ... What we do, we just try to do it well and getting better ...
    The following list represents softwares that tend to be more or less as MediaSPIP or that MediaSPIP tries more or less to do the same, whatever ...
    We don’t know them, we didn’t try them, but you can take a peek.
    Videopress
    Website : http://videopress.com/
    License : GNU/GPL v2
    Source code : (...)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

Sur d’autres sites (7170)

  • Downloading individual songs from YouTube playlist [closed]

    23 août 2024, par user26961371
      

    • I've created a custom script using yt-dlp.
    • 


    • The script takes a single argument, which is the actual playlist URL.
    • 


    • I'm using the following command :
    • 


    


    yt-dlp --extract-audio --audio-format mp3 --yes-playlist -o "/Users/$USER/Desktop/%(id)s.%(ext)s" --embed-chapters $1


    


    Try :
I've run the command with a valid playlist URL, but it's downloading each song from the playlist into a single MP3 file for each song. I want to download each song as an individual file, not the entire playlist in a single file 15 times.

    


    Expectation :
I expect yt-dlp to download each song from the playlist as a separate MP3 file, rather than combining all songs into a single MP3 file for each song.

    


    Context :
The issue is likely due to the use of the --yes-playlist option, which tells yt-dlp to treat the input as a playlist URL and download all songs in one go.
I've checked the official documentation for yt-dlp, but I couldn't find a solution.

    


  • ffmpeg - concatenate mp4 files + audio from a folder structure

    17 septembre 2022, par Ionut Bejinariu

    I use this batch file to concatenate several .mp4 files and then join them with an audio song.

    


    @echo off

mkdir ".\Export" 
set "sourcedir="  
set "outputdir=Export" 

for %%i in (*.mp4) do echo file '%%i'>> lista.txt
ffmpeg -f concat -safe 0 -i lista.txt -c copy mergedmp4.mp4

for %%F in (*.wav *.mp3) DO ( 
    ffmpeg -i mergedmp4.mp4 -i "%%F" -map 0:v -map 1:a -vcodec copy -c:a aac -b:a 320k "%outputdir%\%%~nF.mp4"
)

del lista.txt
del mergedmp4.mp4


    


    So far so good, It's working

    


    I would describe what will help me more and I need to happen :

    


    I have this folder structure \Video-15-sec\Canal-1\Videos-1, Videos-2 .. Videos-15 or sometimes can be until Videos-20 or more, depends how I organize them.

    


    All of Videos folders have .mp4 files in them and are renamed all the time1.mp4, 2.mp4, 3.mp4 ... 25.mp4 ... 35.mp4 ..etc each of the Videos folders respect the name of file starting with 1.mp4 to how many are in the folder.

    


    The directory structure is like this :

    


    

──Video-15-sec
│       ├───Canal-1
│       │   ├───Videos-1 (.mp4 files in it)
│       │   ├───Videos-2 (.mp4 files in it)
│       │   ├───Videos-3 (.mp4 files in it)
│       │   ├───Videos-4 ...
│       │   ├───Videos-5
│       │   ├───Videos-6
│       │   ├───Videos-7
│       │   ├───Videos-8
│       │   ├───Videos-9
│       │   ├───Videos-10
│       │   ├───Videos-11
│       │   ├───Videos-12
│       │   ├───Videos-13
│       │   ├───Videos-14
│       │   └───Videos-15
│       ├───Canal-2
│       │   ├───Videos-1 (.mp4 files in it)
│       │   ├───Videos-2 (.mp4 files in it)
│       │   ├───Videos-3 (.mp4 files in it)
│       │   ├───Videos-4 ...
│       │   ├───Videos-5
│       │   ├───Videos-6
│       │   ├───Videos-7
│       │   ├───Videos-8
│       │   ├───Videos-9
│       │   ├───Videos-10
│       │   ├───Videos-11
│       │   ├───Videos-12
│       │   ├───Videos-13
│       │   ├───Videos-14
│       │   └───Videos-15
│       ├───Canal-3
│       │   ├───Videos-1 (.mp4 files in it)
│       │   ├───Videos-2 (.mp4 files in it)
│       │   ├───Videos-3 (.mp4 files in it)
│       │   ├───Videos-4 ...
│       │   ├───Videos-5
│       │   ├───Videos-6
│       │   ├───Videos-7
│       │   ├───Videos-8
│       │   ├───Videos-9
│       │   ├───Videos-10
│       │   ├───Videos-11
│       │   ├───Videos-12
│       │   ├───Videos-13
│       │   ├───Videos-14
│       │   └───Videos-15
│       ├───Canal-4


    


    I want to have a separate folder \allmusic where I will have all the music, and the batch file will always export with the name of the song.

    


    all the mp4 files of each separate folder Videos-1, Videos-2 ... Videos-10..., will be concatenated separately and then joined with a single song, each separate folder, with one song each. All the songs and Videos folders in loop, until all my songs are done.

    


    The video created will be exported in a separate folder \Export-all-Videos

    


    Actions of Batch file :

    


    ─Video-15-sec
│       ├───Canal-1
│       │   ├───Videos-1 (concatenate.mp4 files from) + 1 song -> Folder  \Export-all-Videos\name of the song.mp4
│       │   ├───Videos-2 (concatenate.mp4 files from) + 1 song -> Folder  \Export-all-Videos\name of the song.mp4
│       │   ├───Videos-3 (concatenate.mp4 files from) + 1 song -> Folder  \Export-all-Videos\name of the song.mp4
│       │   ├───Videos-4 ...
│       │   ├───Videos-5
│       │   ├───Videos-6
│       │   ├───Videos-7


    


    I hope someone has a solution for this.

    


    Thank you very much

    


  • Using ffmpeg in Java

    21 septembre 2014, par Riccardo Bestetti

    I’m writing a Java program. I’m receiving a MPEG video stream via TCP and I have to decode it and re-encode it in a different format.

    I have found JJMPEG, which are ffmpeg wrappers for Java, but they don’t get an update since 2 years ago. So I thought to implement my conversion by spawning a ffmpeg process from Java and piping the stream into it, and getting the data back from another pipe.

    Would that be a optimal solution ? I need feedback from experienced people on both Java and ffmpeg programming.