
Recherche avancée
Médias (1)
-
The pirate bay depuis la Belgique
1er avril 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Image
Autres articles (62)
-
Demande de création d’un canal
12 mars 2010, parEn fonction de la configuration de la plateforme, l’utilisateur peu avoir à sa disposition deux méthodes différentes de demande de création de canal. La première est au moment de son inscription, la seconde, après son inscription en remplissant un formulaire de demande.
Les deux manières demandent les mêmes choses fonctionnent à peu près de la même manière, le futur utilisateur doit remplir une série de champ de formulaire permettant tout d’abord aux administrateurs d’avoir des informations quant à (...) -
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 -
Changer son thème graphique
22 février 2011, parLe thème graphique ne touche pas à la disposition à proprement dite des éléments dans la page. Il ne fait que modifier l’apparence des éléments.
Le placement peut être modifié effectivement, mais cette modification n’est que visuelle et non pas au niveau de la représentation sémantique de la page.
Modifier le thème graphique utilisé
Pour modifier le thème graphique utilisé, il est nécessaire que le plugin zen-garden soit activé sur le site.
Il suffit ensuite de se rendre dans l’espace de configuration du (...)
Sur d’autres sites (7718)
-
avformat_open_input() error -1330794744 : Could not open input
22 mai 2014, par NavidWhen I run my code on unix (postproc removed) :
FFmpegFrameGrabber frameGrabber = new FFmpegFrameGrabber("https://.../ec769038-22d9-4da9-a7bf-dd4647f97964-353.mp4?__h__=1400667080_dfb4fabf293d258cd501ab4978419392");
IplImage capturedImage = null;
try {
frameGrabber.start();
long lengthInTime = frameGrabber.getLengthInTime();
long i = 0;
while(i < lengthInTime) {
frameGrabber.setTimestamp(i);
capturedImage = frameGrabber.grab();
// if capturedImage is null ... error
if(capturedImage == null)
break;
LOG.info("frame: " + i + " " + capturedImage.depth());
i += 10 * 1000 * 1000; // microseconds
}
frameGrabber.stop();
frameGrabber.release();
} catch (Exception e) {
LOG.error(e.getMessage());
}I get this error :
avformat_open_input() error -1330794744: Could not open input "https://.../ec769038-22d9-4da9-a7bf-dd4647f97964-353.mp4?__h__=1400667080_dfb4fabf293d258cd501ab4978419392". (Has setFormat() been called?)
I am running the program in Red Hat Same code works with local file path.
I know URL works because the same code (but postproc not excluded) works in Windows.
I am using Javacv 0.5 both in Red Hat and Windows (that’s the only choice I have at work) -
How to burn in subtitles onto a webm video with ffmpeg ?
7 mai 2014, par IcanFLYI am trying to set up a livestream with ffserver and ffmpeg. The problem is I am using webm, and I need to burn in subtitles, which are located in a mkv. I am not quite sure how to do this, but here is my ffmpeg config (ffstream.sh) that I am using :
#Livestream script for FFMpeg/FFServer
FPS=24 # Stream FPS.
GOP=48 # GOP Should be double of FPS.
THREADS=4 # How many threads.
DEADLINE=realtime # Speed preset, realtime is fastest.
FRAMELAG=16 # How many frames to seek ahead (max 25)
QMAX=52 # More = less quality.
QMIN=10 # Less = more quality.
VBITRATE=1M # Target Bitrate.
BITRATE=3000k # Bitrate.
AUDIBR=48k # Audio Bitrate.
SERVER=<myserver>:8090/feed.ffm # Server stream endpoint.
LOGLEVEL=verbose # Logging verbosity level.
for f in $@; do ffmpeg -re -i $f\
-vf subtitles=$f\
-g $GOP -loglevel $LOGLEVEL\
-c:v:0 libvpx -threads $THREADS -b:v $BITRATE -vb $VBITRATE -bufsize $BITRATE\
-qmax $QMAX -qmin $QMIN -deadline $DEADLINE -lag-in-frames $FRAMELAG\
-c:a libvorbis -b:a $AUDIBR\
"http://$SERVER"
done
</myserver>Everything connects fine and I can get audio and video to play, however I cannot seem to get the subtitles to show up. Here is my output (I quit out of it) :
Stream mapping:
Stream #0:1 -> #0:0 (flac -> libvorbis)
Stream #0:0 -> #0:1 (h264 -> libvpx)
Press [q] to stop, [?] for help
[output stream 0:0 @ 0x1e77dc0] 100 buffers queued in output stream 0:0, something may be wrong.
frame= 232 fps= 23 q=0.0 Lsize= 816kB time=00:00:09.67 bitrate= 690.8kbits/s
video:758kB audio:41kB subtitle:0kB other streams:0kB global headers:3kB muxing overhead: 2.113806%
Input file #0 (<file>.mkv):
Input stream #0:0 (video): 242 packets read (3343775 bytes); 242 frames decoded;
Input stream #0:1 (audio): 118 packets read (391060 bytes); 118 frames decoded (483328 samples);
Input stream #0:2 (audio): 8 packets read (20480 bytes);
Input stream #0:3 (subtitle): 1 packets read (182 bytes);
Input stream #0:4 (subtitle): 1 packets read (52 bytes);
Input stream #0:5 (attachment): 0 packets read (0 bytes);
Total: 370 packets (3755549 bytes) demuxed
Output file #0 (http://<myserver>/feed.ffm):
Output stream #0:0 (audio): 3233 frames encoded (206912 samples); 406 packets muxed (41937 bytes);
Output stream #0:1 (video): 232 frames encoded; 232 packets muxed (776350 bytes);
Total: 638 packets (818287 bytes) muxed
Received signal 2: terminating.
</myserver></file>Also here is my ffserver config, not sure if there is something in here stopping the subtitles from showing up :
Port 8090
BindAddress 0.0.0.0
MaxHTTPConnections 2000
MaxClients 1000
MaxBandwidth 10000
CustomLog -
<feed>
File /path/to/folder/tmp/feed.ffm
FileMaxSize 100M
#Allow localhost
ACL allow 127.0.0.1
ACL allow <myip>
#It might be a good idea to add your stream source here.
</myip></feed>
<stream>
Feed feed.ffm
Format webm
VideoSize hd720 #Must be set here, all input files will be scaled to fit.
AVOptionVideo flags +global_header
AVOptionAudio flags +global_header
StartSendOnKey
</stream>
<stream>
Format status
ACL allow localhost
</stream>
# Redirect index.html to the appropriate site
<redirect>
URL http://<myserver>
</myserver></redirect>Any help on how to do this, would be grateful.
-
Song name under video
2 septembre 2020, par ottpeterI'm trying to write the song name under the video with ffmpeg. My mp3 files are running in a loop like this :

-stream_loop -1 -i music.txt

My workaround would be to write an SRT file with timecodes, a script would determine when next song is comming, and I would repeat this, let's say, a 1000 times (time codes adjusted), then I would get song names for a month for example. (this would be done before ffmpeg is started)
Obviously this is not optimal, especially because I can't loop the SRT file as well, because of the timecode. It would be better to do this with a filter complex.

Is there a way to know the name of the mp3 that is currently playing, in ffmpeg ?