Recherche avancée

Médias (1)

Mot : - Tags -/epub

Autres articles (72)

  • Organiser par catégorie

    17 mai 2013, par

    Dans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
    Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
    Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...)

  • Récupération d’informations sur le site maître à l’installation d’une instance

    26 novembre 2010, par

    Utilité
    Sur le site principal, une instance de mutualisation est définie par plusieurs choses : Les données dans la table spip_mutus ; Son logo ; Son auteur principal (id_admin dans la table spip_mutus correspondant à un id_auteur de la table spip_auteurs)qui sera le seul à pouvoir créer définitivement l’instance de mutualisation ;
    Il peut donc être tout à fait judicieux de vouloir récupérer certaines de ces informations afin de compléter l’installation d’une instance pour, par exemple : récupérer le (...)

  • Le plugin : Podcasts.

    14 juillet 2010, par

    Le problème du podcasting est à nouveau un problème révélateur de la normalisation des transports de données sur Internet.
    Deux formats intéressants existent : Celui développé par Apple, très axé sur l’utilisation d’iTunes dont la SPEC est ici ; Le format "Media RSS Module" qui est plus "libre" notamment soutenu par Yahoo et le logiciel Miro ;
    Types de fichiers supportés dans les flux
    Le format d’Apple n’autorise que les formats suivants dans ses flux : .mp3 audio/mpeg .m4a audio/x-m4a .mp4 (...)

Sur d’autres sites (3551)

  • How could I achieve different transition/animation on text using ffmpeg ? [closed]

    7 mai 2021, par najam ulhassan

    I want to apply certain transition effects on my input text using mobile-ffmpeg i.e. we found in our videos now a days. I have added a transition to explore what I needs : How could I achieve this or related using 'ffmpeg' in android.

    


      

    • Note : I have to work on lyrics...
    • 


    


    preview-gif

    


  • Chiptune Database and API

    14 septembre 2012, par Multimedia Mike — General

    So I set out to create a website that allows people to easily listen to video game music directly through their web browser. I succeeded in that goal. However, I must admit that the project has limited appeal since the web player is delivered via Chrome’s Native Client technology, somewhat limiting its audience. I’m not certain if anyone really expects NaCl to take off in any serious way, but I still have a few other projects in mind.

    I recently realized that, as a side effect of this project, I accidentally created something of significant value to fans of old video games and associated music– a searchable database of chiptune music and metadata. To my knowledge, no one else has endeavored to create such a thing. I figured that I might as well make the database easily accessible with an API and see where it leads.

    To that end, I created 2 API entry points. First, there is the search API located at http://gamemusic.multimedia.cx/api/search/. This can be exercised by ending the URL with a URL-encoded search string, e.g. : http://gamemusic.multimedia.cx/api/search/super+mario. This returns JSON data containing an array of results in decreasing order of relevance. Each result has a game title, database ID, media URL, system type, and an SHA-1 hash. This is the same API that the site’s own search page uses.

    The database ID can be plugged into http://gamemusic.multimedia.cx/api/metadata/ to retrieve the song’s metadata in JSON format. E.g., the ID for Super Mario Bros. 3 on the NES is 161 : http://gamemusic.multimedia.cx/api/metadata/161.

    I recently read an article about sins against true RESTful API principles which led me to believe I’m almost certainly doing this web API stuff wrong. I don’t think it’s a huge deal, though, since I don’t think anyone actually listens to chiptunes any more. But if there are offline chiptune music players that are still in service and actively maintained, perhaps the authors would like to implement this API. It would require some type of HTTP networking library, a JSON parser, the embedded XZ decoder, and some new code to parse through my .gamemusic and .psfarchive formats.

    This database could be a significant value-add to chiptune playback software, and could help people experience classic game music much more easily.

  • Batch file runs in some folder and not others [duplicate]

    10 novembre 2020, par user1738673

    Final update : I have determined code that works in all folders, even those with lots of parentheses. It is as follows :

    


    FOR %%# IN ("*.flac") DO (Title %~nx0 Processing: %%~nx# 
            ffmpeg -i "%%~nx#" -ab 192k -map_metadata 0 -id3v2_version 3 "%%~n#.mp3"
            IF NOT ERRORLEVEL 1 IF EXIST "%%~nx#" DEL /q "%%~nx#")

ECHO Completed %~nx0

PAUSE


    


    The reason for the failure was a combination of parentheses in the folder names and hyphens in the filenames. The most important part of the final code is the double quotes. This resolved the problem with hyphens in the filename. It turned out to not be necessary to have cd /D "%~dp0." as the first line, so I removed it from the code. Thank you to everyone for all of your suggestions. I really appreciate the help and I am glad this was completely resolved.

    


    History Starts here :

    


    After all of the suggestions, here is the code to run in the folder of flac files :

    


    cd /D "%~dp0."

FOR %%# IN ("*.flac") DO (Title %~nx0 Processing: %%~nx#
                ffmpeg -i "%%~nx#" -ab 192k -map_metadata 0 -id3v2_version 3 "%%~n#.mp3")
                    
ECHO Completed %~nx0
PAUSE


    


    Here are my current troubleshooting steps as completed :

    


    I renamed the files in one of the folders in which it does not run to "a.flac", "b.flac", "c.flac", etc. That is to make sure it is not a filename related problem. It did not run.

    


    I renamed the folder itself to a single letter to make sure it was not a folder name issue (F:\MUSIC\j). It did not run.

    


    I copied the entire folder and gave it a new single-letter name (F:\MUSIC\y). It did not run.

    


    I copied the files to a newly-created single-letter named folder at the same directory level (F:\MUSIC\d). It did not work.

    


    I copied the flac files and bat file from the single-letter folder to a newly created single-letter folder. It did not run.

    


    So, I went back the original folder and RENAMED MY .bat FILE from single folder - flac to 192.bat to 192.bat. It ran perfectly.

    


    I went back and renamed the .bat file in all folders described above. They all ran perfectly.

    


    Next, I renamed my master .bat file to single_folder_flac_to_192.bat. I ran it in the original file folder with all of the original names for folder and files. It ran perfectly.

    


    I then copied it into each of the folder described above. It ran perfectly.

    


    I then went back to my original code and renamed it to 192a.bat. This still did not run in the original folder, but ran perfectly in the others I created.

    


    So, I renamed my original folder from F:\MUSIC\Yanni - Live At The Acropolis (1994) [FLAC] to ylata. It did not run.

    


    That is all I have time for before needing to go to work. More at lunch time.

    


    Original Post Starts Here :

    


    I am using Windows 10 Pro on my home PC.

    


    I have a batch file which uses ffmpeg to create mp3 from flac and then delete the flac. It runs perfectly in most folders of music. The code is here :

    


    FOR %%a IN ("*.flac") DO (Title %~0 Processing: %%~na.flac
            ffmpeg -i "%%~na.flac" -ab 192k -map_metadata 0 -id3v2_version 3 "%%~na.mp3"
            if not errorlevel 1 if exist "%%~pna.flac" del /q "%%~pna.flac")
ECHO Completed %~n0
PAUSE
                 


    


    In some folders, when I run the batch, it just blinks and goes away. Yes- there are flac files in the folders.

    


    I have checked the different music folders for their properties (read only, access, etc.) and they look identical. The file names are "normal". It doesn't matter which drive I copy the folder into, the results are the same.

    


    I have run the file as Administrator and get the same result.

    


    What else should I be looking into ?