
Recherche avancée
Autres articles (40)
-
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 -
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) (...)
-
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 (6882)
-
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
-
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


-
How to ffmpeg command execution in ffmpeg4android app
3 février 2014, par Sanket990If i m using ffmpeg4android Play store app and executing command for video trim but they are not working i m using below command for trimming
ffmpeg -i /sdcard/vide.mp4 -ss 00:10:00 -t 00:12:00 -async 1 /sdcard/cut.mp4
Above Command Execute but not showing file cut.mp4 in sdcard .if you know another way for video trimming then show me example or link Thanks in Advance
If i m running this command showing Logcat
Looks like Vk log is not increasing in size
/sdcard/vide.mp4 : No such file or directory
I m already add file in sdcard path