
Recherche avancée
Médias (91)
-
Richard Stallman et le logiciel libre
19 octobre 2011, par
Mis à jour : Mai 2013
Langue : français
Type : Texte
-
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
Autres articles (85)
-
MediaSPIP version 0.1 Beta
16 avril 2011, parMediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...) -
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 -
MediaSPIP v0.2
21 juin 2013, parMediaSPIP 0.2 est la première version de MediaSPIP stable.
Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)
Sur d’autres sites (11673)
-
Add audio to video file at specific second in nodejs fluent-ffmpeg
17 mars 2020, par toljoasI have a Video (mp4) and want to add audio to it (mp3).
The audio should be added at the xth second of the video (meaning the video initially plays for 3 seconds, and only then the audio starts to play, if possible only for a specified duration, but this is not necessary).
I use the package ’fluent-ffmpeg’.I have tried the following :
const conv = ffmpeg()
conv.addInput(__dirname + '/screens/screen_%d.png').
addInput(__dirname + '/audio.mp3').setStartTime(3).setDuration(6).
withFpsInput(60).withSize('1920x1080')But this sets the start time of the audio itself (meaning the first 6 seconds of the audio are skipped), and sets the duration of the whole video, not merely the audio.
The question I am asking has already been asked here, but the answer merely shows how to add audio to the video from the start of the video.
Help is appreciated.
-
Why is chrominance lost when i OpenSharedResource from a ffmpeg AVFrame resource ?
19 avril 2022, par LogoroD3D11_TEXTURE2D_DESC texture_desc = {0};
texture_desc.Width = 640;
texture_desc.Height = 480;
texture_desc.MipLevels = 1;
texture_desc.Format = DXGI_FORMAT_NV12;
texture_desc.SampleDesc.Count = 1;
texture_desc.ArraySize = 1;
texture_desc.Usage = D3D11_USAGE_DEFAULT;
texture_desc.MiscFlags = D3D11_RESOURCE_MISC_SHARED;

Microsoft::WRL::ComPtr<id3d11texture2d> temp_texture_for_my_device{nullptr};
my_device->CreateTexture2D(&texture_desc, NULL, &temp_texture_for_my_device);

Microsoft::WRL::ComPtr<idxgiresource> dxgi_resource{nullptr};
temp_texture_for_my_device.As(&dxgi_resource);
HANDLE shared_handle = NULL;
dxgi_resource->GetSharedHandle(&shared_handle);
dxgi_resource->Release();

Microsoft::WRL::ComPtr<id3d11texture2d> temp_texture_for_ffmpeg_device {nullptr};
ffmpeg_device->OpenSharedResource(shared_handle, __uuidof(ID3D11Texture2D), (void**)temp_texture_for_ffmpeg_device.GetAddressOf());
ffmpeg_device_context->CopySubresourceRegion(temp_texture_for_ffmpeg_device.Get(), 0, 0, 0, 0, (ID3D11Texture2D*)ffmpeg_avframe->data[0], (int)ffmpeg_avframe->data[1], NULL);
ffmpeg_device_context->Flush();
</id3d11texture2d></idxgiresource></id3d11texture2d>


I copy temp_texture_for_ffmpeg_device to a D3D11_USAGE_STAGING, it's normal, but when i copy temp_texture_for_my_device to a D3D11_USAGE_STAGING, i lost the chrominance data.


When i map the texture to cpu via D3D11_USAGE_STAGING :


temp_texture_for_ffmpeg_device : RowPitch is 768, DepthPitch is 768 * 720.
temp_texture_for_my_device : RowPitch is 1024, DepthPitch is 1024 * 480.


I think there are some different parameters between the two devices(or device context ?), but I don't know what parameters would cause such a difference in behavior.


my_device
andmy_device_context
are created byD3D11On12CreateDevice


-
Difference between DirectShowSource() and FFmpegSource2() in AviSynth
29 mars 2024, par MarianDFor non
.avi
A/V sources (as.mp3
,.mp4
, etc.) there are (at least) 2 possibilities for reading those media files in AviSynth (in Windows) :


- 

- The built-in media filter
DirectShowSource()
, using Microsoft's DirectShow media architecture. - The AviSynth Plugin
FFmpegSource2()
aliasFFMS2()
using FFmpeg and nothing else.







What are advantages and disadvantages of them ?

Which is more reliable, frame / sample accurate, etc.?

- The built-in media filter