Recherche avancée

Médias (1)

Mot : - Tags -/Rennes

Autres articles (64)

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

  • Participer à sa traduction

    10 avril 2011

    Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
    Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
    Actuellement MediaSPIP n’est disponible qu’en français et (...)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

Sur d’autres sites (12009)

  • Recursively Converting FLAC to MP3 Using FFmpeg While Maintaining Metadata and Directory Structure on Windows

    20 mars 2017, par elgo2006

    I’m trying to use FFmpeg to convert all of the .flac’s in my music library to .mp3’s while maintaining the metadata and directory structure of the original files. I’ve got everything working so far except for maintaining the directory structure.

    So far I have :

    @echo off
    rem Copies the original directory structure from F:\Music to D:\Music
    xcopy /T %1 %2
    rem Recursively converts files with .flac extension from F:\Music to .mp3 in D:\Music
    for /R %1 %%i in (*.flac) do (
       echo Currently converting "%%~nxi"
       ffmpeg -v quiet -i "%%i" -q:a 0 -map_metadata 0 -id3v2_version 3 -write_id3v1 1 "%2\%%~ni.mp3"
    )
    echo Completed.
    pause

    I feel like my issue is coming from having my FFmpeg output as "%2\%%~ni.mp3" , however I can’t get it to maintain the original directory structure. I have played around with dpni as options for the output, but then it does not convert correctly.

    The .bat is being executed from the command line as convert F:\Music D:\Music

    All music in the original directory has the structure F :\Music\Artist Name\Album Name\Song.flac and I want it to end up as D :\Music\Artist Name\Album Name\Song.mp3.

    Alternatively, is there a way to convert the .flac to an .mp3 within the same directory as the source file and then delete the flac ?

  • FFMPEG Merge a video that has sound with an mp3 audio file outputs audio out of sync [duplicate]

    23 février 2021, par Mahmoud Eidarous

    An example for further explanation :
I'm recording a video singing at the same time the singer sings in a song.
So, I have a video file(Me singing) and the audio file(the song).

    


    I tried this simple command :

    


    -i $video-i $audio-c copy -map 0:0 -map 1:0 -shortest output.mp4


    


    But, it gives an output with the video sound muted(my voice muted).

    


    And I want something more advanced to control the volume of each sound, and add filter to make the output sound sounds like it was recorded in a studio.. so after a long search through the documentation and similar questions, I made up this command here..

    


    -i $video -i $audio -filter_complex "[0:a]aformat=sample_fmts=fltp:sample_rates=44100:channel_layouts=stereo,volume=0.8[a1]; [1:a]aformat=sample_fmts=fltp:sample_rates=44100:channel_layouts=stereo,volume=4[a2]; [a1][a2]amerge,pan=stereo|c0code>

    


    It gives a video output with audio out of sync. (My voice doesn't match the singer).

    


    Any help would be really appreciated !

    


  • Uncomplete path recognition (FFmpeg) [duplicate]

    23 septembre 2022, par Francesco Battisti

    The script should download an entire playlist (only one song for this test) from YT and convert all the downloaded MP4 to MP3 :

    


    from distutils import extension
from pytube import Playlist
import os

link = input("Enter YouTube Playlist URL: ")

yt_playlist = Playlist(link)

for video in yt_playlist.videos:
    downloaded_file = video.streams.filter(only_audio=True).first().download(r"C:\Users\Francesco\Desktop\Music\JC's\+++NEW+++")
    file, extension = os.path.splitext(downloaded_file)
    # Convert video into .mp3 file
    os.system('ffmpeg -i {file}{ext} {file}.mp3'.format(file=file, ext=extension))


    


    Now, when I put the playlist's url in input, the script downloads the song but it can't convert it because :

    


    C:\Users\Francesco\Desktop\Music\JC's\+++NEW+++\Ariete: No such file or directory


    


    but the right path is :

    


    C:\Users\Francesco\Desktop\Music\JC's\+++NEW+++\Ariete - LULTIMA NOTTE Testo  Lyrics


    


    so it stops when is there a space in directory name...