
Recherche avancée
Médias (3)
-
Exemple de boutons d’action pour une collection collaborative
27 février 2013, par
Mis à jour : Mars 2013
Langue : français
Type : Image
-
Exemple de boutons d’action pour une collection personnelle
27 février 2013, par
Mis à jour : Février 2013
Langue : English
Type : Image
-
Collections - Formulaire de création rapide
19 février 2013, par
Mis à jour : Février 2013
Langue : français
Type : Image
Autres articles (93)
-
Personnaliser les catégories
21 juin 2013, parFormulaire de création d’une catégorie
Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
On peut modifier ce formulaire dans la partie :
Administration > Configuration des masques de formulaire.
Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...) -
List of compatible distributions
26 avril 2011, parThe table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number 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
If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...) -
Selection of projects using MediaSPIP
2 mai 2011, parThe examples below are representative elements of MediaSPIP specific uses for specific projects.
MediaSPIP farm @ Infini
The non profit organizationInfini develops hospitality activities, internet access point, training, realizing innovative projects in the field of information and communication technologies and Communication, and hosting of websites. It plays a unique and prominent role in the Brest (France) area, at the national level, among the half-dozen such association. Its members (...)
Sur d’autres sites (10010)
-
Can I get pictures/stills/photos from inside a container file from a CD-I disc ?
8 décembre 2017, par user9047197I have
ffmpeg
setup.Is there a way to extract
pictures/stills/photos
(etc) from a container (file) that’s from an old CD-I game that I have.I don’t want to extract the audio nor video. And I don’t want frames from the videos either.
I want the bitmaps (etc) from INSIDE that container file.
I know my Windows 8.1 PC can’t read inside that container file - so I’m hoping there’s a way to extract all the files (I want) instead using
ffmpeg
.(IsoBuster only gives the audio and video so I know already about IsoBuster.)
I think there are no individual headers for the
pictures/stills/photos
, etc.Here’s what ExifTool decoded the file as :
ExifTool Version Number (10.68)
File Name (green.3t)
File Size (610 MB)
File Permissions (rw-rw-rw-)
File Type (MPEG)
File Type Extension (mpg)
MIME Type (video/mpeg)
MPEG Audio Version (1)
Audio Layer (2)
Audio Bitrate (80 kbps)
Sample Rate (44100)
Channel Mode (Single Channel)
Mode Extension (Bands 4-31)
Copyright Flag (False)
Original Media (False)
Emphasis (None)
Image Width (368)
Image Height (272)
Aspect Ratio (1.0695)
Frame Rate (25 fps)
Video Bitrate (1.29 Mbps)
Duration (1:02:12 approx)
Image Size (368x272)
Megapixels (0.100)Thank you for reading and - help !! :D
-
FFMPEG - AVFrame to per channel array conversion
27 décembre 2016, par ahmadhI am looking to copy an
AVFrame
into an array where pixels are stored one channel at a time in a row-major order.Details :
I am using FFMPEG’s api to read frames from a video. I have used
avcodec_decode_video2
to fetch each frame as anAVFrame
as follows :AVFormatContext* fmt_ctx = NULL;
avformat_open_input(&fmt_ctx, filepath, NULL, NULL);
...
int video_stream_idx; // stores the stream index for the video
...
AVFrame* vid_frame = NULL;
vid_frame = av_frame_alloc();
AVPacket vid_pckt;
int frame_finish;
...
while (av_read_frame(fmt_ctx, &vid_pckt) >= 0) {
if (b_vid_pckt.stream_index == video_stream_idx) {
avcodec_decode_video2(cdc_ctx, vid_frame, &frame_finish, &vid_pckt);
if (frame_finish) {
/* perform conversion */
}
}
}The destination array looks like this :
unsigned char* frame_arr = new unsigned char [cdc_ctx->width * cdc_ctx->height * 3];
I need to copy all of
vid_frame
intoframe_arr
, where the range of pixel values should be [0, 255]. The problem is that the array needs to store the frame in row major order, one channel at a time, i.e. R11, R12, ... R21, R22, ... G11, G12, ... G21, G22, ... B11, B12, ... B21, B22, ... (I have used the notation [color channel][row index][column index], i.e. G21 is the green channel value of pixel at row 2, column 1). I have had a look atsws_scale
, but I don’t understand it enough to figure out whether that function is capable of doing such a conversion. Can somebody help !! :) -
streamer.dart missing from flutter flutter_ffmpeg pkg
7 mars 2023, par user2928137Trying 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 'dart:io';
import 'package:flutter/material.dart';
import 'package:camera/camera.dart';
import 'package:flutter_ffmpeg/flutter_ffmpeg.dart';
import 'package:flutter_ffmpeg/streamer.dart';
import 'package:video_player/video_player.dart';

void main() {
 WidgetsFlutterBinding.ensureInitialized();
 runApp(MyApp());
}

class MyApp extends StatefulWidget {
 const MyApp({Key? key}) : super(key: key);

 @override
 _MyAppState createState() => _MyAppState();
}

class _MyAppState extends State<myapp> {
 List<cameradescription> cameras = [];
 late CameraController cameraController;
 String streamUrl = "rtsp://<>/userID";
 FFmpegStreamer? ffmpegStreamer;

 Future<void> initializeCamera() async {
 cameras = await availableCameras();
 cameraController = CameraController(cameras[0], ResolutionPreset.high);
 await cameraController.initialize();
 }

 @override
 void initState() {
 super.initState();
 initializeCamera();
 ffmpegStreamer = FlutterFFmpegStreamer();
 }

 Future<void> startStream() async {
 await cameraController.startImageStream((image) async {
 if (ffmpegStreamer != null) {
 var success = await ffmpegStreamer!.writeVideoFrame(
 image,
 streamUrl,
 width: image.width,
 height: image.height,
 frameRate: 30,
 vcodec: Codec.MPEG4,
 );
 if (!success) {
 print("Failed to write video frame to stream.");
 }
 }
 });
 }

 Future<void> stopStream() async {
 await cameraController.stopImageStream();
 if (ffmpegStreamer != null) {
 await ffmpegStreamer!.close();
 ffmpegStreamer = null;
 }
 }

 @override
 void dispose() {
 cameraController.dispose();
 super.dispose();
 }

 @override
 Widget build(BuildContext context) {
 return MaterialApp(
 home: Scaffold(
 body: Center(
 child: Column(
 mainAxisAlignment: MainAxisAlignment.center,
 children: <widget>[
 ElevatedButton(
 onPressed: startStream,
 child: Text("Start Stream"),
 ),
 ElevatedButton(
 onPressed: stopStream,
 child: Text("Stop Stream"),
 ),
 ],
 ),
 ),
 ),
 );
 }
}

</widget></void></void></void></cameradescription></myapp>