
Advanced search
Other articles (58)
-
Le profil des utilisateurs
12 April 2011, byChaque 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 (...) -
Configurer la prise en compte des langues
15 November 2010, byAccéder à la configuration et ajouter des langues prises en compte
Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...) -
XMP PHP
13 May 2011, byDixit 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 (...)
On other websites (4846)
-
nvenc encoder performed resolution 2560 * 1440 encoding yuv444 failed ?
8 November 2022, by Travis990NVIDIA Gefore GTX 1660Ti graphics card, I use video-sdk-samples for HEVC encoding, YUV format: NV_ENC_BUFFER_FORMAT_YUV444, resolution “1920 * 1080” and “3840 * 2160” resolution encoding is successful, but resolution 2560*1440 encoding, prompting error info :NV_ENC_ERR_INVALID_PARAM, I do not know where the problem lies?


void NvEncoder::DoEncode(NV_ENC_INPUT_PTR inputBuffer, std::vector<bool> &vKeyFrame, std::vector> &vPacket, NV_ENC_PIC_PARAMS *pPicParams)
{
 NV_ENC_PIC_PARAMS picParams = {};
 if (pPicParams)
 {
 picParams = *pPicParams;
 }
 picParams.version = NV_ENC_PIC_PARAMS_VER;
 picParams.pictureStruct = NV_ENC_PIC_STRUCT_FRAME;
 picParams.inputBuffer = inputBuffer;
 picParams.bufferFmt = GetPixelFormat();
 picParams.inputWidth = GetEncodeWidth();
 picParams.inputHeight = GetEncodeHeight();
 picParams.outputBitstream = m_vBitstreamOutputBuffer[m_iToSend % m_nEncoderBuffer];
 picParams.completionEvent = m_vpCompletionEvent[m_iToSend % m_nEncoderBuffer];
 NVENCSTATUS nvStatus = m_nvenc.nvEncEncodePicture(m_hEncoder, &picParams);
 if (nvStatus == NV_ENC_SUCCESS || nvStatus == NV_ENC_ERR_NEED_MORE_INPUT)
 {
 m_iToSend++;
 GetEncodedPacket(m_vBitstreamOutputBuffer, vKeyFrame, vPacket, false);
 }
 else
 {
 printf("picParams.inputWidth = %d,picParams.inputHeight = %d \n", picParams.inputWidth, picParams.inputHeight);
 NVENC_THROW_ERROR("nvEncEncodePicture API failed", nvStatus);
 }
}

error:
nvEncEncodePicture Prompt Error:NV_ENC_ERR_INVALID_PARAM 

</bool>


`


-
FFmpeg script for linux and windows batch video encode different settings depending on video resolution [closed]
28 December 2022, by Jaroslav HavelI'm looking for advice, help. I would like to convert all home videos to H265 using ffmpeg. Videos are in different formats and resolutions (3GP, mov, avi, mpg, mp4). I have an idea of which setting to set for which resolution, but I don't know how to write it all into a script (windows and linux). For these resolutions


CRF 18-22 for <= 576p use 20
CRF 19-23 for > 576 and <= 720p use 21
CRF 20-24 for >720 and <= 1080p use 22
CRF 22-28 for >= 2160p 4K use 25



For windows i have


@ECHO OFF

FOR %%F IN ("*.*") DO (
 ffmpeg -i %%F -c:v libx265 -crf 20 -preset faster -profile:v main -pix_fmt yuv420p -acodec libmp3lame -b:a 192k %%~nF_new.mkv
)



Big thanks for the help


-
How to stich images into a video with resolution larger then 4K using FFMPEG?
14 January 2023, by Aviram FirebergerI have a folder with images that I've extracted from one video.
The resolution for each image is 5760 X 2880.
All images are in the following format:
out-1.jpg, out-2.jpg , out-3.jpg ..... out-1000.jpg


I tried couple of different ways to stich them:


Using CPU - libx264


ffmpeg -r 30 -f image2 -s 5760X2880 -start_number 1 -i "AllFrames/out-%d.jpg" -vframes 119 -vcodec libx264 -crf 25 -pix_fmt yuv420p "/AllVideoChunks/Chunk_1.mp4"



Worked well but the speed is about X0.05 only.


Using GPU - h264_nvenc


ffmpeg -r 30 -f image2 -s 4000X2000 -start_number 1 -i "AllFrames/out-%d.jpg" -vframes 119 -vcodec h264_nvenc -gpu 0 -preset slow -b:v 75M -pix_fmt yuv420p"/AllVideoChunks/Chunk_1.mp4"



Working very fast and high quality, but the problem is that I can't use it for images and output bigger then width 4096


Using GPU - hevc_nvenc


ffmpeg -r 30 -f image2 -s 5760X2880 -start_number 1 -i "AllFrames/out-%d.jpg" -vframes 119 -vcodec hevc_nvenc -gpu 0 -preset slow -b:v 75M -pix_fmt yuv420p"/AllVideoChunks/Chunk_1.mp4"



Working X10 more then the CPU at the speed of X0.5, good quality, but the problem is that I can't use it in normal players (can't play it in Unity)


Is there another video codec that can work on GPU that support more then 4K resolution?
Can I transform the 'hevc_nvenc ' output to 'h264' on GPU in higher resolution? should I do this transformation on CPU?