
Recherche avancée
Autres articles (59)
-
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. -
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 (...)
Sur d’autres sites (6341)
-
ffmpeg change the order of the output
14 juin 2020, par rokoi try to change the order of the output of 3 inputs (2 audio + 1 video)
this is my command :



/usr/bin/ffmpeg -async 1 \
-f pulse -i alsa_output.pci-0000_00_1b.0.analog-stereo.monitor \
-f pulse -i alsa_input.pci-0000_00_1b.0.analog-stereo \
-f x11grab -video_size 1920x1080 -framerate 8 -i :0.0 \
-filter_complex amix=inputs=2 \
-c:a aac -b:a 128k \
-c:v h264_nvenc -b:v 1500k -maxrate 1500k -minrate 1500k \
-override_ffserver -g 16 http://10.100.102.109:8090/feed1.ffm




this command works but, the first output is audio , therefore my third app cant view this output 
this is my output :



Stream mapping:
 Stream #0:0 (pcm_s16le) -> amix:input0 (graph 0)
 Stream #1:0 (pcm_s16le) -> amix:input1 (graph 0)
 amix (graph 0) -> Stream #0:0 (aac)
 Stream #2:0 -> #0:1 (rawvideo (native) -> h264 (h264_nvenc))
Press [q] to stop, [?] for help
-async is forwarded to lavfi similarly to -af aresample=async=1:min_hard_comp=0.100000:first_pts=0.
 Last message repeated 1 times
Output #0, ffm, to 'http://10.100.102.109:8090/feed1.ffm':
 Metadata:
 creation_time : now
 encoder : Lavf57.83.100
 Stream #0:0: Audio: aac (LC), 48000 Hz, stereo, fltp, 128 kb/s (default)
 Metadata:
 encoder : Lavc57.107.100 aac
 Stream #0:1: Video: h264 (h264_nvenc) (Main), bgr0, 1920x1080, q=-1--1, 1500 kb/s, 8 fps, 1000k tbn, 8 tbc
 Metadata:
 encoder : Lavc57.107.100 h264_nvenc
 Side data:
 cpb: bitrate max/min/avg: 1500000/0/1500000 buffer size: 3000000 vbv_delay: -1




****how can i replace the output that the video will be first ?****



(when i do this command with 1 audio and 1 video inputs, the output is fine, the video is first , and the third part App can view it)



i spent a lot of hours on it please help me.



tnx a lot ...


-
Creating MOV from PNGs with ffmpeg : playback issue in older quicktime (7.6.6)
15 avril 2013, par Jim LindstromI'm using ffmpeg to create a MOV file from a series of images. When I view the movie in Quicktime 7.7.x, it looks great (left image). When I view in Quicktime 7.6.6 I get this weird issue (on the right) :
Any idea even what this is, much less how to fix it ?
Details
My source images are a mix of PNGs and JPGs that I pre-process with ImageMagick (to draw text, captions, etc). I store intermediate results as MPCs, and final frames as PNMs.
To draw the above frame, I'm doing this :
convert -background none -fill white -font my_font.ttf -pointsize 132 -gravity \
center -size 945x550 caption:"Stills Demo" background-template.png \
+swap -composite -resize 1920x1080! /tmp/title_screen4338355.png
convert -auto-orient /tmp/title_screen4338355.png -resize 100% -type TrueColor \
/tmp/1b2764754ce6e420986ed74b942bcf67.mpc
convert /tmp/1b2764754ce6e420986ed74b942bcf67.mpc -set option:distort:viewport \
1920x1080+0+0 +distort SRT '960.0,540.0 1.0 0 960.0,540.0' \
/tmp/stills-project-6224/video_frames/img_0000.pnmI render frames with ffmpeg like so :
ffmpeg -y -f image2 -i /tmp/stills-project-6224/video_frames/img_%04d.pnm \
-i /tmp/soundtrack_8702693.wav -vcodec libx264 -pix_fmt yuvj444p \
-b:v 2200k -r 25 -strict experimental \
/tmp/stills-project-6224/video_rendered/output.movThe rest of the video is fine. The other images are photos (jpgs or pngs) that I process in the same way. I have also noticed that if I don't apply text to this background-template, the image shows up fine, so I think the issue has something to do with either how I'm processing or saving that image.
-
How do I mux both raw h264 and pcm to video container(like mp4) in mediacodec ?
21 février 2019, par geeeekI have a raw h264 file, raw pcm file.
I try to make video container(like mp4) using android mediacodec.
Is it possible ? I did its work in ffmepg, I couldn’t find solution without retranscoding of h264. Most of them use surface view.
Summary, I want that (pcm => ac3) + h264 => mp4. without retranscoding of h264.