Recherche avancée

Médias (1)

Mot : - Tags -/censure

Autres articles (107)

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

  • Gestion de la ferme

    2 mars 2010, par

    La ferme est gérée dans son ensemble par des "super admins".
    Certains réglages peuvent être fais afin de réguler les besoins des différents canaux.
    Dans un premier temps il utilise le plugin "Gestion de mutualisation"

  • MediaSPIP Player : problèmes potentiels

    22 février 2011, par

    Le lecteur ne fonctionne pas sur Internet Explorer
    Sur Internet Explorer (8 et 7 au moins), le plugin utilise le lecteur Flash flowplayer pour lire vidéos et son. Si le lecteur ne semble pas fonctionner, cela peut venir de la configuration du mod_deflate d’Apache.
    Si dans la configuration de ce module Apache vous avez une ligne qui ressemble à la suivante, essayez de la supprimer ou de la commenter pour voir si le lecteur fonctionne correctement : /** * GeSHi (C) 2004 - 2007 Nigel McNie, (...)

Sur d’autres sites (9217)

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

  • Cannot extract audio tracks from video using ffmpeg

    29 juillet 2021, par Mentos

    I tried to extract and transcode audio tracks from video, but I got an error : Filter split:output1 has an unconnected output. How to fix this problem ?

    &#xA;

    ffmpeg command :

    &#xA;

    ffmpeg -i video.mp4 -filter_complex [0]split=2[s0][s1] -map [s0] -c:a aac -dn -map -0:v? -map 0:1 -map_chapters -1 -map_metadata -1 -sn video-0.aac -map [s1] -ac 2 -c:a aac -dn -map -0:v? -map 0:2 -map_chapters -1 -map_metadata -1 -sn video-1.aac -y&#xA;

    &#xA;

    fprobe full output (strip information about chapters) :

    &#xA;

    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from &#x27;video.mp4&#x27;:&#xA;  Metadata:&#xA;    major_brand     : isom&#xA;    minor_version   : 512&#xA;    compatible_brands: isomiso2avc1mp41&#xA;    title           : SomeTitle&#xA;    encoder         : Lavf58.45.100&#xA;  Duration: 00:21:35.58, start: 0.000000, bitrate: 10591 kb/s&#xA;  Chapters:&#xA;    Chapter #0:0: start 0.000000, end 70.000000&#xA;      Metadata:&#xA;        title           : Chapter 1&#xA;...&#xA;...&#xA;    Chapter #0:20: start 1278.000000, end 1295.584000&#xA;      Metadata:&#xA;        title           : Last Chapter&#xA;  Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709), 1920x1080 [SAR 1:1 DAR 16:9], 9754 kb/s, 23.98 fps, 23.98 tbr, 16k tbn, 47.95 tbc (default)&#xA;    Metadata:&#xA;      handler_name    : VideoHandler&#xA;      vendor_id       : [0][0][0][0]&#xA;  Stream #0:1(rus): Audio: ac3 (ac-3 / 0x332D6361), 48000 Hz, stereo, fltp, 192 kb/s (default)&#xA;    Metadata:&#xA;      handler_name    : SoundHandler&#xA;      vendor_id       : [0][0][0][0]&#xA;    Side data:&#xA;      audio service type: main&#xA;  Stream #0:2(eng): Audio: eac3 (ec-3 / 0x332D6365), 48000 Hz, 5.1(side), fltp, 640 kb/s&#xA;    Metadata:&#xA;      handler_name    : SoundHandler&#xA;      vendor_id       : [0][0][0][0]&#xA;    Side data:&#xA;      audio service type: main&#xA;  Stream #0:3(eng): Data: bin_data (text / 0x74786574), 0 kb/s&#xA;    Metadata:&#xA;      handler_name    : SubtitleHandler&#xA;

    &#xA;

  • I-Frames replacement in MPEG DASH

    7 mars 2019, par Hangil Kang

    We are conducting a research which requires to change only I-Frames in the middle of MPEG DASH service.

    Based on my knowledge, each segment of a full video contains one I frame and related B and P frames. For our research, we want to do something with only I frames and re-encode the frames into the corresponding segment and during the decoding process, we want to do something with the I frames again.

    Any ideas how to do this ?

    I appreciate all comments.