Recherche avancée

Médias (91)

Autres articles (88)

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

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

  • ffmpeg show wrong with/height of video

    6 mai 2020, par boygiandi

    I have this video : https://media.gostream.co/uploads/gostream/9wkBeGM7lOfxT902V86hzI22Baj2/23-4-2020/videos/263a34c5a2fe61b33fe17e090893c04e-1587640618504_fs.mp4

    



    When I play it on Google Chrome, it's vertical video. But when I check with ffmpeg

    



    ffmpeg -i "https://media.gostream.co/uploads/gostream/9wkBeGM7lOfxT902V86hzI22Baj2/23-4-2020/videos/263a34c5a2fe61b33fe17e090893c04e-1587640618504_fs.mp4"


    



    It show video dimensions are 1080x1080

    



    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'a.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf58.35.101
  Duration: 00:00:39.51, start: 0.000000, bitrate: 1577 kb/s
    Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1080x1080 [SAR 9:16 DAR 9:16], 1464 kb/s, 23.98 fps, 23.98 tbr, 24k tbn, 47.95 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
At least one output file must be specified


    



    And when I livestream this video to Facebook, it scaled vertical video into square form : https://imgur.com/a/A8dQ7j7

    



    How can I correct video size when livestream ?

    


  • FFMPEG : Add timestamp to file name HLS

    7 mai 2020, par Neel Dutta

    I want to add timestamp to my file name in the following ffmpeg command (in nginx rtmp) :

    



    exec ffmpeg -i rtmp://localhost:1936/stream/$name 
                -c:v libx264 -b:v 2500k -g 30 -r 30 -s 1280x720 -vf "drawtext=fontfile=/usr/share/fonts/truetype/ttf-dejavu/DejaVuSans-Bold.ttf: text=%{localtime}: fontsize=30: fontcolor=white@0.8: x=10: y=h-th-10" -preset fast -profile:v baseline -hls_list_size 0 -f hls /network_drive/$name-$date_%d-%b-%y-%H-%M-%S.m3u8
                -ss 00:00:05.000 -vframes 1 /network_drive/$name.jpg;


    



    What i want to achieve is the an .m3u8 file, with a filename of e.g : "stream_name-01-Apr-2020-10-46-45.m3u8", followed by its .ts files e.g : "stream_name-01-Apr-2020-10-46-450.ts, stream_name-01-Apr-2020-10-46-451.ts, stream_name-01-Apr-2020-10-46-452.ts", and so on.

    



    But the above command doesnt seem to work, and results in filename "stream_name-%d-%b-%y-%H-%M-%S.m3u8".
I've tried using strftime, but had no luck.

    


  • MobileFFMPeg Not converting mkv to Mp4

    7 mai 2020, par Jlee

    I'm currently running the following code on my device in order to convert all mkv files in a directory to an mp4. But for some reason no files are converted. I double checked the dir name and it is correct, is there something wrong with my syntax ?

    



    let path = self.documentsDir()
let url = URL(string: path.addingPercentEncoding(withAllowedCharacters: .urlQueryAllowed)!)
     var rc = MobileFFmpeg.execute("-i jellyfish.mkv -c:v libx264 -preset -slow -crf 22 -c:a copy youroutput.mp4")
          if (rc == RETURN_CODE_SUCCESS) {
               print("Command execution completed successfully.\n");
                } 
          else if (rc == RETURN_CODE_CANCEL) {
                print("Command execution cancelled by user.\n");
                } 
           else {
                print("Command execution failed with rc=%d and output=%@.\n", rc, MobileFFmpegConfig.getLastCommandOutput);
                }


    



    2020-05-07 13:36:02.782150-0400 WebmBrowser[8025:138754] ERROR: /Users/jlee/Library/Developer/CoreSimulator/Devices/8CD81B87-9E27-4F3C-8601-C76945FAD4D8/data/Containers/Data/Application/B7A0D956-3BAB-4203-82EE-5FDBF38B2F13/Documents/jellyfish.mkv: Invalid data found when processing input

Command execution failed with rc=%d and output=%@.