Recherche avancée

Médias (0)

Mot : - Tags -/protocoles

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

Autres articles (20)

  • Contribute to translation

    13 avril 2011

    You can help us to improve the language used in the software interface to make MediaSPIP more accessible and user-friendly. You can also translate the interface into any language that allows it to spread to new linguistic communities.
    To do this, we use the translation interface of SPIP where the all the language modules of MediaSPIP are available. Just subscribe to the mailing list and request further informantion on translation.
    MediaSPIP is currently available in French and English (...)

  • List of compatible distributions

    26 avril 2011, par

    The table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
    If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...)

  • Submit bugs and patches

    13 avril 2011

    Unfortunately a software is never perfect.
    If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
    If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
    You may also (...)

Sur d’autres sites (5105)

  • Python script doesn't work properly when ran through terminal, but works fine in Jupyter and Visual Studio

    21 octobre 2018, par Ivan Novikov

    I have a script to extract the audio from all video files in a folder.

    The folder with videos is located at : /Users/MyName/Downloads/Video_Audio_files

    When I try to run it through terminal and I’m prompted for the folder path folder = input("Path to folder:"), I drag and drop it there (which is how I got the above path), but the script doesn’t seem to be working (stuck at 0 out of 7 and no output files).

    When I input exactly the same path when prompted in Jupyter Notebook or in Visual Studio it works perfectly !

    Edit : I think I have found the issue, when I drag and drop the folder, there is an extra space (’Downloads/folder ’ instead of ’Downloads/folder’).

    pbar = ProgressBar()
    files = []
    extensions = []
    folder = input("Path to folder:")
    #folder = 'Video_Audio_files'
    pathlist = Path(folder).glob('**/*.mp4')
    for path in pathlist:
       path_in_str = str(path)
       name = path_in_str.split("/")[1]
       files.append(path_in_str.split(".")[0])
       extensions.append(path_in_str.split(".")[1])

    os.system('cd ' + folder)

    for i in pbar(range(len(files))):
       video_format = extensions[i]
       video_name = files[i]
       output_format = 'flac'
       output_name = video_name + '_audio'

       bashCommand = 'ffmpeg -i ' + video_name + '.'   + video_format + ' -f ' + output_format + ' -ab 192000 -vn ' + output_name + '.' + output_format
    #should be of this format: bashCommand = 'ffmpeg -i Video.mp4 -f flac -ab 192000 -vn ExtractedAudio.flac'

       os.system(bashCommand)
  • How to limit cpu usage for a terminal command that works on m1 mac and macOS Monterey ?

    18 juin 2024, par mcaay

    I have a m1 macbook pro and I regularly need to do some heave processing with ffmpeg. When I do it, all my 8 cores go at it 100% and my cpu temperature goes to 92°C, which I don't feel comfortable about.

    


    I don't really need 100% speed, I'd much rather see 80°C and wait 5x longer for it to finish.

    


    I use Macs Fan Control which sets my fan at 100% at 75°C, so this helps definitely, but is not enough.

    


    I tried ffmpeg -threads 1 parameter but it doesn't make a difference in compressing speed nor temperature, so I assume it just doesn't work.

    


    I tried cpulimit -l 60 -i ffmpeg ... and it doesn't change a thing, so I assume it also doesn't work. cpulimit -l value gives 100% for every core, so cpulimit -l 800 should be 100%, -l 400 should be 50% and -l 60 should be 7.5%.

    


    I tried nice and it is not for my use case. Even with the lowest priority the task uses all available cpu, resulting in 92°C.

    


    Did anybody figure it out for m1 macs already ?

    


  • How to execute this ffmpeg command for multiple videos is a folder on Linux terminal

    3 février 2023, par average_grad_student

    I'm trying to change the framerate of my video to 15fps and I need to do that for 100+ videos that are in the same folder

    


    For processing a single video I use the following command-
ffmpeg -i input.mp4 -filter:v fps=fps=15 processed/input_15fpst.mp4

    


    How do I do this for multiple videos in the folder and add a suffix _15fps to them ? I'm not very familiar with Linux programming

    


    Thank you so much !

    


    I tried doing this-
    
for f in *.MP4; do ffmpeg -i "$f" -filter:v fps=fps=15 process/"$f"; done

    


    But I want to rename the file as well, how do I change my loop ?