
Recherche avancée
Autres articles (56)
-
La file d’attente de SPIPmotion
28 novembre 2010, parUne file d’attente stockée dans la base de donnée
Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...) -
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
-
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir
Sur d’autres sites (8165)
-
i want to control on bitrate for 720p
10 décembre 2020, par shadymeladi want to control on bitrate for my files
i use this code


for %i in (Fargo.*.mkv) do echo %~ni.mkv && ffmpeg -i %~ni.mkv -i shady.png -filter_complex "[0:v][1:v]overlay=main_w-overlay_w-10:10,subtitles=%~ni.srt" -codec:a copy -s hd720 -b:v 800k -maxrate 800k -bufsize 800k -preset medium %~ni.new.mp4



by this code always the bitrate come to high like average 2000-2500 the finiel files come to high for watching online for ex 1 EP for series come like 1 Giga
i want to control it to get out average 1000-1200 to make the size come not to high for watching online


anyone can help me ?


-
Convert stream to a stream on the fly with ffmpeg/avconv
6 juillet 2014, par ApacciI’m trying to convert flv stream to another mp3 or ogg stream. The point is I want to use mp3/ogg stream on HTML5 page, because flv stream can’t be played with HTML5. So, I configured avserver.conf :
Port 8090
BindAddress 0.0.0.0
MaxHTTPConnections 2000
MaxClients 1000
MaxBandwidth 1000
CustomLog -
<feed>
File /tmp/feed1.ffm
FileMaxSize 200K
ACL allow 127.0.0.1
</feed>
<stream>
Feed feed1.ffm
Format ogg
AudioBitRate 64
AudioChannels 1
AudioSampleRate 44100
NoVideo
</stream>
<stream>
ACL allow localhost
ACL allow 192.168.0.0 192.168.255.255
</stream>
<redirect>
URL http://www.libav.org/
</redirect>the command I use :
avconv -i http://some_stream_service?format=flv -acodec mp3 http://localhost:8090/feed1.ffm
console output :
avconv version 9.13-6:9.13-0ubuntu0.14.04.1+fdkaac, Copyright (c) 2000-2014 the Libav developers
built on May 10 2014 17:26:31 with gcc 4.8 (Ubuntu 4.8.2-19ubuntu1)
[flv @ 0x126e020] max_analyze_duration reached
Input #0, flv, from 'http://some_stream_service?format=flv':
Metadata:
encoder : Lavf52.87.1
Duration: 00:00:00.00, start: 0.000000, bitrate: N/A
Stream #0.0: Audio: aac, 44100 Hz, stereo, fltp, 31 kb/s
Output #0, ffm, to 'http://localhost:8090/feed1.ffm':
Metadata:
encoder : Lavf54.20.4
Stream #0.0: Audio: libmp3lame, 44100 Hz, stereo, fltp
Stream mapping:
Stream #0:0 -> #0:0 (aac -> libmp3lame)
Press ctrl-c to stop encoding
size= 1080kB time=66.14 bitrate= 133.8kbits/sIt looks like working, but I keep getting 0 bytes on web page
http://localhost:8090/test1.ogg
. Does anybody have ideas what I’m doing wrong ? -
FFMPEG : Use expression calculated from timestamp to drawtext [closed]
26 décembre 2020, par NicolasVUsing ffmpeg and draw text, I need write on the video something like that :


text=1+floor(BPM * mod(1000*t-StartCounter ;480000/BPM)/60000).


I don't know if I need use PTS or t.


StartCounter would be a variable in milliseconds, the text would appear at this point.


BPM is an integer variable between 100 and 180.


I would draw for instance with StartCounter = 3256 and BPM = 120.


Any help appreciated, thanks