Recherche avancée

Médias (29)

Mot : - Tags -/Musique

Autres articles (49)

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

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

Sur d’autres sites (10820)

  • OSError : [WinError 126] When Tried to Install WhisperAI [closed]

    11 mars 2024, par Kagamine09

    I've been trying to use WhisperAI on my PC and after following all the steps from here, I got this error :

    


    C:\Users\acer>whisper Traceback (most recent call last):   File "<frozen runpy="runpy">", line 198, in _run_module_as_main   File "<frozen runpy="runpy">", line 88, in _run_code   File "C:\Program Files\Python312\Scripts\whisper.exe\__main__.py", line 4, in <module>  File "C:\Users\acer\AppData\Roaming\Python\Python312\site-packages\whisper\__init__.py", line 8, in <module>&#xA;    import torch   File "C:\Users\acer\AppData\Roaming\Python\Python312\site-packages\torch\__init__.py", line 141, in <module>&#xA;    raise err OSError: [WinError 126] The specified module could not be found. Error loading "C:\Users\acer\AppData\Roaming\Python\Python312\site-packages\torch\lib\cudnn_cnn_infer64_8.dll" or one of its dependencies.&#xA;</module></module></module></frozen></frozen>

    &#xA;

    I've tried to reinstall everything, moved files to "Path" folder but still no luck.

    &#xA;

  • Ffmpeg behaving intermittently

    10 mars 2024, par confused

    I'm noticing something weird, for the first time ever today, and I'm not sure what the problem could even possibly be.

    &#xA;

    I first noticed it while stripping videos with a python script I wrote. Now I realize it is even happen with command line entry.

    &#xA;

    Some, but not all videos, and some but not all segments within the same video are not stripping correctly. I'm taking numerous 1-2 hour long videos and cutting segments out of it. When I go to look at the video clip afterwards it automatically jumps to 2, 5, 8, 10 seconds into the video and starts playing there. It depends on the video segment as to how far ahead it skips. If I try to get it to go back and play the first part of the video it won't, it just jumps back to the 2-10 second jump ahead spot and plays from there. In further investigating it is stripping the audio off correctly and keep all the first 2-10 seconds of the audio with the video clip, but it is not picking up the first 2-10 seconds of the video. When I go into VLC Media Player and try to go back to the beginning I have a frozen image on the screen until I get to the 'predestined' 2-10 second mark, and then the video will play fine. When I watch the original video, it is okay but when I strip it the new video doesn't pick up the beginning of the video. Finally had to go to VLC media player to figure that part out as it was the only one who even let me play the underlying audio, every other media player wanted to jump ahead and skip the entire first 2-10 seconds altogether.

    &#xA;

    This is happening with numerous different videos and video segments within the same video. Some segments it will strip fine others it won't.

    &#xA;

    This occurs either way, python or command line. I just checked and the underlying video plays fine in the regular media player, until I strip the video, then it wants to skip the first 10 seconds.

    &#xA;

    How might I fix this problem ?

    &#xA;

  • Python ffmpeg issue

    7 mars 2024, par SDailey

    I have a Python script which takes short videos (somewhere just over a minute long) and does the following

    &#xA;

      &#xA;
    1. strips original audio from mp4 video file&#xA;ffmpeg -i 1.mp4 -vcodec copy -an nosound_1.mp4"
    2. &#xA;

    3. gets the length in seconds for an existing mp3 that will be inserted&#xA;ffmpeg.probe(&#x27;1.mp3&#x27;)[&#x27;format&#x27;][&#x27;duration&#x27;]
    4. &#xA;

    5. If the mp3 length is 57 seconds or above&#xA;trim the mp4 video to 58 seconds&#xA;ffmpeg -i nosound_1.mp4 -ss 00:00:00 -t 00:00:58 -c copy trimmed_1.mp4&#xA;else&#xA;trim the mp4 video to mp3 length + 2&#xA;ffmpeg -i nosound_1.mp4 -ss 00:00:00 -t 00:00:length&#x2B;2 -c copy trimmed_1.mp4
    6. &#xA;

    7. insert mp3 into newly trimmed video&#xA;input_video = ffmpeg.input(&#x27;/path/to/trimmed_1.mp4&#x27;)&#xA;input_audio = ffmpeg.input(&#x27;/path/to/1.mp3&#x27;)&#xA;ffmpeg.concat(input_video, input_audio, v=1, a=1).output(&#x27;new_1.mp4&#x27;).run()
    8. &#xA;

    &#xA;

    However, about a third of the time, the final video stream seems to have been compressed to finish at about 54 seconds - so although the video continues "playing" and the audio plays correctly until the end (usually 58 seconds), the video stream freezes on the last video frame at 54 seconds.

    &#xA;

    So, if I watch trimmed_1.mp4, the video plays for 58 seconds, and let's say the last frame of the video is someone raising their hand.&#xA;The new_1.mp4 (trimmed_1 combined with 1.mp3), when played, seems to hit that last frame of someone raising their hand at the 54-second mark, so it looks like the video stream was slightly sped up to finish at the 54-second mark, and for the last 4 seconds makes it look like the video stream is frozen because it's showing the last frame while the audio continues to play.

    &#xA;

    What is going wrong, and how can I fix it ?

    &#xA;