
Recherche avancée
Médias (9)
-
Stereo master soundtrack
17 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Audio
-
Elephants Dream - Cover of the soundtrack
17 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Image
-
#7 Ambience
16 octobre 2011, par
Mis à jour : Juin 2015
Langue : English
Type : Audio
-
#6 Teaser Music
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#5 End Title
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#3 The Safest Place
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
Autres articles (44)
-
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 -
Déploiements possibles
31 janvier 2010, parDeux types de déploiements sont envisageable dépendant de deux aspects : La méthode d’installation envisagée (en standalone ou en ferme) ; Le nombre d’encodages journaliers et la fréquentation envisagés ;
L’encodage de vidéos est un processus lourd consommant énormément de ressources système (CPU et RAM), il est nécessaire de prendre tout cela en considération. Ce système n’est donc possible que sur un ou plusieurs serveurs dédiés.
Version mono serveur
La version mono serveur consiste à n’utiliser qu’une (...) -
Supporting all media types
13 avril 2011, parUnlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)
Sur d’autres sites (12706)
-
Using ffmpeg inside C/C++ code to record a window or rectangular portion of it
5 janvier 2016, par jsterI’m trying to use ffmpeg within my code to record a window or a rectangular portion of that window into a video file (e.g. whole Windows Media Player window or say just the outline of the YouTube player embedded in a web page).
The code I have records the whole screen into a video file successfully. I wanna make it record just a window (not the whole screen). I think I’m passing the right hWnd into an avformat_open_input() call (see code fragment below), but the video file comes out looking blank and black.
When I switch to recording the whole screen again, the same code works fine. The screen is captured and the video file looks good.(the hWnd passed in is NULL).
Testing
I’m using Windows Media Player to play out a stored video file (screen cap here) and recording a rectangular portion of the Windows Media Player window to create the output video file. I notice that when I record a browser window, it records fine.. I’m puzzled why it doesn’t work for WMP ?!
I’ve tried Hardcoding window handles
I’ve used Winlister & Spy++ to look for all associated window handles associated with Windows Media Player and tried hardcoding the window handle passed into avformat_open_input(). I’ve tried all the window handles one-by-one to no avail. The video file comes out blank no matter which WMP-associated window handle I use.
Code fragment below :-
`AVDictionary* options = NULL;
char s[128];
AVInputFormat* ifmt = av_find_input_format("gdigrab2");
if(ifmt == NULL){
break;
}
snprintf(s, sizeof(s), "%lu", (unsigned long)ul_FrameRate);
av_dict_set(&options, "framerate", s, 0);
snprintf(s, sizeof(s), "%lu", (unsigned long)ul_OffsetX);
av_dict_set(&options, "offset_x", s, 0);
snprintf(s, sizeof(s), "%lu", (unsigned long)ul_OffsetY);
av_dict_set(&options, "offset_y", s, 0);
if(ulWidth != 0 && ulHeight != 0){
snprintf(s, sizeof(s), "%lux%lu", (unsigned long)ulWidth, (unsigned long)ulHeight);
av_dict_set(&options, "video_size", s, 0);
}
snprintf(s, sizeof(s), "hwnd=0x%.08X", hWnd);
if(avformat_open_input(&pVideoSource, s, ifmt, &options) < 0){
dprintf("failed to open video capture source\n");
break;
}`
What might I be doing wrong ? Any help would be appreciated. Thanks.
PS : I must add that when the code boots up, it starts recording the whole screen.. ie. the window handle passed to the ffmpeg screen recording code is 0x00000000.
To record a window, the code allows the user to use a rectangular selection tool to retrieve a rectangular selection from which it extracts a RECT and uses WindowFromPoint() to retrieve the Window handle, then uses ::GetAncestor(hWnd, GA_ROOTOWNER) to retrieve the owner window handle..which gets passed into avformat_open_input().
POINT pt{r.left, r.top}; // r is a CRect.
HWND hWnd = WindowFromPoint(pt);
HWND hWndRoot = ::GetAncestor(hWnd, GA_ROOTOWNER);
if (hWndRoot != NULL)
hWnd = hWndRoot;
// ...snip...
// ...snip...
// ...snip...
snprintf(s, sizeof(s), "hwnd=0x%.08X", hWnd);
if(avformat_open_input(&pVideoSource, s, ifmt, &options) < 0){
dprintf("failed to open video capture source\n");
break;
} -
ffmpeg can't record Webview Edge in window form
20 juin 2021, par Sôn Gô KuI have a window form application with browser control is Webview Edge as link bellow :
https://docs.microsoft.com/en-us/microsoft-edge/webview2/get-started/winforms


This command use for record tab :
ffmpeg -f gdigrab -framerate 60 -i title="xo" -y -b:v 10M a.mp4
p\s : "xo" is window form title


But after record, video doesn't have webview control
Please see attached image


Please help me this case. Thank you so much !


-
recording live video stream from tv card using ffmpeg at window
16 août 2013, par user2688423I want to capture thumbnail every 1 second from tv card(tv signal) using ffmpeg in window.
first of all, to record live video from tv card, I tried below.
ffmpeg -f dshow -i video="SKYTV HD USB Maxx Video Capture" -r 20 -threads 0 D ://test.mkv
But it didn't work.
the Error message is"[dshow@000000000034d920] Could not run filter
video=SKYTV HD USB Maxx Video Capture : Input/output error"I use the device called 'SKYTV HD USB Maxx Video Capture' for getting tv signal(TV card).
(people usually suggest "
ffmpeg -f oss -i dev/dsp -f video4linux2 -i dev/video0/tmp/out.mpg
"
but I dont think it works at window. this is the error message i got : "Unknown input format: 'video4linux2'
")what should i do to record live video and get thumbnail every 1 second from tv card(tv signal) using ffmpeg in window ?
Please help..!