Recherche avancée

Médias (9)

Mot : - Tags -/soundtrack

Autres articles (105)

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

  • 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 ;

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

Sur d’autres sites (11106)

  • Ffmpeg error with output file not specified on linux when executing from dockerized new process in .net-core

    29 août 2017, par DutchGuy

    Some time back i created a small program in full .net framework that could rip mp3 and then add meta-info and a thumbnail to it. For innovation sake i started porting the application to .net core. After that i thought it would be cool to run this in docker on Linux. It took some time but i got it working. Now i’m running into the issue where i can rip the mp3 from the video file but when i try to combine the meta-info, thumbnail and mp3 ffmpeg tells me "At least one output file must be specified"

    I added some checks so the program can run on Linux and Windows (to switch paths etc)

    What i tried :

    • running same argument structure on windows (works)
    • Manualy starting the encode on linux (works)
    • Simplifying the names, paths and titles used in the command
    • replacing extra spaces and special characters, only "-" and single spaces allowed

    Below i have an example of the command that does work when i execute it manually but produces the earlier mentioned error when my program executes it. Also keep in mind that ripping the mp3 from the video does result in the desired outputfile.

    ffmpeg -i "temp/vid-id.mp3" -i "temp/vid-id.jpg" -map 0:0 -map 1:0 -c copy -y -id3v2_version 3 -metadata title="title" -metadata artist="artist" -metadata album="album" "completed/file - name.mp3"

    To start this from .net-core context i use the snippet below :

    using (var ffmpegProcess = new Process())
    {
     ffmpegProcess.EnableRaisingEvents = false;
     ffmpegProcess.StartInfo.CreateNoWindow = true;
     ffmpegProcess.StartInfo.UseShellExecute = false;
     ffmpegProcess.StartInfo.FileName = ffmpegPath(); (returns "/bin/bash")

     string command = "ffmpeg " + arguments;

     ffmpegProcess.StartInfo.Arguments = "-c \" " + command + " \"";

     ffmpegProcess.Start();
     ffmpegProcess.WaitForExit();
     ffmpegProcess.Dispose();
    }

    arguments :

    String.Format("-i \"{0}\" -i \"{1}.jpg\" -map 0:0 -map 1:0 -c copy -y -id3v2_version 3 -metadata title=\"{2}\" -metadata artist=\"{3}\" -metadata album=\"{4}\" \"{5}\"",inputFile, albumArtFile, outputTitle, artist, outputAlbum, outputFile);

    To rip the mp3 from the video file i use the same method mentioned above with the following arguments :

    -i "temp/vid-id.mp4" -vn -ab 320k -y -threads 2 "temp/vid-id.mp3"

    This works as expected.
    Arguments :

    String.Format("-i \"{0}\" -vn -ab 320k -y -threads 2 \"{1}\"", inputFile, outputFile);

    Vid-id does not contain spaces, below is and example of how it could look :

    "abcd12ef-gh34i"

    Since the initial ripping is working i cant figure out why Ffmpeg complains about the second operation. The only real difference between the two operations is that in the second one the output-file name can contain spaces. But even then, running the same command manually does work and produces the desired file in the completed dir.

    Update
    After more troubleshooting i have now narrowed the problem down to the usage of the metadata arguments. Still can’t figure out why

    Update
    The problem is with the spaces in the naming i have chosen. On linux the spaces are interpreted as end of file name. Any pointer how i can still use the naming with spaces ?

  • Annual Release of External-Videos plugin – we’ve hit v1.0

    13 janvier 2017, par silvia

    This is the annual release of my external-videos wordpress plugin and with the help of Andrew Nimmolo I’m proud to annouce we’ve reached version 1.0 !

    So yes, my external-videos wordpress plugin is now roughly 7 years old, who would have thought ! During the year, I don’t get the luxury of spending time on maintaining this open source love child of mine, but at Christmas, my bad conscience catches up with me – every year ! I then spend some time going through bug reports, upgrading the plugin to the latest wordpress version, upgrading to the latest video site APIs, testing functionality and of course making a new release.

    This year has been quite special. The power of open source has kicked in and a new developer took an interest in external-videos. Andrew Nimmolo submitted patches over all of 2016. He decided to bring the external-videos plugin into the new decade with a huge update to the layout of the settings pages, general improvements, and an all-round update of all the video site APIs which included removing their overly complex SDKs and going straight for the REST APIs.

    Therefore, I’m very proud to be able to release version 1.0 today. Thanks, Andrew !

    Enjoy – and I look forward to many more contributions – have a Happy 2017 !

    NOTE : If you’re upgrading from an older version, you might need to remove and re-add your social video sites because the API details have changed a bit. Also, we noticed that there were layout issues on WordPress 4.3.7, so try and make sure your WordPress version is up to date.

    The post Annual Release of External-Videos plugin – we’ve hit v1.0 first appeared on ginger’s thoughts.

  • Use FFMPEG to create GTA 5 style loading screen/video

    7 mai 2021, par Archer

    Goal :
Using FFMPEG I would like to make something like these GTA 5 loading screens using only some elements. The goal is to be automated in the end so I can generate thousands of videos with the elements below placed in different folders. https://youtu.be/0A4K0bCkYdg?t=108

    


    Input files :

    


      

    1. background.jpg
    2. 


    3. foreground.png
    4. 


    5. logo.png
    6. 


    7. theme.mp3
    8. 


    


    Current command :

    


    ffmpeg.exe -i background.jpg -i foreground.png -i logo.png -i theme.mp3 -filter_complex " \
[0:v]scale=1920:1080 [background_1], \
[1:v]scale=500:500:force_original_aspect_ratio=decrease [foreground_1], \
[2:v]scale=350:350:force_original_aspect_ratio=decrease [logo_1], \
[background_1]zoompan=z='if(lte(mod(on,50),25),zoom+0.0005,zoom-0.0005)':x=iw/2-(iw/zoom)/2:y=ih/2-(ih/zoom)/2:d=60*60:s=hd1080 [background_2], \
[background_2][foreground_1]overlay=x='min((W-(W*0.3)-n),((W*0.3)+n)):y=H-h' [bg_fg], \
[bg_fg][logo_1]overlay=x=30:y=H-h-30 \
" loading.mkv


    


    This code started from a suggestion on a reddit post I made, but have made some adjustments.

    


    After the inputs I am first scaling the background image in the event it is not the correct ratio already. Then scaling the foreground image and logo image.

    


    The next 2 are what I need help with. The zooming of the background_1 and the scrolling/panning of the foreground_1.

    


    Question 1 : Before the zooming starts occurring is it possible to distort the image like shown, so I can start with a normal rectangular background image ?

    


    Question 2 : I would like the zooming to be much closer to what is happening in the youtube example. How would I achieve this ? The zoompan filter is not making much sense to me at the moment.

    


    Question 3 : With the scrolling/panning of the foreground. How can I start this at 30% in x and go to 70% in x... then back to 30% and repeat for the entire length ? Also how to slow it down ? This answer helped me to understand this somewhat, but using the min example they provided did not work for me and there was no motion at all.

    


    The logo placement is next and I am good with that for now.

    


    Any input would be greatly appreciated.