
Recherche avancée
Médias (2)
-
Granite de l’Aber Ildut
9 septembre 2011, par
Mis à jour : Septembre 2011
Langue : français
Type : Texte
-
Géodiversité
9 septembre 2011, par ,
Mis à jour : Août 2018
Langue : français
Type : Texte
Autres articles (49)
-
MediaSPIP Core : La Configuration
9 novembre 2010, parMediaSPIP Core fournit par défaut trois pages différentes de configuration (ces pages utilisent le plugin de configuration CFG pour fonctionner) : une page spécifique à la configuration générale du squelettes ; une page spécifique à la configuration de la page d’accueil du site ; une page spécifique à la configuration des secteurs ;
Il fournit également une page supplémentaire qui n’apparait que lorsque certains plugins sont activés permettant de contrôler l’affichage et les fonctionnalités spécifiques (...) -
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir -
Les formats acceptés
28 janvier 2010, parLes commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
ffmpeg -codecs ffmpeg -formats
Les format videos acceptés en entrée
Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
Les formats vidéos de sortie possibles
Dans un premier temps on (...)
Sur d’autres sites (4762)
-
Cannot open RTMP stream with FFMPEG Java Cannot assign requested address
12 novembre 2023, par lastpeony4I am trying to open an RTMP stream with
avformat_open_input
and for some reason i keep gettingCannot assign requested address
error.

My RTMP URL is correct because i can watch the stream using VLC Player and ffmpeg command line :

ffmpeg -i rtmp://1.1.1.1/app/teststream -vcodec copy -acodec copy output.mp4


int timeout = 2500;
setConnectionTimeout(timeout);

AVDictionary optionsDictionary = new AVDictionary();

String timeoutStr = String.valueOf(this.timeoutMicroSeconds);
av_dict_set(optionsDictionary, "timeout", timeoutStr, 0);

int analyzeDurationUs = 1500 * 1000;
String analyzeDuration = String.valueOf(analyzeDurationUs);
av_dict_set(optionsDictionary, "analyzeduration", analyzeDuration, 0);

int ret;

if ((ret = avformat_open_input(inputFormatContext, streamUrl, null, optionsDictionary)) < 0) {
 // ERROR Cannot assign requested address
}



I am using
org.bytedeco:ffmpeg:5.1.2-1.5.8 (ffmpeg-5.1.2-1.5.8.jar)


Why i can't open it ?


-
What open source software would be best for reading in raw data from an SDR / USRP and decoding ATSC1.0 video and playing it ?
18 août 2023, par railsnoobI've had luck with GNU Radio for ATSC1.0 decode from USRP data and sending the mpeg transport stream to VLC to be played but eventually I would like to have other DTV standards decoded.


I started looking into packages with full DTV support and saw that VLC has TV tuner control/access, but if I have a USRP I'm not sure I could configure VLC to control that, or if I'd even want it to. But since it can go from tuner control to video playback there must be a command/configuration which just has it read from a raw data file that I captured from the USRP, right ?


Does anyone know how to go from raw captured ATSC channel to MPEG transport stream on VLC, FFMPEG, or any other software packages ?


-
How can I open a video encrypted with FFMPEG using openCV ?
19 juillet 2023, par Richard S.J. HwangI am developing a program that encrypts and saves video files and allows them to play only in programs that have key values. (by C#)


I was looking for a way to encrypt a video file and found a way to encrypt it using FFMPEG's CENC.


ffmpeg -i SampleVideo.mp4 -vcodec copy -acodec copy -encryption_scheme cenc-aes-ctr -encryption_key 76a6c65c5ea762046bd749a2e632ccbb -encryption_kid a7e61c373e219033c21091fa607bf3b8 SampleVideo_encrypted.mp4


ffplay SampleVideo_encrypted.mp4 -decryption_key 76a6c65c5ea762046bd749a2e632ccbb


ffmpeg -decryption_key 76a6c65c5ea762046bd749a2e632ccbb -i SampleVideo_encrypted.mp4 -vcodec copy -acodec copy SampleVideo_decrypted.mp4


FFmpeg : how to produce MP4 CENC (Common Encryption) videos


It is easy to encrypt and makes use of the header information of the video file.


But I couldn't find a way to apply decryption at the same time as the Capture Video of OpenCV.
I thought I could use FFMPEG of OpenCV Backend and set the options, so I found a way to set the Windows environment variable, but it didn't work.(Only the gray screen is output.)
As a result of the search, only options related to H/W acceleration appear in OS environ.


How to add ffmpeg options to VideoCapture
(Post written in python)


import os
os.environ["OPENCV_FFMPEG_CAPTURE_OPTIONS"] = "video_codec;h264_cuvid"
cap = cv2.VideoCapture(url)



Code I tested (not worked, c#)


System.Environment.SetEnvironmentVariable("OPENCV_FFMPEG_CAPTURE_OPTIONS",
 "decryption_key;76a6c65c5ea762046bd749a2e632ccbb");
VideoCapture video = new VideoCapture(filename, VideoCaptureAPIs.FFMPEG);
...



How can I open a video encrypted with FFMPEG using openCV ?


Regards.