Recherche avancée

Médias (91)

Autres articles (76)

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

  • Configurer la prise en compte des langues

    15 novembre 2010, par

    Accéder à la configuration et ajouter des langues prises en compte
    Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
    De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
    Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)

  • XMP PHP

    13 mai 2011, par

    Dixit Wikipedia, XMP signifie :
    Extensible Metadata Platform ou XMP est un format de métadonnées basé sur XML utilisé dans les applications PDF, de photographie et de graphisme. Il a été lancé par Adobe Systems en avril 2001 en étant intégré à la version 5.0 d’Adobe Acrobat.
    Étant basé sur XML, il gère un ensemble de tags dynamiques pour l’utilisation dans le cadre du Web sémantique.
    XMP permet d’enregistrer sous forme d’un document XML des informations relatives à un fichier : titre, auteur, historique (...)

Sur d’autres sites (7665)

  • What does "Error in the pull function" mean while executing ffmpeg command ?

    8 avril 2022, par Alex Rypun

    I'm trying to generate a video from multiple video sources (https urls).

    


    If I use say 8 video sources it works as expected. But if I need say 30 sources, it starts to work as expected, but at some moment a lot of errors appear.

    


    enter image description here

    


    I believe the main one is Error in the pull function..

    


    Such a video-source appears in the output file but not a full requested part (e.g., I set trim=0:5, but ffmpeg generates only 3 seconds).

    


    I tried different videos, different cropped parts, loaded sources to aws s3, but can't identify a "bad case", it's reproduced with different options.

    


    My command looks like this :

    


    ffmpeg -y
-i "https://player.vimeo.com/external/399541658.hd.mp4?s=5432956383527af00bb74b41c120bbb84ff3ac5e&profile_id=175&oauth2_token_id=57447761"
...
-i "https://player.vimeo.com/external/464966383.hd.mp4?s=648aa8277259c499f1d05d6330f9922932c080a6&profile_id=175&oauth2_token_id=57447761"
-i "https://test.com/development/videos/dc3c32cf9a194db1bb52/sources/5q5e3j2h57.mp3"
-filter_complex "[0:v]trim=0:5.64,setpts=PTS-STARTPTS,scale=1920x1080,setdar=16/9[v0];[1:v]trim=0:8,setpts=PTS-STARTPTS,scale=1920x1080,setdar=16/9,loop=0:32767[v1]; ... [10:v]trim=0:13,setpts=PTS-STARTPTS,scale=1920x1080,setdar=16/9[v10];[v0] ... [v10] concat=n=11:v=1 [video];[11:a] atrim=0:99.29 [audio]"
-vsync 2 -map [video] -map [audio] output.mp4


    


    When I downloaded all sources to my local machine and tried to use them in the ffmpeg command it worked fine without errors.

    


    Also, I figured out that it depends on the CPU. When I restricted my CPU the errors appeared earlier. And some commands might produce errors with a restricted CPU but finished successfully with no CPU restriction.

    


    As I understand, for some reason, ffmpeg fails to receive a particular part of a file data, but I believe it should retry to receive lost packages (it's https).

    


    And I don't understand, how it could be related to CPU or sources quantity.

    


    By not understanding the core of evil, I can think about 2 ways (both ugly) :

    


      

    1. to download all sources and generate the final video from local files ;
    2. 


    3. to chunk sources, generate intermediate outputs for each chunk (and save locally), and concatenate them into the final one.
    4. 


    


    Any better suggestions or at least where to seek ?

    


  • How to add custom glsl transition file in ffmpeg command ? Getting error like when adding glsl file is "No such filter : 'gltransition"

    22 avril 2022, par Dinesh Reddy

    I was tried with using command

    


    


    ffmpeg -i hiking.mp4 -i video2.mp4 -filter_complex "gltransition=duration=4:offset=1.5:source=crosswarp.glsl" -y outputFile.mp4

    


    


    After running this command getting error like
ERROR MESSAGE

    


    


    No such filter : 'gltransition'

    


    


    I found the way to add transitions using ffmpeg-concat library but in this way can add inbuilt transition names but in my case need to add custom transition glsl file in ffmpeg command

    


    How to overcome from this error in windows system ?

    


  • While converting MP4 to MP3, I am getting "Moviepy - Command returned an error" ?

    15 juin 2022, par raj sharma

    Moviepy - Command returned an error Internal Server Error : /api/aws/transcribe Traceback (most recent call last) : File "/home/web_admin_WT/video_transcript/env/lib/python3.6/site-packages/django/core/handlers/exception.py", line 47, in inner response = get_response(request) File "/home/web_admin_WT/video_transcript/env/lib/python3.6/site-packages/django/core/handlers/base.py", line 181, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) File "/home/web_admin_WT/video_transcript/env/lib/python3.6/site-packages/django/views/decorators/csrf.py", line 54, in wrapped_view return view_func(*args, **kwargs) File "/home/web_admin_WT/video_transcript/env/lib/python3.6/site-packages/django/views/generic/base.py", line 70, in view return self.dispatch(request, *args, **kwargs) File "/home/web_admin_WT/video_transcript/env/lib/python3.6/site-packages/rest_framework/views.py", line 509, in dispatch response = self.handle_exception(exc) File "/home/web_admin_WT/video_transcript/env/lib/python3.6/site-packages/rest_framework/views.py", line 469, in handle_exception self.raise_uncaught_exception(exc) File "/home/web_admin_WT/video_transcript/env/lib/python3.6/site-packages/rest_framework/views.py", line 480, in raise_uncaught_exception raise exc File "/home/web_admin_WT/video_transcript/env/lib/python3.6/site-packages/rest_framework/views.py", line 506, in dispatch response = handler(request, *args, **kwargs) File "/home/web_admin_WT/video_transcript/wtvideo_transcript/aws_transcript/views.py", line 13, in post transcribe_id, success_status = aws_transcribe(urls) File "/home/web_admin_WT/video_transcript/wtvideo_transcript/aws_transcript/helper.py", line 26, in aws_transcribe s3_url = upload_file_s3(url) File "/home/web_admin_WT/video_transcript/wtvideo_transcript/aws_transcript/helper.py", line 133, in upload_file_s3 moviepy.video.io.ffmpeg_tools.ffmpeg_extract_audio(url, download_path) File "/home/web_admin_WT/video_transcript/env/lib/python3.6/site-packages/moviepy/video/io/ffmpeg_tools.py", line 59, in ffmpeg_extract_audio subprocess_call(cmd) File "/home/web_admin_WT/video_transcript/env/lib/python3.6/site-packages/moviepy/tools.py", line 56, in subprocess_call raise IOError(err.decode('utf8')) OSError : ffmpeg version 4.2.2-static https://johnvansickle.com/ffmpeg/ Copyright (c) 2000-2019 the FFmpeg developers built with gcc 8 (Debian 8.3.0-6) configuration : —enable-gpl —enable-version3 —enable-static —disable-debug —disable-ffplay —disable-indev=sndio —disable-outdev=sndio —cc=gcc —enable-fontconfig —enable-frei0r —enable-gnutls —enable-gmp —enable-libgme —enable-gray —enable-libaom —enable-libfribidi —enable-libass —enable-libvmaf —enable-libfreetype —enable-libmp3lame —enable-libopencore-amrnb —enable-libopencore-amrwb —enable-libopenjpeg —enable-librubberband —enable-libsoxr —enable-libspeex —enable-libsrt —enable-libvorbis —enable-libopus —enable-libtheora —enable-libvidstab —enable-libvo-amrwbenc —enable-libvpx —enable-libwebp —enable-libx264 —enable-libx265 —enable-libxml2 —enable-libdav1d —enable-libxvid —enable-libzvbi —enable-libzimg libavutil 56. 31.100 / 56. 31.100 libavcodec 58. 54.100 / 58. 54.100 libavformat 58. 29.100 / 58. 29.100 libavdevice 58. 8.100 / 58. 8.100 libavfilter 7. 57.100 / 7. 57.100 libswscale 5. 5.100 / 5. 5.100 libswresample 3. 5.100 / 3. 5.100 libpostproc 55. 5.100 / 55. 5.100 h : No such file or directory

    


    I getting this error when i am trying to convert MP4 to MP3 using Moviepy library of python. Can someone please tell me how can i solve it