Recherche avancée

Médias (1)

Mot : - Tags -/biographie

Autres articles (41)

  • Participer à sa traduction

    10 avril 2011

    Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
    Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
    Actuellement MediaSPIP n’est disponible qu’en français et (...)

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP automatically converts uploaded files to internet-compatible formats.
    Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
    Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
    Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
    All uploaded files are stored online in their original format, so you can (...)

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

  • 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=%@.


    


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

    


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