Recherche avancée

Médias (0)

Mot : - Tags -/formulaire

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (66)

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

  • XMP PHP

    13 mai 2011, par

    Dixit 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 (...)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    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 (...)

Sur d’autres sites (6184)

  • Using Windows named pipes with ffmpeg pipes (Doesnt work)

    25 octobre 2019, par Estr

    I’m trying to send audio and video RAW through c# pipes to FFMPEG, I’ve been reading and trying to follow what’s shown here : https://docs.microsoft.com/en-us/dotnet/api/system.io.pipes.namedpipeserverstream?view=netframework-4.8

    This a fragment of the code...

           NamedPipeServerStream p_1;
           NamedPipeServerStream p_2;
           p_1 = new NamedPipeServerStream("p_1", PipeDirection.Out, 1, PipeTransmissionMode.Byte);
           p_2 = new NamedPipeServerStream("p_2", PipeDirection.Out, 1, PipeTransmissionMode.Byte);

           p_1.WaitForConnection();

           p_2.WaitForConnection();

    .......

    I run this command in FFMPEG : ffmpeg.exe -i \.\pipe\p_1 -vcodec hevc -r 8 -f alaw -ar:a 16000 -ac:a 1 -i \.\pipe\p_2 o.mp4

    But the program stays on the line : p_2.WaitForConnection() ;

    How can I solve it ?

  • Anomalie #2521 (Nouveau) : Images dans upload et portfolio

    3 février 2012, par Suske -

    Je viens d’ajouter 150 images via /tmp/upoload. Idée : un album photo facile. Réalisation foirée : il faut cliquer une à une sur "Mettre dans le portfolio"... Piste : Un bouton "tout mettre" dans le portfolio ? Alternative : mettre d’office dans le portfolio (vu que les squel de la dist et bcp (...)

  • Why is chrominance lost when i copy DXGI_FORMAT_NV12 ID3D11Texture from a d3d11device to a d3d11on12device ?

    19 avril 2022, par Logoro
    D3D11_TEXTURE2D_DESC texture_desc = {0};&#xA;texture_desc.Width = 640;&#xA;texture_desc.Height = 480;&#xA;texture_desc.MipLevels = 1;&#xA;texture_desc.Format = DXGI_FORMAT_NV12;&#xA;texture_desc.SampleDesc.Count = 1;&#xA;texture_desc.ArraySize = 1;&#xA;texture_desc.Usage = D3D11_USAGE_DEFAULT;&#xA;texture_desc.MiscFlags = D3D11_RESOURCE_MISC_SHARED;&#xA;&#xA;Microsoft::WRL::ComPtr<id3d11texture2d> temp_texture_for_my_device{nullptr};&#xA;my_device->CreateTexture2D(&amp;texture_desc, NULL, &amp;temp_texture_for_my_device);&#xA;&#xA;Microsoft::WRL::ComPtr<idxgiresource> dxgi_resource{nullptr};&#xA;temp_texture_for_my_device.As(&amp;dxgi_resource);&#xA;HANDLE shared_handle = NULL;&#xA;dxgi_resource->GetSharedHandle(&amp;shared_handle);&#xA;dxgi_resource->Release();&#xA;&#xA;Microsoft::WRL::ComPtr<id3d11texture2d> temp_texture_for_ffmpeg_device {nullptr};&#xA;ffmpeg_device->OpenSharedResource(shared_handle, __uuidof(ID3D11Texture2D), (void**)temp_texture_for_ffmpeg_device.GetAddressOf());&#xA;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);&#xA;ffmpeg_device_context->Flush();&#xA;</id3d11texture2d></idxgiresource></id3d11texture2d>

    &#xA;

    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.

    &#xA;

    When i map the texture to cpu via D3D11_USAGE_STAGING :

    &#xA;

    temp_texture_for_ffmpeg_device : RowPitch is 768, DepthPitch is 768 * 720 ;&#xA;temp_texture_for_my_device : RowPitch is 1024, DepthPitch is 1024 * 480 ;

    &#xA;

    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.

    &#xA;

    my_device and my_device_context are created by D3D11On12CreateDevice.

    &#xA;