Recherche avancée

Médias (91)

Autres articles (65)

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

  • Keeping control of your media in your hands

    13 avril 2011, par

    The vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
    While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
    MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
    MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...)

Sur d’autres sites (6460)

  • Adding metadata with images to audio files using ffmpeg

    8 mai 2017, par Padam Sethia

    UPDATE :
    Not able to embed artwork to audio file , here my command :
    ffmpeg -i ./tmp/Feeling_Good.mp3 -i './tmp/artwork/default.png' -map 0 -map 1 -c copy -codec -id3v2_version 3 -metadata title='Feeling Good' -metadata TPE1='Gryffin' -metadata TPE2='Gryffin' -metadata album='' -metadata genre=' ' ./tmp/fumen_Feeling_Good.mp3

    ERROR :

    [NULL @ 0x106b0e0] Unable to find a suitable output format for '3'
    3: Invalid argument

    I want to add album art and meta data at one go to audio files , I have tried this command , but it doesn’t seem to work moreover it creates an empty file.
    Here’s my command :

    ffmpeg -loglevel quiet -i ./tmp/Heres_to_never_growing_up.mp3 -i ./tmp/artwork/default.png -codec copy -id3v2_version 3 -metadata title='Heres to never growing up' -metadata TPE1='Avril Lavigne' -metadata TPE2='Avril Lavigne' -metadata comment='Cover (Front)' -metadata album='unnamed' -metadata genre='unnamed' ./tmp/Heres_to_never_growing_up.mp3

  • duration change after transcode ts

    1er mai 2017, par Feilong Luo

    i have a problem about transcode with ffmpeg

    i want to cover m3u8 to mp4, so i transcode every ts file first, and then concat them to a mp4, but i found that the duration will be bigger than source file.

    source file is :
    http://oc7iy3eta.bkt.clouddn.com/src_20.ts

    after transcode, test file is :
    http://oc7iy3eta.bkt.clouddn.com/test_20.ts

    i use the command as bellow to change to 5fps, and 400k bitrate :

    sudo ffmpeg -analyzeduration 2147483647 -probesize 2147483647 -nostdin -y -v warning -i ./src_20.ts -threads 3 -movflags faststart -metadata:s:v rotate=0 -chunk_duration 520000 -video_track_timescale 25000 -pix_fmt yuv420p -copytb 1 -vcodec libx264 -b:v 400000 -minrate 400000 -maxrate 400000 -bufsize 500k -force_key_frames "expr:gte(t,n_forced*2)" -vsync 1 -r 5 -s 544*960 -acodec libfaac -async 1 ./test_20.ts

    i use ffprobe command to see video info :

    source file info :

    Duration : 00:00:01.26, start : 28.346989, bitrate : 921 kb/s
    Program 1
    Metadata :
    service_name : Service01
    service_provider : FFmpeg
    Stream #0:0[0x100] : Audio : aac ([15][0][0][0] / 0x000F), 44100 Hz, stereo, fltp, 23 kb/s
    Stream #0:1[0x101] : Video : h264 (High) ([27][0][0][0] / 0x001B), yuv420p, 544x960, 10.67 tbr, 90k tbn, 180k tbc

    test file :

    Input #0, mpegts, from ’test_20.ts’ :
    Duration : 00:00:01.62, start : 1.576778, bitrate : 447 kb/s
    Program 1
    Metadata :
    service_name : Service01
    service_provider : FFmpeg
    Stream #0:0[0x100] : Video : h264 (High) ([27][0][0][0] / 0x001B), yuv420p, 544x960, 5 fps, 5 tbr, 90k tbn, 10 tbc
    Stream #0:1[0x101] : Audio : aac ([15][0][0][0] / 0x000F), 44100 Hz, stereo, fltp, 5 kb/s

    =======================================================================

    question

    so , we can see that the duration of src file is 1.26s , but after transcode, the test file is 1.62s.

    why ? can anybody help

  • Nginx exec_static reconnect

    12 avril 2016, par Nacsster

    Recently I have installed Nginx with rtmp module and ffmpeg

    I have a few commands like this on my nginx.conf

    exec_static ffmpeg -i http://xxxx.m3u8 -threads 1 -c:v libx264 -profile:v baseline -b:v 370K -s 640x360 -f flv -c:a aac -ac 1 -strict -2 -b:a 56k rtmp://xx.xxx.xx.xx/mobile/nameofstream;

    It transcode the input to low bitrate and all works fine =)

    This is the question :
    Every time I restart my nginx server it executes the commands correctly but (I think) if the stream (m3u8 input) is down, ffmpeg doesn’t wait for a future "input up again", just ignore.
    I try with -re command on ffmpeg but it doesn’t work !

    Any help ? Maybe do I need some bash routine ?