Recherche avancée

Médias (91)

Autres articles (57)

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

  • Supporting all media types

    13 avril 2011, par

    Unlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)

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

Sur d’autres sites (10027)

  • Including Youtube-dl in FFMPEG not working in Bash (OSX)

    14 juillet 2019, par user1029296

    I am trying to download 5 second samples for a list of youtube video. The traditional approach is to download the entire file with "youtube-dl" and then use "ffmpeg" to split it however you want it.

    I am trying to use the following method : https://github.com/ytdl-org/youtube-dl/issues/622#issuecomment-162337869

    It does work when I include the variables in the command, for example :

    ffmpeg -ss 0 -i $(youtube-dl -f best --get-url https://www.youtube.com/watch?v=ySVi-0RS5vI&t=5s) -t 10 -c:v copy -c:a copy title2.mp4

    However, I am having issues trying to automate the system. Specifically, I would like ffmpeg and youtube-dl to read a file and use the values. I created the file "youtube.txt" which includes the following codes :

    440.8,https://www.youtube.com/watch?v=0-4wOE_DNeA,661.2,881.6,0-4wOE_DNeA
    330,https://www.youtube.com/watch?v=0-AMWW6tHzw,495,660,0-AMWW6tHzw
    509.2,https://www.youtube.com/watch?v=0-Rmto2rgMw,763.8,1018.4,0-Rmto2rgMw
    427.6,https://www.youtube.com/watch?v=0-U53qm45cA,641.4,855.2,0-U53qm45cA
    320.4,https://www.youtube.com/watch?v=0-dja9Ys4Sg,480.6,640.8,0-dja9Ys4Sg
    343.6,https://www.youtube.com/watch?v=0-g_PulsqtM,515.4,687.2,0-g_PulsqtM
    415.6,https://www.youtube.com/watch?v=0-nniRyn7dU,623.4,831.2,0-nniRyn7dU
    431.2,https://www.youtube.com/watch?v=006BQU3BFxw,646.8,862.4,006BQU3BFxw

    I am using the following command :

    parallel -j 6 --colsep ',' ffmpeg -ss {1} -i $(youtube-dl -f best --get-url {2}) --t 5 -c:v copy -c:a copy {5} :::: youtube.txt

    However, I get the following errors :

    ERROR: '{2}' is not a valid URL. Set --default-search "ytsearch" (or run  youtube-dl "ytsearch:{2}" ) to search YouTube
    --t: No such file or directory

    Would you mind helping me ?

    Thanks !

  • Ubuntu reduce video size with ffmepg and change format

    27 juillet 2015, par Arnas Pečelis

    I want to watermark, reduce weigth, resize and change format for selected videos.
    Also I need to keep quality as high as it possible.

    Now what I have :

    ffmpeg -i prepared/video.mp4 -i units/video_watermark.png -filter_complex overlay=10:10 -codec:a copy moved/video_test.mp4

    and I’m watermarking video, but the quality drops a lot. Also I have :

    ffmpeg -i prepared/video.mp4 -s 1280x720 -b 512k -vcodec mpeg1video -acodec copy

    but also I need to reduce weight also as lot as possible. The reconstructed videos will be shown as movies online. My question would be - is it possible to do it one line and change format to .mp4 ?

    PS. I have constructed command :

    ffmpeg -i downloaded/movie/movie.avi -c:v libx264 -acodec libfaac -b:a 64k -preset ultrafast -vf "movie=units/video_watermark.png [watermark]; [in][watermark] overlay=10:10 [out]" -movflags faststart prepared/movie.mp4

    but it returns me error :

    ffmpeg version 2.7.1 Copyright (c) 2000-2015 the FFmpeg developers
     built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04)
     configuration:
     libavutil      54. 27.100 / 54. 27.100
     libavcodec     56. 41.100 / 56. 41.100
     libavformat    56. 36.100 / 56. 36.100
     libavdevice    56.  4.100 / 56.  4.100
     libavfilter     5. 16.101 /  5. 16.101
     libswscale      3.  1.101 /  3.  1.101
     libswresample   1.  2.100 /  1.  2.100
    Unrecognized option 'preset'.
    Error splitting the argument list: Option not found
  • using ffmpeg to convert a mkv or mp4 suitable for a DVD player that supports MPEG-4 / DivX [closed]

    17 juillet 2022, par Neil Telford

    I got a DVD Player with USB support. It is a recent player (DVD-225), but the documentation is sparse, but it does claim MPEG-4 and DivX support.

    


    Now, I have got certain AVI files to play via USB, but everything else fails. I looked at the metadata of an AVI file that worked via ffprobe, and got the following :

    


    Metadata:
    encoder         : Lavf58.17.101   Duration: 00:58:30.94, start: 0.000000, bitrate: 1336 kb/s
    Stream #0:0: Video: mpeg4 (Simple Profile) (xvid / 0x64697678), yuv420p, 640x290 [SAR 1:1 DAR 64:29], 1196 kb/s, 23.98 fps, 23.98 tbr,
23.98 tbn, 23.98 tbc
    Stream #0:1: Audio: mp3 (U[0][0][0] / 0x0055), 48000 Hz, stereo, fltp, 128 kb/s


    


    Now, I figured that if I can replicate the above, I can convert most things to play via USB, even if it isn't the most up to date codecs.

    


    I've tried various combinations, but they all fail. The closest I got was by using the following shell script :

    


    for i in *.avi; do ffmpeg -i "$i" -c:v mpeg4 -vtag divx -qscale:v 3 -c:a libmp3lame -qscale:a 4 "_${i%.*}.avi"; done


    


    This has a strange result that it will play the audio track, but not the video track. The metadata I got from this was :

    


    Metadata:
    encoder         : Lavf58.45.100
  Duration: 00:58:07.99, start: 0.000000, bitrate: 3026 kb/s
    Stream #0:0: Video: mpeg4 (Simple Profile) (divx / 0x78766964), yuv420p, 1280x720 [SAR 3:4 DAR 4:3], 2901 kb/s, 23.98 fps, 23.98 tbr, 23.98 tbn, 24k tbc
    Metadata:
      title           : ******************
    Stream #0:1: Audio: mp3 (U[0][0][0] / 0x0055), 48000 Hz, stereo, fltp, 109 kb/s
    Metadata:
      title           : ******************


    


    Does anyone know where I am going wrong with this ? I've converted AVI, MKV and MP4 files, and while they work on my computer, the DVD player seems to be very picky.

    


    Any suggestions ?

    


    Thanks
Neil