
Recherche avancée
Médias (1)
-
The Slip - Artworks
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Texte
Autres articles (103)
-
Encoding and processing into web-friendly formats
13 avril 2011, parMediaSPIP 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 (...) -
Formulaire personnalisable
21 juin 2013, parCette page présente les champs disponibles dans le formulaire de publication d’un média et il indique les différents champs qu’on peut ajouter. Formulaire de création d’un Media
Dans le cas d’un document de type média, les champs proposés par défaut sont : Texte Activer/Désactiver le forum ( on peut désactiver l’invite au commentaire pour chaque article ) Licence Ajout/suppression d’auteurs Tags
On peut modifier ce formulaire dans la partie :
Administration > Configuration des masques de formulaire. (...) -
Qu’est ce qu’un masque de formulaire
13 juin 2013, parUn masque de formulaire consiste en la personnalisation du formulaire de mise en ligne des médias, rubriques, actualités, éditoriaux et liens vers des sites.
Chaque formulaire de publication d’objet peut donc être personnalisé.
Pour accéder à la personnalisation des champs de formulaires, il est nécessaire d’aller dans l’administration de votre MediaSPIP puis de sélectionner "Configuration des masques de formulaires".
Sélectionnez ensuite le formulaire à modifier en cliquant sur sont type d’objet. (...)
Sur d’autres sites (5401)
-
ffmpeg avformat_open_input() failed to open a dshow device url containing Chinese Characters
16 octobre 2024, par SangThe USB Webcam is OK, but the device I want to use is a "virtual camera" named "无他伴侣(竖屏)", whose video is from the smart phone like Android or iOS. Connect the phone to PC, run an app on the phone, then run a PC client application, which can preview the video. The phone app is called "无他相机", and the PC app is called "无他伴侣", its website is https://www.wuta-cam.com/.


I run FFmpeg at the Windows Commandline with the command
ffmpeg -list_devices true -f dshow -i dummy
, it's OK to list the devices.(in order to display Chinese correctly, runchcp 65001
in advance.)

Run the command
ffplay -f dshow -i video="无他伴侣(竖屏)"
, it's OK to play the video.(of course you need to comfirm its PC client previewing fine in advance.)

Now I want to get the decoded frames from that virtual camera in my program, I call
avformat_open_input()
withvideo=无他伴侣(竖屏)
, it failed, the return value is -5, I/O error.

Anyone knows the reason ?


Below is my code snippet.


avdevice_register_all();
avcodec_register_all();
//const char * url= "video=Logitech Webcam C930e";// This is fine.
char url[] = "video=无他伴侣(竖屏)";// This is bad.

AVFormatContext *pFmtCtx = avformat_alloc_context();
AVInputFormat *iformat = av_find_input_format("dshow");
int nRet = 0;
nRet = avformat_open_input(&pFmtCtx, url, iformat, NULL);
if (nRet)
{
 const size_t buffer_size = 256;
 char err_description[buffer_size];
 av_strerror(nRet, err_description, buffer_size);
 printf("%s.\n", err_description);// --> I/O error.
 printf("FAILED to open input.(Line:%d,%d)\n", __LINE__, nRet);
 return -1;
}



-
Speed up video with FFmpeg with low I-frame distance [on hold]
5 mai 2014, par Kevin ChromikI got a video with 60 fps and
h264
encoded (.mp4
), audio layer is removed. Now I want to speed up the video 4x faster withFFmpeg
, but I would like to have a very low I-frame distance to be able to perform very precise and fast seeking. I don’t need a high compression. Does someone has an idea how I could achieve that ?Thanks in advance.
-
WebRTC Video Track to ffmpeg in Node
15 mai 2021, par Marcos LópezI have succesfully managed to establish a WebRTC connection between Node (server) and a browser. Server gets the video track on onTrack callback inside the RTCPeerConnection. Is there any way I can potentially convert the video track and make it work on ffmpeg so I can output it to rtmp.


Thanks in advance.