
Recherche avancée
Autres articles (103)
-
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs -
MediaSPIP v0.2
21 juin 2013, parMediaSPIP 0.2 is the first MediaSPIP stable release.
Its official release date is June 21, 2013 and is announced here.
The zip file provided here only contains the sources of MediaSPIP in its standalone version.
To get a working installation, you must manually install all-software dependencies on the server.
If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...) -
Support de tous types de médias
10 avril 2011Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)
Sur d’autres sites (9480)
-
Converting Raw video data to a good quality compressed video using ffmpeg [closed]
12 janvier 2013, par Deepak BhatiaI have a raw video data of size 10 MBytes but when I convert the same to MPEG4 Video, its size becomes 20 MBytes. I am using ffmpeg 1.1.
Why the size is increasing on using MPEG4 Encoder for compressing the raw video ?
Thanks in advance.
Deepak Bhatia
-
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;
}



-
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.