
Recherche avancée
Autres articles (12)
-
Emballe médias : à quoi cela sert ?
4 février 2011, parCe plugin vise à gérer des sites de mise en ligne de documents de tous types.
Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ; -
Taille des images et des logos définissables
9 février 2011, parDans beaucoup d’endroits du site, logos et images sont redimensionnées pour correspondre aux emplacements définis par les thèmes. L’ensemble des ces tailles pouvant changer d’un thème à un autre peuvent être définies directement dans le thème et éviter ainsi à l’utilisateur de devoir les configurer manuellement après avoir changé l’apparence de son site.
Ces tailles d’images sont également disponibles dans la configuration spécifique de MediaSPIP Core. La taille maximale du logo du site en pixels, on permet (...) -
Configuration spécifique d’Apache
4 février 2011, parModules spécifiques
Pour la configuration d’Apache, il est conseillé d’activer certains modules non spécifiques à MediaSPIP, mais permettant d’améliorer les performances : mod_deflate et mod_headers pour compresser automatiquement via Apache les pages. Cf ce tutoriel ; mode_expires pour gérer correctement l’expiration des hits. Cf ce tutoriel ;
Il est également conseillé d’ajouter la prise en charge par apache du mime-type pour les fichiers WebM comme indiqué dans ce tutoriel.
Création d’un (...)
Sur d’autres sites (3521)
-
Debayer video with ffmpeg
23 février 2023, par Andrew SpenceLooking to debayer video with ffmpeg. I can't find a way to do it without piping raw video between two instances of ffmpeg, because I can't change the pixel format of my input video "in place" from gray to bayer_gbrg8. So, this command works :


ffmpeg -i fr_losslessmovie_png_codec.avi -f image2pipe -pix_fmt gray \
-vcodec rawvideo - | ffmpeg -r 25 -f rawvideo -s 2048x700 \
-pix_fmt bayer_gbrg8 -i pipe:0 -y -pix_fmt yuv420p -b:v 25000k \
fr_debayer_compressed.mp4



I would have given the source movie this pixel format, but didn't realize ffmpeg suported bayered pixel formatting.


Didn't see this exact question online, and have not found a way to change the pixel format with video filters etc. without ffmpeg thinking i'm trying to convert the data. I just want to change the pixel format that the already existing gray data has been assigned.


Thanks in advance !


-
How to keep the last 1 min video streaming using ffmpeg ?
4 août 2020, par Lawrence songI have a UVC camera /dev/video1. The Camera will be always on. but I only care about the last 1 min data stream.


after searching online I got a ffmpeg cmd :


./ffmpeg -f v4l2 -input_format mjpeg -video_size 320x240 -i /dev/video1 -c copy -f segment -segment_time 60 -segment_wrap 2 output.mkv



However I got a error and here is the result


libavutil 56. 56.100 / 56. 56.100
 libavcodec 58. 97.100 / 58. 97.100
 libavformat 58. 49.100 / 58. 49.100
 libavdevice 58. 11.101 / 58. 11.101
 libavfilter 7. 87.100 / 7. 87.100
 libswscale 5. 8.100 / 5. 8.100
 libswresample 3. 8.100 / 3. 8.100
 libpostproc 55. 8.100 / 55. 8.100
Input #0, matroska,webm, from '/sdcard/Movies/output.mkv':
 Metadata:
 ENCODER : Lavf58.49.100
 Duration: N/A, start: 0.000000, bitrate: N/A
 Stream #0:0: Video: mjpeg (Baseline), yuvj422p(pc, bt470bg/unknown/unknown), 320x240, 30 fps, 30 tbr, 1k tbn, 1k tbc (default)
[matroska @ 0x3899e10] Invalid segment filename template 'output.mkv'
Could not write header for output file #0 (incorrect codec parameters ?): Invalid argument



-
Converting dolby vision + lossless audio mkv to higher compatibility mp4 using ffmpeg
28 septembre 2023, par InfinityI want to convert mkv to mp4 for the following reasons.


Mkv files do not trigger dolby vision on an LG OLED A1 but mp4 files do.


Lossless TrueHD with Atmos audio and DTS-HD MA audio are not supported by LG A1 OLED.


I would like guidance on what commands need to be used to to perform a conversion that keeps all original audio and subtitle tracks of different languages and file formats.


I have had some success with a reddit post converting mkv files that have dolby vision and eac3 with atmos tracks to mp4 maintaining dolby vision and atmos data but I lose all subtitle tracks and only one audio track is converted other languages and tracks lost.


I have not been able to find information online regarding going from DTS-HD MA or TrueHD with atmos to eac3 with atmos or any other supported format by LG A1 OLED.