Recherche avancée

Médias (0)

Mot : - Tags -/configuration

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

Autres articles (93)

  • Contribute to a better visual interface

    13 avril 2011

    MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
    Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community.

  • Contribute to documentation

    13 avril 2011

    Documentation is vital to the development of improved technical capabilities.
    MediaSPIP welcomes documentation by users as well as developers - including : critique of existing features and functions articles contributed by developers, administrators, content producers and editors screenshots to illustrate the above translations of existing documentation into other languages
    To contribute, register to the project users’ mailing (...)

  • Use, discuss, criticize

    13 avril 2011, par

    Talk to people directly involved in MediaSPIP’s development, or to people around you who could use MediaSPIP to share, enhance or develop their creative projects.
    The bigger the community, the more MediaSPIP’s potential will be explored and the faster the software will evolve.
    A discussion list is available for all exchanges between users.

Sur d’autres sites (6565)

  • Iterate recursively in every subfolder and run a batch file

    6 août 2018, par Gokul Nair

    Please look at the following scenario wherein a folder A has many subfolders with different names. These subfolders have n number of .jpg files, which I am trying to scale and crop.

    Folder A\
     SubFolder 01\*.jpg
     SubFolder 02\*.jpg
     .
     .
     .
     SubFolder xx\*.jpg

    These sub-folders are with different names and do not have a trend when it comes to its names.

    I have created a batch file which would scale and crop images. This is working perfectly. I need to run the following command (name of file : ScaleCrop.bat) in each SubFolder xx :

    for %%I in (.) do set CurrDirName=%%~nxI
    for %%a in ("*.JPG") do ffmpeg -i "%%a" -vf ^"scale=-1:260, crop=250:250^" "..\ScaledImages\%CurrDirName%\%%a.JPG"
    for %%a in ("*.JPG") do ffmpeg -i "%%a" -vf ^"scale=260:-1, crop=250:250^" "..\ScaledImages\%CurrDirName%\%%a.JPG"
    pause

    The command Scales and crops the image in the folder and saves these files in to a folder named SacledImages, which too has subfolders of the same name (SubFolder 01, SubFolder 02,…,SubFolderxx).

    I have created another .bat file which I used to copy ScaleCrop.bat to each subfolder.

    for /d %%a in ("C:\Users\Name\Desktop\Folder A\*") do copy " C:\Users\Name\Desktop\Folder A\ScaleCrop.bat" "%%a"

    How could I code a batch file run and execute ScaleCrop.bat from each of these subfolders ?

    I tried using the following code, but this just calls the .bat file inside each subfolder, however it is not executing :

    for /f %%f in ('dir /ad /b') do start %%f\ScaleCrop.bat

    I Tried the following as well, this does the trick, but all images are getting overwritten as the scaled-cropped images are saved on to /SacledImages Folder and not inside ScaledImages/SubFolderxx :

    for /r "C:\ Users\Name\Desktop\Folder A " %%a in (.) do (
     pushd %%a
    for %%I in (.) do set CurrDirName=%%~nxI
    for %%a in ("*.JPG") do ffmpeg -i "%%a" -vf ^"scale=-1:260, crop=250:250^" "..\ScaledImages\%CurrDirName%\%%a.JPG"
    for %%a in ("*.JPG") do ffmpeg -i "%%a" -vf ^"scale=260:-1, crop=250:250^" "..\ScaledImages\%CurrDirName%\%%a.JPG"
    pause
     popd
     )
  • ffmpeg append an audio file to another audio file at position of every 10 seconds

    28 décembre 2018, par manoj kumar

    I want to append an audio file into another audio file at position of every 10 seconds through FFMPEG.

    1. ads.mp3 length 2 seconds (advertisement audio file)
    2. original.mp3 length xxxx seconds
    3. so output file could be as following

    file appending terms

    original.mp3 after 10 seconds append ads.mp3 for 2 seconds then
    again original.mp3 for 10 seconds append ads.mp3 for 2 seconds then
    again original.mp3 for 10 seconds append ads.mp3 for 2 seconds then
    again original.mp3 for 10 seconds ...... so long till end of
    original.mp3 file.

    Thanks

  • Converting Video file to Audio file with ffmpeg, but the resulting Audio is shorter

    4 septembre 2020, par Shaner

    I'm trying to convert from FLV video file to wav audio. However, after creating a wav file, I noticed it's shorter than the video. Halfway through the audio no longer matches up with videos audio (off by about 2 seconds).

    


    Thus, it seems midway through, there are 2 seconds of audio being lost.
How can I fix it so the audio is taken exactly the same as the video ?

    


    Basic code as below :

    


    ffmpeg -i movie.flv -vn audio.wav