
Recherche avancée
Médias (1)
-
Publier une image simplement
13 avril 2011, par ,
Mis à jour : Février 2012
Langue : français
Type : Video
Autres articles (104)
-
MediaSPIP 0.1 Beta version
25 avril 2011, parMediaSPIP 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 (...) -
Multilang : améliorer l’interface pour les blocs multilingues
18 février 2011, parMultilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela. -
Des sites réalisés avec MediaSPIP
2 mai 2011, parCette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.
Sur d’autres sites (11280)
-
ffmpeg alters color scheme when converting images to a video
12 février 2019, par Flo RyanI am trying to convert a sequence of png images to a video. Unfortunately the video though playing exactly what i want alters the colors.
The command used to convert the images :
ffmpeg -framerate 30 -pattern_type glob -i ’*.png’ -c:v libx264 -profile:v high -crf 20 -pix_fmt yuv420p out.mp4
The colors as displayed in the video.
How can I circumvent this altering of the colors ?
EDIT
I found the answer as posted below. -
Audio/video out of sync after Google Cloud Transcoding
18 mai 2021, par Renov JungI have been using Google Cloud Transcoding to convert video into HLS.
There are only few videos out of audio sync after the transcoding.
The Audio is behind +1 2 seconds.
The jobConfig looks no problem to me. So, I have no idea how to solve it or even what is causing the trouble from jobConfig setting.


jobConfig :


job: {
 inputUri: 'gs://' + BUCKET_NAME + '/' + inputPath,
 outputUri: 'gs://' + BUCKET_NAME + '/videos/' + outputName + '/',
 templateId: 'preset/web-hd',
 config: {
 elementaryStreams: [
 {
 key: 'video-stream0',
 videoStream: {
 codec: 'h264',
 widthPixels: 360,
 bitrateBps: 1000000,
 frameRate: 60,
 },
 },
 {
 key: 'video-stream1',
 videoStream: {
 codec: 'h264',
 widthPixels: 720,
 bitrateBps: 2000000,
 frameRate: 60,
 },
 },
 {
 key: 'audio-stream0',
 audioStream: {
 codec: 'aac',
 bitrateBps: 64000,
 },
 },
 ],
 muxStreams: [
 {
 key: 'hls_540p',
 container: 'ts',
 segmentSettings: {
 "individualSegments": true
 },
 elementaryStreams: ['video-stream0', 'audio-stream0'],
 },
 {
 key: 'hls2_720p',
 container: 'ts',
 segmentSettings: {
 "individualSegments": true
 },
 elementaryStreams: ['video-stream1', 'audio-stream0'],
 },
 ],
 manifests: [
 {
 "type": "HLS",
 "muxStreams": [
 "hls_540p", "hls2_720p"
 ]
 },
 ],
 },
 },



Before transcoding video :


- 

- https://storage.googleapis.com/greyd/video/1621244451071_7aa8b5358afe8c5690e3bf8e67c69a52.mp4




After transcoding video :




-
sws_scale with PIX_FMT_RGB48 distorts color
26 juin 2013, par PeterFolks,
I need to open an input bitmap file, increase the pixel depth from 8 bits to 12 bits RGB and dump the image as an uncompressed file.
I am using libavcodec to accomplish this. Fortunately, the very first example from dranger's famous tutorial does most of what I want to do. It even has a method to save the frame as a .ppm file.
When I use PIX_FMT_RGB24 with sws_getContext/avpicture_fill/sws_scale, the generated output file contains the correct 8-bit RGB value. For example, my first pixel in the input file has the RGB value of 0xFF, 0x6A, 0x00. I can see this value in the generated .ppm file.
However, when I replace PIX_FMT_RGB24 with PIX_FMT_RGB48, it appears sws_scale is changing the color value. For example the first pixel now shows up as 0x15FF, 0x3F6a, 0x0000.
I changed sws_getContext flag from SWS_BILINEAR to SWS_POINT. However, this did not make any difference in the output.
I would appreciate it if someone can please help me understand what is it that I am doing wrong.
Thank you in advance for your help.
Regards,
Peter