
Recherche avancée
Autres articles (103)
-
MediaSPIP 0.1 Beta version
25 avril 2011, parMediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
The zip file provided here only contains the sources of MediaSPIP in its standalone version.
To get a working installation, you must manually install all-software dependencies on the server.
If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...) -
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 ;
-
Multilang : améliorer l’interface pour les blocs multilingues
18 février 2011, parMultilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.
Sur d’autres sites (14665)
-
Cannot suppress ffmpeg output from ruby
3 avril 2014, par DannyI have ruby on rails app that allows users to upload videos. When a video is added, I have a before_save filter that uses ffmpeg to generate a series of thumbnails. The problem is that ffmpeg is producing tons of console output when I'm saving a video item in the rails console, and when I run my tests.
My environment :
- Host Machine : OS X 10.9.2
- Vagrant Box : Ubuntu 10.04.4
- ffmpeg version : SVN-r0.5.9-4:0.5.9-0ubuntu0.10.04.3
- ruby version : 1.9.3-p194
Command I'm running :
`ffmpeg -v 0 -ss #{timestamp} -i #{video_file.path} -y -f image2 -vcodec mjpeg -vframes 1 -s 640*360 #{thumbnail_path}/thumbnail#{i}.jpg`
This version of ffmpeg on my VM doesn't seem to care about the "-v 0" option. I've also tried "-loglevel quiet" which causes ffmpeg to error, indicating that the option isn't recognized (both loglevel and v work on my host machine's ffmpeg).
Tried using both exec() and system(), which both caused execution to hang. Tried to redirecting output to a file by doing :
`ffmpeg -v 0 -ss #{timestamp} -i #{video_file.path} -y -f image2 -vcodec mjpeg -vframes 1 -s 640*360 #{thumbnail_path}/thumbnail#{i}.jpg > #{thumbnail_path}/output.txt`
Still see output. Next I tried :
`ffmpeg -v 0 -ss #{timestamp} -i #{video_file.path} -y -f image2 -vcodec mjpeg -vframes 1 -s 640*360 #{thumbnail_path}/thumbnail#{i}.jpg &> dev/null`
Still seeing output ! Finally I tried :
$stdout.reopen("#{thumbnail_path}/output.txt", "w")
$stderr.reopen("#{thumbnail_path}/error.txt", "w")
`ffmpeg -v 0 -ss #{timestamp} -i #{video_file.path} -y -f image2 -vcodec mjpeg -vframes 1 -s 640*360 #{thumbnail_path}/thumbnail#{i}.jpg`
$stdout = STDOUT
$stderr = STDERRHoly cow, that worked ! Well, sort of. No more verbose output when running tests, BUT somehow anytime this runs I get kicked out of the rails console.
Does anyone have a more elegant solution ?
-
streaming webcam using ffmpeg and H.264
4 avril 2014, par John QualisI am new to ffmpeg. I am trying to stream my webcam live over the WAN to a ffserver by using ffmpeg and libx264 on a windows 7 64 bit machine.I have described my problem below. Can someone show me how to stream a webcam live using x264 and ffmpeg/ffserver ? Is it possible to do so ?
I am using the following command :
ffmpeg.exe -f dshow -i video="Webcam C170":audio="Microphone (3- Webcam C170)"
-an -vcodec libx264 -b:v 64k -threads 0 -r 25 -maxrate 2048k -bufsize 6000k
http://AA.BB.CC.DD:8090/feed1.ffmI get the followoing errors -
[mpeg1video @ 049ec4e0] too many threads/slices (9), reducing to 8
[libx264 @ 026999e0] broken ffmpeg default settings detected
[libx264 @ 026999e0] use an encoding preset (e.g. -vpre medium)
[libx264 @ 026999e0] preset usage: -vpre <speed> -vpre <profile>
[libx264 @ 026999e0] speed presets are listed in x264 --help
[libx264 @ 026999e0] profile is optional; x264 defaults to high
Metadata:
creation_time : now
Stream #0:0: Video: mpeg1video, yuv420p, 160x128, q=2-31, 64 kb/s, 1000k tbn, 30
tbc
Stream #0:1: Audio: pcm_mulaw, 22050 Hz, mono, s16, 176 kb/s
Stream #0:2: Video: h264, yuv422p, 160x128, q=2-31, 64 kb/s, 1000k tbn, 30 tbc
Stream mapping:
Stream #0:0 -> #0:0 (rawvideo -> mpeg1video)
Stream #0:1 -> #0:1 (pcm_s16le -> pcm_mulaw)
Stream #0:0 -> #0:2 (rawvideo -> libx264)
**Error while opening encoder for output stream #0:2 - maybe incorrect parameters such
as bit_rate, rate, width or height**
[dshow @ 0269f640] real-time buffer 101% full! frame dropped!
</profile></speed>Here is my ffserver.conf (relevant parts)
<stream>
# coming from live feed 'feed1'
Feed feed1.ffm
Format mpeg
# Bitrate for the audio stream. Codecs usually support only a few
# different bitrates.
AudioBitRate 32
# Number of audio channels: 1 = mono, 2 = stereo
AudioChannels 1
AudioSampleRate 44100
# Bitrate for the video stream
VideoBitRate 64
VideoBufferSize 40
# Number of frames per second
#VideoFrameRate 8
#VideoFrameRate 40
VideoFrameRate 3
VideoSize 160x128
VideoGopSize 12
No Audio
ACL: .....
</stream>
...............
...............
<stream>
Format rtp
Feed feed1.ffm
VideoCodec libx264
VideoFrameRate 15
VideoBitRate 64
#VideoSize 480x272
# VideoSize 176x144
#AVPresetVideo default
#AVPresetVideo default
#AVPresetVideo baseline
#AVOptionVideo flags +global_header
</stream> -
How to import FFMPEG Library in my maven project ?
1er septembre 2021, par GeorgiI have a Spring-boot project, where I am using the ffmpeg library, I am executing the ffmpeg commands through a ProcessBuilder(in the terminal/cmd) and everything works fine, because I have already installed the ffmpeg on my macOS. When I try to generate a jar and run it on an another machine, where ffmpeg is not installed, it is executed, everything works fine, except the ffmpeg comamnds. Is there any change to import the library to my maven project or somehow to use it ?
Is it a good idea to add an external jar of the library ?



Thank you in advance !