
Recherche avancée
Médias (2)
-
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
Autres articles (10)
-
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 -
XMP PHP
13 mai 2011, parDixit Wikipedia, XMP signifie :
Extensible Metadata Platform ou XMP est un format de métadonnées basé sur XML utilisé dans les applications PDF, de photographie et de graphisme. Il a été lancé par Adobe Systems en avril 2001 en étant intégré à la version 5.0 d’Adobe Acrobat.
Étant basé sur XML, il gère un ensemble de tags dynamiques pour l’utilisation dans le cadre du Web sémantique.
XMP permet d’enregistrer sous forme d’un document XML des informations relatives à un fichier : titre, auteur, historique (...) -
Création définitive du canal
12 mars 2010, parLorsque votre demande est validée, vous pouvez alors procéder à la création proprement dite du canal. Chaque canal est un site à part entière placé sous votre responsabilité. Les administrateurs de la plateforme n’y ont aucun accès.
A la validation, vous recevez un email vous invitant donc à créer votre canal.
Pour ce faire il vous suffit de vous rendre à son adresse, dans notre exemple "http://votre_sous_domaine.mediaspip.net".
A ce moment là un mot de passe vous est demandé, il vous suffit d’y (...)
Sur d’autres sites (3940)
-
Compress Videos in Android using FFMPEG
3 mai 2017, par Gaurav KumarI have already put the gradle of writing minds to compress videos.
compile 'com.writingminds:FFmpegAndroid:0.3.2'
Now after syncing project, I have list of videos fetched from external or internal storage. videos of size upto 100 or 500 mb. Now when user clicks on that, video must compress and returned the compressed url so that i will be able to upload the compressed video to the server.
Please suggest or do some lines of code or any guidance.
Thanks in advance !!. -
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;
}