
Recherche avancée
Autres articles (76)
-
La sauvegarde automatique de canaux SPIP
1er avril 2010, parDans le cadre de la mise en place d’une plateforme ouverte, il est important pour les hébergeurs de pouvoir disposer de sauvegardes assez régulières pour parer à tout problème éventuel.
Pour réaliser cette tâche on se base sur deux plugins SPIP : Saveauto qui permet une sauvegarde régulière de la base de donnée sous la forme d’un dump mysql (utilisable dans phpmyadmin) mes_fichiers_2 qui permet de réaliser une archive au format zip des données importantes du site (les documents, les éléments (...) -
Script d’installation automatique de MediaSPIP
25 avril 2011, parAfin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
La documentation de l’utilisation du script d’installation (...) -
Le profil des utilisateurs
12 avril 2011, parChaque 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 (...)
Sur d’autres sites (6923)
-
Size of files was increased after splitting by Ffmpeg
29 avril 2014, par user3584205I use this code to split file to multiple parts :
@echo off
for %%i in (*.mp4) do (
ffmpeg -i "%%~i" -vcodec copy -acodec copy -ss 00:00:00 -t 00:00:05 "D:\Ebook\%%~ni_1.mp4"
ffmpeg -i "%%~i" -vcodec copy -acodec copy -ss 00:00:05 -t 00:00:10 "D:\Ebook\%%~ni_2.mp4"
ffmpeg -i "%%~i" -vcodec copy -acodec copy -ss 00:00:10 "D:\Ebook\%%~ni_3.mp4"
)
pauseIt worked but I have a problem. It is total size of parts is larger than original file.
Original : 700 MB and after splitting :
Part 1: 225
Part 1: 500
Part 2: 250Why ? And how to keep same quality and size of files after splitting ? Thank you very much !
-
YUV420p to other formats, color shift problems
1er juin 2013, par SamSo I'm writing a color detection application using an AR Drone. The drone sends my python/opencv socket server an image from its camera in YUV420p format.
What I do to access the image as an opencv IPLImage is the following (and yes this is inefficient but I didn't / don't want to have to write new conversion tools myself) :
- Save the yuv image to a file (some_image.yuv)
- subprocess.call(insert ffmpeg call here)
- Read the resultant file (bmp, png, it doesn't matter) back in using cv.LoadImage
My problem right now is a very noticable color shift. I'm waving a red felt sheet in these pictures. The first one shows a heavy yellow tint. The second isn't as bad but is very rare — mostly when I have the red sheet it's heavily tinted.
- Tinted image : http://i.stack.imgur.com/BQikM.png
- Less-tinted image : http://i.stack.imgur.com/ezHyy.png
I'm wondering both of these things :
- if there's either a better way to do this
- If the color tinting issue can be resolved
My ffmpeg conversion line looks something like
ffmpeg -s 640x480 -vcodec rawvideo -f rawvideo -pix_fmt yuv420p -i image.yuv -vcodec bmp -f image2 output.bmp
I've also tried :
ffmpeg -f rawvideo -s 640x480 -pix_fmt yuv420p -vf colormatrix=bt709:bt601 -i image.yuv -f image -vcodec png output.png
The color shift is always there, unfortunately !
The color shift is my big problem right now as I later convert the image to HSV and use thresholding to choose a color range that works for me.
-
Revision 1f26840fbf : Enable recursive partition down to 4x4 This commit allows the rate-distortion o
11 mai 2013, par Jingning HanChanged Paths :
Modify /vp9/common/vp9_blockd.h
Modify /vp9/common/vp9_entropymode.c
Modify /vp9/common/vp9_enums.h
Modify /vp9/decoder/vp9_decodemv.c
Modify /vp9/decoder/vp9_decodframe.c
Modify /vp9/encoder/vp9_bitstream.c
Modify /vp9/encoder/vp9_block.h
Modify /vp9/encoder/vp9_encodeframe.c
Modify /vp9/encoder/vp9_rdopt.c
Modify /vp9/encoder/vp9_tokenize.c
Enable recursive partition down to 4x4This commit allows the rate-distortion optimization recursion
at encoder to go down to 4x4 block size. It deprecates the use
of I4X4_PRED and SPLITMV syntax elements from bit-stream
writing/reading. Will remove the unused probability models in
the next patch.The partition type search and bit-stream are now capable of
supporting the rectangular partition of 8x8 block, i.e., 8x4
and 4x8. Need to revise the rate-distortion parts to get these
two partition tested in the rd loop.Change-Id : I0dfe3b90a1507ad6138db10cc58e6e237a06a9d6