Recherche avancée

Médias (91)

Autres articles (103)

  • Gestion des droits de création et d’édition des objets

    8 février 2011, par

    Par défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;

  • Dépôt de média et thèmes par FTP

    31 mai 2013, par

    L’outil MédiaSPIP traite aussi les média transférés par la voie FTP. Si vous préférez déposer par cette voie, récupérez les identifiants d’accès vers votre site MédiaSPIP et utilisez votre client FTP favori.
    Vous trouverez dès le départ les dossiers suivants dans votre espace FTP : config/ : dossier de configuration du site IMG/ : dossier des média déjà traités et en ligne sur le site local/ : répertoire cache du site web themes/ : les thèmes ou les feuilles de style personnalisées tmp/ : dossier de travail (...)

  • ANNEXE : Les plugins utilisés spécifiquement pour la ferme

    5 mars 2010, par

    Le site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)

Sur d’autres sites (11973)

  • Add a text/caption to the first few seconds of a cut video ?

    6 mai 2022, par JR Jr.

    I want to cut a video and at the same time add a caption during the first few seconds of the video using drawtext. I have tried lots of different google searches but all turned out to be totally unhelpful for this specific purpose (even the answers on the SS pages). Also, I am on Windows, I don't care for other OS's, such as Unix/ubuntu/Mac.

    


    Let's use the below cut syntax as an example. It's cutting and changing the format from mkv to mp4, and I want to add a simple title to be displayed in the first 5 seconds of the video, since this will be done to various files and then they will be concatenated together and it's good to let the viewer know which movie each excerpt belongs to (without doing that manually for each single video, the goal is to add these texts to each of the below commands).

    


    "C:\ffmpeg\bin\ffmpeg.exe" -y -i "D:\S01\SATC - S01E03 - Bay of Married Pigs.mkv" -ss 00:18:05 -to 00:19:15 -codec copy "002-SATC - S01E03 - Bay of Married Pigs-00_18_05-00_19_15.mp4"


    


    Let's say I want to add the title "S01E03 - Bay of Married Pigs" in the center of the screen, in white, with font size 12, displayed between 1 and 5 seconds. How do I do that ?

    


    And more importantly, since these syntaxes tend to make the command line insanely long and it needs to be a one liner, is there a smarter way to feed the settings/configuration of the drawtext clause into the command line, as to not make the code very messy, long and chaotic ?
Besides, do white spaces matter/would misplaced blank spaces make the command line crash ?

    


    Been trying this for hours now, so I really appreciate your help on this.

    


  • Unable to find a suitable output format for 'ffmpeg' for joining mp4 audio with mp4 audio

    10 juin 2022, par dre_84w934

    I want to add audio from a mp4 file to a video form a mp4 file with FFmpeg. I am using this command ffmpeg -i video.mp4 -i audio.mp4 -c:v copy -c:a aac output.mp4. However FFmpeg is throwing Unable to find a suitable output format for 'ffmpeg'. I've added the log below for more information. How can I fix this ? Is this because both and audio files are in mp4 format ?

    


    Here's the error log :

    


    2021-11-15 23:52:20.698658+0200 app[666:70371] [javascript]   libavutil      56. 55.100 / 56. 55.100
2021-11-15 23:52:20.698892+0200 app[666:70371] [javascript]   libavcodec     58. 96.100 / 58. 96.100
2021-11-15 23:52:20.699091+0200 app[666:70371] [javascript]   libavformat    58. 48.100 / 58. 48.100
2021-11-15 23:52:20.699299+0200 app[666:70371] [javascript]   libavdevice    58. 11.101 / 58. 11.101
2021-11-15 23:52:20.699501+0200 app[666:70371] [javascript]   libavfilter     7. 87.100 /  7. 87.100
2021-11-15 23:52:20.705405+0200 app[666:70371] [javascript]   libswscale      5.  8.100 /  5.  8.100
2021-11-15 23:52:20.705768+0200 app[666:70371] [javascript]   libswresample   3.  8.100 /  3.  8.100
2021-11-15 23:52:20.716141+0200 app[666:70371] [javascript] Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/var/mobile/Containers/Data/Application/Documents/video.mp4':
2021-11-15 23:52:20.716431+0200 app[666:70371] [javascript]   Metadata:
2021-11-15 23:52:20.716646+0200 app[666:70371] [javascript]     major_brand     :
2021-11-15 23:52:20.716849+0200 app[666:70371] [javascript] isom
2021-11-15 23:52:20.717051+0200 app[666:70371] [javascript] 
2021-11-15 23:52:20.717248+0200 app[666:70371] [javascript]     minor_version   :
2021-11-15 23:52:20.717443+0200 app[666:70371] [javascript] 512
2021-11-15 23:52:20.717637+0200 app[666:70371] [javascript] 
2021-11-15 23:52:20.717827+0200 app[666:70371] [javascript]     compatible_brands:
2021-11-15 23:52:20.718035+0200 app[666:70371] [javascript] isomiso2avc1mp41
2021-11-15 23:52:20.718232+0200 app[666:70371] [javascript] 
2021-11-15 23:52:20.718460+0200 app[666:70371] [javascript]     encoder         :
2021-11-15 23:52:20.718659+0200 app[666:70371] [javascript] Lavf58.48.100
2021-11-15 23:52:20.718866+0200 app[666:70371] [javascript] 
2021-11-15 23:52:20.719064+0200 app[666:70371] [javascript]   Duration:
2021-11-15 23:52:20.719276+0200 app[666:70371] [javascript] 00:00:28.67
2021-11-15 23:52:20.719480+0200 app[666:70371] [javascript] , start:
2021-11-15 23:52:20.719682+0200 app[666:70371] [javascript] 0.000000
2021-11-15 23:52:20.719872+0200 app[666:70371] [javascript] , bitrate:
2021-11-15 23:52:20.720425+0200 app[666:70371] [javascript] 6170 kb/s
2021-11-15 23:52:20.720860+0200 app[666:70371] [javascript] 
2021-11-15 23:52:20.721073+0200 app[666:70371] [javascript]     Stream #0:0
2021-11-15 23:52:20.721385+0200 app[666:70371] [javascript] (und)
2021-11-15 23:52:20.721623+0200 app[666:70371] [javascript] : Video: h264 (avc1 / 0x31637661), yuv420p(tv), 720x1280, 6166 kb/s
2021-11-15 23:52:20.721831+0200 app[666:70371] [javascript] ,
2021-11-15 23:52:20.722030+0200 app[666:70371] [javascript] 30 fps,
2021-11-15 23:52:20.722229+0200 app[666:70371] [javascript] 30 tbr,
2021-11-15 23:52:20.722426+0200 app[666:70371] [javascript] 19200 tbn,
2021-11-15 23:52:20.722622+0200 app[666:70371] [javascript] 38400 tbc
2021-11-15 23:52:20.722818+0200 app[666:70371] [javascript]  (default)
2021-11-15 23:52:20.723013+0200 app[666:70371] [javascript] 
2021-11-15 23:52:20.723223+0200 app[666:70371] [javascript]     Metadata:
2021-11-15 23:52:20.723424+0200 app[666:70371] [javascript]       handler_name    :
2021-11-15 23:52:20.723624+0200 app[666:70371] [javascript] Core Media Video
2021-11-15 23:52:20.723820+0200 app[666:70371] [javascript] 
2021-11-15 23:52:20.724032+0200 app[666:70371] [javascript] Input #1, mov,mp4,m4a,3gp,3g2,mj2, from '/var/mobile/Containers/Data/Application/Documents/audio.mp4':
2021-11-15 23:52:20.724232+0200 app[666:70371] [javascript]   Metadata:
2021-11-15 23:52:20.724430+0200 app[666:70371] [javascript]     major_brand     :
2021-11-15 23:52:20.724627+0200 app[666:70371] [javascript] isom
2021-11-15 23:52:20.724822+0200 app[666:70371] [javascript] 
2021-11-15 23:52:20.725025+0200 app[666:70371] [javascript]     minor_version   :
2021-11-15 23:52:20.725227+0200 app[666:70371] [javascript] 512
2021-11-15 23:52:20.725426+0200 app[666:70371] [javascript] 
2021-11-15 23:52:20.725624+0200 app[666:70371] [javascript]     compatible_brands:
2021-11-15 23:52:20.725820+0200 app[666:70371] [javascript] isomiso2mp41
2021-11-15 23:52:20.726026+0200 app[666:70371] [javascript] 
2021-11-15 23:52:20.726230+0200 app[666:70371] [javascript]     encoder         :
2021-11-15 23:52:20.726427+0200 app[666:70371] [javascript] Lavf58.48.100
2021-11-15 23:52:20.726624+0200 app[666:70371] [javascript] 
2021-11-15 23:52:20.726827+0200 app[666:70371] [javascript]   Duration:
2021-11-15 23:52:20.727025+0200 app[666:70371] [javascript] 00:00:28.65
2021-11-15 23:52:20.727230+0200 app[666:70371] [javascript] , start:
2021-11-15 23:52:20.727428+0200 app[666:70371] [javascript] 0.000000
2021-11-15 23:52:20.727627+0200 app[666:70371] [javascript] , bitrate:
2021-11-15 23:52:20.727829+0200 app[666:70371] [javascript] 93 kb/s
2021-11-15 23:52:20.728025+0200 app[666:70371] [javascript] 
2021-11-15 23:52:20.728220+0200 app[666:70371] [javascript]     Stream #1:0
2021-11-15 23:52:20.728414+0200 app[666:70371] [javascript] (eng)
2021-11-15 23:52:20.728733+0200 app[666:70371] [javascript] : Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 91 kb/s
2021-11-15 23:52:20.728941+0200 app[666:70371] [javascript]  (default)
2021-11-15 23:52:20.729134+0200 app[666:70371] [javascript] 
2021-11-15 23:52:20.729339+0200 app[666:70371] [javascript]     Metadata:
2021-11-15 23:52:20.729593+0200 app[666:70371] [javascript]       handler_name    :
2021-11-15 23:52:20.729799+0200 app[666:70371] [javascript] SoundHandler
2021-11-15 23:52:20.729992+0200 app[666:70371] [javascript] 
2021-11-15 23:52:20.730261+0200 app[666:70371] [javascript] FFmpeg process exited with rc=1.
2021-11-15 23:52:20.731495+0200 app[666:70371] [javascript] Unable to find a suitable output format for 'ffmpeg'
2021-11-15 23:52:20.731715+0200 app[666:70371] [javascript] ffmpeg: Invalid argument


    


  • mp4 format video can not play in ios

    15 juin 2022, par parsa

    I've problem for the playing mp4 format videos on ios and sometimes it no have any problem and play correctly.

    Videos with mkv format stores In my server daily,

    And I copy the codecs to mp4 to can support video playing in ios with this command of ffmpeg :

    


    ffmpeg -i Axl_Rose.mkv -map 0 -c copy -c:a aac -movflags +faststart Axl_Rose.mp4


    


    Sometimes the output can not play in ios.
This is the ffprobe details of output file of top command which could not play on ios :

    


    ffprobe version 4.2.7-0ubuntu0.1 Copyright (c) 2007-2022 the FFmpeg developers
built with gcc 9 (Ubuntu 9.4.0-1ubuntu1~20.04.1)
configuration: --prefix=/usr --extra-version=0ubuntu0.1 --toolchain=hardened -- 
libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 
--enable-gpl --disable-stripping --enable-avresample --disable-filter=resample -- 
enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom --enable-libass -- 
enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable- 
libcodec2 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable- 
libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame -- 
enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable- 
libpulse --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy 
--enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable- 
libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack 
--enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq - 
-enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable- 
opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 -- 
enable-nvenc --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared
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
libavresample   4.  0.  0 /  4.  0.  0
libswscale      5.  5.100 /  5.  5.100
libswresample   3.  5.100 /  3.  5.100
libpostproc    55.  5.100 / 55.  5.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 
'Axl_Rose.mp4':
Metadata:
major_brand     : isom
minor_version   : 512
compatible_brands: isomiso2mp41
encoder         : Lavf57.83.100
Duration: 00:07:37.88, start: 0.000000, bitrate: 566 kb/s
Stream #0:0(eng): Video: vp9 (Profile 0) (vp09 / 0x39307076), yuv420p(tv, bt709), 
854x480, 429 kb/s, SAR 1:1 DAR 427:240, 29.97 fps, 29.97 tbr, 16k tbn, 16k tbc 
(default)
Metadata:
  handler_name    : VideoHandler
Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 128 
kb/s (default)
Metadata:
  handler_name    : SoundHandler


    


    What should I do, and whats the problem ?