
Recherche avancée
Autres articles (6)
-
Gestion générale des documents
13 mai 2011, parMédiaSPIP ne modifie jamais le document original mis en ligne.
Pour chaque document mis en ligne il effectue deux opérations successives : la création d’une version supplémentaire qui peut être facilement consultée en ligne tout en laissant l’original téléchargeable dans le cas où le document original ne peut être lu dans un navigateur Internet ; la récupération des métadonnées du document original pour illustrer textuellement le fichier ;
Les tableaux ci-dessous expliquent ce que peut faire MédiaSPIP (...) -
Les formats acceptés
28 janvier 2010, parLes commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
ffmpeg -codecs ffmpeg -formats
Les format videos acceptés en entrée
Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
Les formats vidéos de sortie possibles
Dans un premier temps on (...) -
XMP PHP
13 mai 2011, parDixit 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 (...)
Sur d’autres sites (1660)
-
Trying to concat videos from different sources with ffmpeg and get different broken results every time (partly no audio and/or fast forward video)
30 octobre 2022, par OliverI am using ffmpeg for years to create (merge and render) big video files from the (vaction) clips my sony camcorder produces. My basic workflow is to copy the mp4 files from the camcorder over to my pc, put the names in a file (file 'filename') and use the following command to create one big file that is playable by my apple tv :


ffmpeg -f concat -safe 0 -i filelist.txt -c:v libx265 -preset slow -x265-params strong-intra-smoothing=0:merange=58 -crf 24 -c:a aac -b:a 320k -tag:v hvc1 output.mp4



i cannot explain most of the arguments in total detail but i know that it works.
My problem occurred as i wanted to prepend some video clips recorded with an iphone to one of those files. So the first part seemed easy, the sony camcorder files have a resolution of 3840x2160 and the iphone video clips have a resolution of 1280x720 so at first i upscaled the iphone files using this command (i would have rather done in just one step but i do not know how to do that) :


ffmpeg -i IMG_1182.MP4 -vf scale=3840:2160 IMG_1182_3840x2160.MP4



then i just tried to add those upscaled video files to the filelist from the first command and ran the command for all clips again. Sadly that did not worked, as the resulting file contained all clips but only the iphone part had audio ! For the rest of the video the audio was missing. At this point i also did not noticed that the second part was played much faster (like played in fast forward mode). So guessed that i have to render the iphone and sony camcorder clips separately using the first command. That worked and i got two video files with perfect audio and video. My next step was to concatenate the resulting files using the following simple command :


ffmpeg -f concat -safe 0 -i concatlist.txt -c copy output.mp4



where concatlist contained both files.
Sadly that also did not worked. I do got a file containing both parts, this time with audio, but the video of the second part still was fast forward !


I do not know what to do at this point, and i also do not understand enough to experiment with the options any more. Can someone explain to my what could be the problems here and how to solve them ?


-
Encoding SWF to video with Melt
17 août 2015, par RocketRI’m doing a project which requires converting
SWF
movies toH.264
video on server-side, to be able to play them both in Flash player and on iPhone/iPad. And I really got stuck.I’m using Melt from http://www.mltframework.org/ and this is my command-line :
melt movie.swf -consumer avformat:video.mp4 r=30 s=640x360 f=mp4 acodec=aac ab=128k ar=48000 vcodec=libx264 b=1000k an=1
It does play in Flash player, but fails to play on iDevices. I googled for iPhone video requirements and it seems my video files do satisfy them(frame size, framerate and bitrate). What settings should I change to make it play ?
-
OpenGL ES glReadPixels exc_bad_access
6 décembre 2011, par YannyI'm trying to create video from images using OpenGL ES and ffmpeg, but on iPad(4.3) I have a crash on
glReadPixels
-(NSData *) glToUIImage {
int numberOfComponents = NUMBER_OF_COMPONENTS; //4
int width = PICTURE_WIDTH;
int height = PICTURE_HEIGHT;
NSInteger myDataLength = width * height * numberOfComponents;
NSMutableData * buffer= [NSMutableData dataWithLength :myDataLength];
[self checkForGLError];
GLenum type = NUMBER_OF_COMPONENTS == 3 ? GL_RGB : GL_RGBA; //RGBA
glReadPixels(0, 0, width, height, type, GL_UNSIGNED_BYTE, [buffer mutableBytes]); //EXC_BAD_ACCESS here
return buffer;
}It is working on iPhone 4 (4.3) and iPod Touch, but have problems on iPhone 3G(3.0) and iPad(4.3). Can you help me with this issue ?
Also on iPhone 3G(3.0) and iPad(4.3) I have problems with Video - first 5-20 video frames have trash. Maybe issue with optimization ? Or architecture ?
EDITED
Stack :#0 0x33be3964 in void BlockNxN<64ul, 16ul, 1, BLOCK_CONVERTER_NULL_32>(unsigned long, int, int, unsigned long, int, int, unsigned int, unsigned int, unsigned int, unsigned int) ()
#1 0x33be1c76 in glrBIFDetile ()
#2 0x33b586b2 in sgxGetImage(SGXImageReadParams const*) ()
#3 0x33b50d38 in gldReadPixels ()
#4 0x31813e16 in glReadPixels_Exec ()
#5 0x31e3c518 in glReadPixels ()