Recherche avancée

Médias (0)

Mot : - Tags -/content

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

Autres articles (16)

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

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

Sur d’autres sites (4547)

  • PermissionError : [WinError 5] Access is denied when trying create VideoFileClip object for video

    7 février 2019, par Alex Goft

    Im using python 3.6 and this is a module from my project -

    import os
    import time

    from moviepy.video.io.VideoFileClip import VideoFileClip

    def add_audio_to_file(original_video, dest_video):
       suffix = original_video.split(".")[-1]
       directory_path = os.path.dirname(dest_video)
       temp_name = os.path.join(directory_path, "temp_vid_{}.{}".format(time.time(), suffix))
       os.rename(dest_video, temp_name)

       os.chmod(original_video, 777)

       orig_videoclip = VideoFileClip(original_video)
       audioclip = orig_videoclip.audio
       redorded_videoclip = VideoFileClip(temp_name)
       with_audio_clip = redorded_videoclip.set_audio(audioclip)
       with_audio_clip.write_videofile(dest_video, progress_bar=False, threads=6, verbose=False)
       os.remove(temp_name)

    I get the following error :

    Traceback (most recent call last):
     File "C:\Users\Borat\AppData\Local\Programs\Python\Python36\lib\threading.py", line 916, in _bootstrap_inner
       self.run()
     File "C:\Users\Borat\AppData\Local\Programs\Python\Python36\lib\threading.py", line 864, in run
       self._target(*self._args, **self._kwargs)
     File "C:\MOT_Server\olympus-skeleton\core\step\step_action\utils\async_queue_reader.py", line 56, in _start_reading_from_queue
       self._new_objects_in_queue_function(queue_objects)
     File "C:\MOT_Server\olympus-skeleton\core\step\step_action\handler\async_handler.py", line 29, in _listener_to_handler_queue_messages_handler
       messages = self._handle_function(messages)
     File "C:\MOT_Server\olympus-skeleton\core\step\step.py", line 261, in process
       processed_messages = handler(curr_messages)
     File "C:\MOT_Server\olympus-skeleton\core\step\step.py", line 239, in _handle_message
       final_messages = self._process(messages_to_process) or []
     File "C:\MOT_Server\olympus-skeleton\components\steps\output_step\output_step.py", line 40, in _process
       publisher.publish(messages)
     File "C:\MOT_Server\olympus-skeleton\core\publisher\publisher.py", line 28, in publish
       self._publish(messages)
     File "C:\MOT_Server\olympus-skeleton\components\publishers\filesystem_cleaner_publisher\filesystem_cleaner_publisher.py", line 32, in _publish
       files_to_delete = self._serializer.serialize(message)
     File "C:\MOT_Server\olympus-skeleton\components\serializers\mot_serializers\job_completed_verifier_serializer.py", line 182, in serialize
       self._add_audio_to_vid(original_video, dest_video)
     File "C:\MOT_Server\olympus-skeleton\components\serializers\mot_serializers\job_completed_verifier_serializer.py", line 201, in _add_audio_to_vid
       add_audio_to_file(original_video, dest_video)
     File "C:\MOT_Server\olympus-skeleton\utils\recorder_utils\audio_utils.py", line 17, in add_audio_to_file
       orig_videoclip = VideoFileClip(original_video)
     File "C:\Users\Borat\AppData\Local\Programs\Python\Python36\lib\site-packages\moviepy\video\io\VideoFileClip.py", line 91, in __init__
       fps_source=fps_source)
     File "C:\Users\Borat\AppData\Local\Programs\Python\Python36\lib\site-packages\moviepy\video\io\ffmpeg_reader.py", line 33, in __init__
       fps_source)
     File "C:\Users\Borat\AppData\Local\Programs\Python\Python36\lib\site-packages\moviepy\video\io\ffmpeg_reader.py", line 259, in ffmpeg_parse_infos
       proc.terminate()
     File "C:\Users\Borat\AppData\Local\Programs\Python\Python36\lib\site-packages\gevent\subprocess.py", line 982, in terminate
       TerminateProcess(self._handle, 1)
    PermissionError: [WinError 5] Access is denied

    I checked the permissions and everything seems ok. In addition, i tried to change the permissions using os.chmod(original_video, 777), but still without any success.

  • ffmpeg for a android (using tutorial : "ffmpeg and Android.mk")

    13 septembre 2023, par Matthias

    I am trying to compile ffmpeg for a android. I have found several posts on this theme but non of these seems to work. If tried to build ffmpeg like it is posted on [1]. Did anybody successfully compile ffmpeg using theses tutorial ?
I am not sure how to realize step 4 to 5.

    



    


    STEP4 : Configuring ...

    
 


    STEP5 : cd to your NDK root dir, type make TARGET_ARCH=arm APP=ffmpeg-org

    


    



    It seems to me that building an application like it is explained in the tutorial in step 5 need some previous steps. Unfortunately I have no app in the folder to make. I am using the current android ndk release 3 and checked out the actual ffmpeg releases from [3] and [4]. I am thankful for every advice.

    



    [1] http://slworkthings.wordpress.com/
    
[2] http://gitorious.org/ olvaffe/ffmpeg/ffmpeg-android
    
[3] http://ffmpeg.org/download.html

    


  • UDP to MP4 transcoding via ffmpeg

    30 juillet 2013, par Andrew J. Freyer

    I have not been able go find any substantial documentation to answer this question, so please forgive me if this is a simple question.

    Quite simply, I am trying to transcode a UDP video stream to a live MP4 stream with ffmpeg.

    I have been unable to successfully implement either step here. Any help or advice is appreciated.