Recherche avancée

Médias (1)

Mot : - Tags -/swfupload

Autres articles (16)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

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

  • Contribute to translation

    13 avril 2011

    You can help us to improve the language used in the software interface to make MediaSPIP more accessible and user-friendly. You can also translate the interface into any language that allows it to spread to new linguistic communities.
    To do this, we use the translation interface of SPIP where the all the language modules of MediaSPIP are available. Just subscribe to the mailing list and request further informantion on translation.
    MediaSPIP is currently available in French and English (...)

Sur d’autres sites (3409)

  • How do I properly use Flutter FFmpegKit to convert video file formats to H.264 ?

    21 août 2024, par Spencer

    I've been using GPT and publications from Medium to help with my how I'm supposed to use the FFmpeg kit for Flutter but they have been no help. Perhaps I need clarification on what the tool is supposed to do because links like these below have not been of any help and are very outdated :

    


    https://dev.to/usp/flutter-live-streaming-a-complete-guide-2634

    


    https://medium.com/itnext/how-to-make-a-serverless-flutter-video-sharing-app-with-firebase-storage-including-hls-and-411e4fff68fa

    


    https://github.com/arthenica/ffmpeg-kit/blob/main/flutter/flutter/README.md

    


    This is the code i've been trying to run to convert a video file before I upload to Firestore Database.

    


    Future convertToH264(Uint8List bytes) async {
  try {
    final filename = const Uuid().v4();
    final tempDir = await getTemporaryDirectory();
    final tempVideoFile = File('${tempDir.path}/$filename.mp4');
    await tempVideoFile.writeAsBytes(bytes);
    final outputPath = '${tempDir.path}/$filename-aac.mp4';

    await FFmpegKit.execute(
      '-i ${tempVideoFile.path} -c:v libx264 -c:a aac $outputPath',
    );
    return await File(outputPath).readAsBytes();
  } catch (e) {
    rethrow;
  }
} 


    


  • ffmpeg create thumbnail image of multiple images from video

    21 janvier 2018, par Michael Yousef

    So I want to create a thumbnail image that consists of multiple images from a single video. I’m looking to make them 4x8, and I want to spread out the images uniformly throughout the video.

    Ideally the final product should show 32 image captures, all downscaled to a reasonable size so they can fit on screen at the same time. Also, I’d like to have the final product have some overhead text like the video title, and I’d like to put the timestamp in the images as well.

    This is a good example of what I want t do

    This is an example of what I want to do. The text at the top and the timestamp in the images. This one’s 6x4 and I want 4x8 but other than that it looks about what I want.

    I think ffmpeg probably has something to do this but I can’t seem to figure it out. I can generate individual screens but not collapse them into one. It’s also slower than programs I’ve used to do this in the past, not sure how they can do it as fast as they do. If I can’t get ffmpeg to do this, I’m open to using Python to accomplish this.

  • Xuggler can't open IContainer of icecast server [Webm live video stream]

    9 juin 2016, par Roy Bean

    I’m trying to stream a live webm stream.

    I tested some server and Icecast is my pic.

    With ffmpeg capturing from an IP camera and publishing in icecast server I’m able to see video in html5

    using this command :

    ffmpeg.exe -rtsp_transport tcp -i "rtsp ://192.168.230.121/profile ?token=media_profile1&SessionTimeout=60" -f webm -r 20 -c:v libvpx -b:v 3M -s 300x200 -acodec none -content_type video/webm -crf 63 -g 0 icecast ://source:hackme@192.168.0.146:8001/test

    I’m using java and tryed to make this with xuggler, but I’m getting an error when opening the stream

    final String urlOut = "icecast://source:hackme@192.168.0.146:8001/agora.webm";
       final IContainer    outContainer = IContainer.make();

       final IContainerFormat outContainerFormat = IContainerFormat.make();
       outContainerFormat.setOutputFormat("webm", urlOut, "video/webm");

       int rc = outContainer.open(urlOut, IContainer.Type.WRITE, outContainerFormat);

       if(rc>=0) {
       }else  {
           Logger.getLogger(WebmPublisher.class.getName()).log(Level.INFO, "Fail to open Container " + IError.make(rc));
       }

    Any help ?
    I’m getting the error -2 :
    Error : could not open file (../../../../../../../csrc/com/xuggle/xuggler/Container.cpp:544)

    It’s is also very importatn to set the content type as video/webm because icecast by default set the mime type to audio/mpeg