Recherche avancée

Médias (0)

Mot : - Tags -/objet éditorial

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (78)

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

  • Pas question de marché, de cloud etc...

    10 avril 2011

    Le vocabulaire utilisé sur ce site essaie d’éviter toute référence à la mode qui fleurit allègrement
    sur le web 2.0 et dans les entreprises qui en vivent.
    Vous êtes donc invité à bannir l’utilisation des termes "Brand", "Cloud", "Marché" etc...
    Notre motivation est avant tout de créer un outil simple, accessible à pour tout le monde, favorisant
    le partage de créations sur Internet et permettant aux auteurs de garder une autonomie optimale.
    Aucun "contrat Gold ou Premium" n’est donc prévu, aucun (...)

  • Liste des distributions compatibles

    26 avril 2011, par

    Le tableau ci-dessous correspond à la liste des distributions Linux compatible avec le script d’installation automatique de MediaSPIP. Nom de la distributionNom de la versionNuméro de version Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
    Si vous souhaitez nous aider à améliorer cette liste, vous pouvez nous fournir un accès à une machine dont la distribution n’est pas citée ci-dessus ou nous envoyer le (...)

Sur d’autres sites (8423)

  • streamer.dart missing from flutter flutter_ffmpeg pkg

    7 mars 2023, par user2928137

    Trying to build simple app which open camera from app and start streaming to server
    end server is RTSP server will continuously receiving video feed
    Web server is compatible with ffmpeg pkg however flutter_ffmpeg pkg face bellow issue.
    
App is simple to start RTSP video stream from flutter mobile app

    


    


    Target of URI doesn't exist : 'package:flutter_ffmpeg/streamer.dart'.

    


    


    import &#x27;dart:io&#x27;;&#xA;import &#x27;package:flutter/material.dart&#x27;;&#xA;import &#x27;package:camera/camera.dart&#x27;;&#xA;import &#x27;package:flutter_ffmpeg/flutter_ffmpeg.dart&#x27;;&#xA;import &#x27;package:flutter_ffmpeg/streamer.dart&#x27;;&#xA;import &#x27;package:video_player/video_player.dart&#x27;;&#xA;&#xA;void main() {&#xA;  WidgetsFlutterBinding.ensureInitialized();&#xA;  runApp(MyApp());&#xA;}&#xA;&#xA;class MyApp extends StatefulWidget {&#xA;  const MyApp({Key? key}) : super(key: key);&#xA;&#xA;  @override&#xA;  _MyAppState createState() => _MyAppState();&#xA;}&#xA;&#xA;class _MyAppState extends State<myapp> {&#xA;  List<cameradescription> cameras = [];&#xA;  late CameraController cameraController;&#xA;  String streamUrl = "rtsp://&lt;>/userID";&#xA;  FFmpegStreamer? ffmpegStreamer;&#xA;&#xA;  Future<void> initializeCamera() async {&#xA;    cameras = await availableCameras();&#xA;    cameraController = CameraController(cameras[0], ResolutionPreset.high);&#xA;    await cameraController.initialize();&#xA;  }&#xA;&#xA;  @override&#xA;  void initState() {&#xA;    super.initState();&#xA;    initializeCamera();&#xA;    ffmpegStreamer = FlutterFFmpegStreamer();&#xA;  }&#xA;&#xA;  Future<void> startStream() async {&#xA;    await cameraController.startImageStream((image) async {&#xA;      if (ffmpegStreamer != null) {&#xA;        var success = await ffmpegStreamer!.writeVideoFrame(&#xA;          image,&#xA;          streamUrl,&#xA;          width: image.width,&#xA;          height: image.height,&#xA;          frameRate: 30,&#xA;          vcodec: Codec.MPEG4,&#xA;        );&#xA;        if (!success) {&#xA;          print("Failed to write video frame to stream.");&#xA;        }&#xA;      }&#xA;    });&#xA;  }&#xA;&#xA;  Future<void> stopStream() async {&#xA;    await cameraController.stopImageStream();&#xA;    if (ffmpegStreamer != null) {&#xA;      await ffmpegStreamer!.close();&#xA;      ffmpegStreamer = null;&#xA;    }&#xA;  }&#xA;&#xA;  @override&#xA;  void dispose() {&#xA;    cameraController.dispose();&#xA;    super.dispose();&#xA;  }&#xA;&#xA;  @override&#xA;  Widget build(BuildContext context) {&#xA;    return MaterialApp(&#xA;      home: Scaffold(&#xA;        body: Center(&#xA;          child: Column(&#xA;            mainAxisAlignment: MainAxisAlignment.center,&#xA;            children: <widget>[&#xA;              ElevatedButton(&#xA;                onPressed: startStream,&#xA;                child: Text("Start Stream"),&#xA;              ),&#xA;              ElevatedButton(&#xA;                onPressed: stopStream,&#xA;                child: Text("Stop Stream"),&#xA;              ),&#xA;            ],&#xA;          ),&#xA;        ),&#xA;      ),&#xA;    );&#xA;  }&#xA;}&#xA;&#xA;</widget></void></void></void></cameradescription></myapp>

    &#xA;

  • Ffmpeg : How to fix error "Please choose an encoder manually" ?

    9 juillet 2023, par Alex

    I am trying to convert a x265 videofile to a x264 format so it can be played on a television. I am trying the following command

    &#xA;

    ffmpeg -i input.mkv -f mp4 -vcodec libx264 -preset fast -profile:v main -acodec aac -map 0:0 -map 0:1 -map 0:2 test.mp4&#xA;

    &#xA;

    to select videos stream 0:0 for video, stream 0:1 for audio and stream 0:2 for the subtitle. However I get an error

    &#xA;

    Automatic encoder selection failed Default encoder for format mp4 (codec none) is probably disabled. Please choose an encoder manually.&#xA;Error selecting an encoder&#xA;

    &#xA;

    How to fix this command ?

    &#xA;

    P.S. I am not an expert in ffmpeg or videos conversion/formats/encodings/audio formats/subtitle formats.

    &#xA;

    I found EXACTLY ONE google search result with the exact error phrase HERE. And that is not helping as I do not even understand the first sentence.

    &#xA;

    Below is the output for the first three streams :

    &#xA;

    Input #0, matroska,webm, from &#x27;input.mkv&#x27;:&#xA;  Metadata:&#xA;    creation_time   : 2021-03-25T09:13:20.000000Z&#xA;    ENCODER         : Lavf58.29.100&#xA;  Duration: 00:23:57.65, start: 0.000000, bitrate: 2103 kb/s&#xA;  Stream #0:0(jpn): Video: hevc (Main 10), yuv420p10le(tv), 1920x1080, SAR 1:1 DAR 16:9, 23.98 fps, 23.98 tbr, 1k tbn (default)&#xA;    Metadata:&#xA;      title           : [Judas] x265 10b&#xA;      ENCODER         : Lavc58.54.100 libx265&#xA;      BPS-eng         : 1973938&#xA;      DURATION-eng    : 00:23:55.017000000&#xA;      NUMBER_OF_FRAMES-eng: 34406&#xA;      NUMBER_OF_BYTES-eng: 354079423&#xA;      _STATISTICS_WRITING_APP-eng: mkvmerge v48.0.0 (&#x27;Fortress Around Your Heart&#x27;) 64-bit&#xA;      _STATISTICS_WRITING_DATE_UTC-eng: 2021-03-25 09:13:20&#xA;      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES&#xA;  Stream #0:1(jpn): Audio: aac (LC), 44100 Hz, stereo, fltp (default)&#xA;    Metadata:&#xA;      title           : Japanese&#xA;      BPS-eng         : 128000&#xA;      DURATION-eng    : 00:23:55.086000000&#xA;      NUMBER_OF_FRAMES-eng: 61804&#xA;      NUMBER_OF_BYTES-eng: 22961378&#xA;      _STATISTICS_WRITING_APP-eng: mkvmerge v48.0.0 (&#x27;Fortress Around Your Heart&#x27;) 64-bit&#xA;      _STATISTICS_WRITING_DATE_UTC-eng: 2021-03-25 09:13:20&#xA;      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES&#xA;  Stream #0:2(eng): Subtitle: ass&#xA;    Metadata:&#xA;      title           : English&#xA;      BPS-eng         : 196&#xA;      DURATION-eng    : 00:23:53.580000000&#xA;      NUMBER_OF_FRAMES-eng: 478&#xA;      NUMBER_OF_BYTES-eng: 35129&#xA;      _STATISTICS_WRITING_APP-eng: mkvmerge v48.0.0 (&#x27;Fortress Around Your Heart&#x27;) 64-bit&#xA;      _STATISTICS_WRITING_DATE_UTC-eng: 2021-03-25 09:13:20&#xA;      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES&#xA;

    &#xA;

    I found a related question HERE whose answer I do not fully understand. However, I tried the following command

    &#xA;

    ffmpeg -i input.mkv -f mp4 -vcodec libx264 -preset fast -profile:v main -acodec aac -map 0:0 -map 0:1 -map 0:2 -c:s mov_text  test.mp4&#xA;

    &#xA;

    but got a new error

    &#xA;

    Error initializing output stream: Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height&#xA;

    &#xA;

    I thought I am defining an "encoder" for output stream "#0:0" (which I think is video), namely libx264. So what else to do here ?

    &#xA;

    I tried -acode copy and also to use -qp 0 in the command line which all did not work.

    &#xA;

  • bink : align plane width to 8 when calculating bundle sizes

    20 mars 2012, par Kostya Shishkov

    bink : align plane width to 8 when calculating bundle sizes