
Recherche avancée
Médias (1)
-
The Great Big Beautiful Tomorrow
28 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Texte
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 (...) -
Modifier la date de publication
21 juin 2013, parComment changer la date de publication d’un média ?
Il faut au préalable rajouter un champ "Date de publication" dans le masque de formulaire adéquat :
Administrer > Configuration des masques de formulaires > Sélectionner "Un média"
Dans la rubrique "Champs à ajouter, cocher "Date de publication "
Cliquer en bas de la page sur Enregistrer -
MediaSPIP v0.2
21 juin 2013, parMediaSPIP 0.2 est la première version de MediaSPIP stable.
Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)
Sur d’autres sites (15504)
-
Build ffmpeg on a build machine
18 juillet 2019, par RDIBuild ffmpeg on build PC using libx264 and shared libraries (not static).
I am building on a Red Hat 6.6 Server and final target machine is CentOS 6.6.
I am trying, as said, to build ffmpeg with encoding enabled (with libx264) and shared libraries ; of course I do not want to install the libraries on the build PC, they should be only extracted and then delivered together with the final RPM.
After the "./configure" I get all RPMs (related to ffmpeg) but when trying to installing ffmpeg-libs on the build pc it fails because the libx264.so.157 is not found, even if as test I installed it (configure/make/make install) and present at /usr/local/lib.Where am I wrong ?
Thanks
This is my SPEC file at the moment :
ldconfig /usr/local/lib
export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH
# configure
./configure \
--enable-gpl --disable-static --enable-shared --extra-cflags="-I/usr/local/include" --extra-ldflags="-L/usr/local/lib" --extra-libs=-ldl --disable-autodetect --disable-doc --disable-postproc --disable-ffplay --disable-everything --enable-encoder=aac --enable-encoder=png --enable-encoder=mjpeg --enable-encoder=libx264 --enable-decoder=aac --enable-decoder=h264 --enable-decoder=mpeg4 --enable-decoder=rawvideo --enable-decoder=png --enable-muxer=mp4 --enable-muxer=stream_segment --enable-muxer=image2 --enable-demuxer=aac --enable-demuxer=h264 --enable-demuxer=mov --enable-demuxer=rtp --enable-parser=aac --enable-parser=h264 --enable-parser=mpeg4video --enable-bsf=aac_adtstoasc --enable-protocol=file --enable-protocol=http --enable-protocol=tcp --enable-protocol=rtp --enable-protocol=udp --enable-indev=xcbgrab --disable-alsa --enable-libxcb --enable-libxcb-xfixes --enable-libxcb-shape --enable-zlib --prefix=%{_prefix} --bindir=%{_bindir} --datadir=%{_datadir}/%{name} --shlibdir=%{_libdir} --enable-alsa --enable-avfilter --enable-avresample --enable-libx264 --enable-filter=scale \ -
after 10M ffmpeg stops saving video on nodejs
12 mai 2016, par cauchyI have a nodejs server running using express (express 4). I want to save the video from a few IP cameras on a lab on request. Everything works, but if the video is too long it doesn’t get saved (the limit seems to be 11M).
I tried using only the command line :
ffmpeg -i rtsp://192.168.1.189:554/ch01_sub.264 -strict -2 -vcodec
copy -vcodec copy test.mp4and this works. But I get into trouble as soon as I use node (note that this is in the node parser, no code in express. I get the same error when running the server) :
var child_process = require('child_process');
tmpProcess = child_process.spawn('ffmpeg',['-i','rtsp://192.168.1.189:554/ch01_sub.264','-strict','-2','-vcodec','copy','-vcodec','copy',"test.mp4"],{maxBuffer: 10000});this runs until test.mp4 is around 11M. tmpProcess is not killed, it keeps running. But after test.mp4 is of certain size I cannot play it back. I get an error saying that "This file contains no playable streams." (this is from Totem, but VLC doesn’t work either).
Changing maxBuffer doesn’t help. I’m trying to understand what buffer am I overflooding but I cannot get much info from the manual on the api of node.
-
Carrierwave and FFMPEG saving to 2 destinations - Rails, Fog, S3
20 avril 2013, par dodgerogers747I have a video model, which uses Carrierwave, Fog, FFMPEG and S3 to handle video files. I have a method in my video model that takes a screenshot before the video is saved to S3. Both Video and screenshot are saved to S3 using 2 Carrierwave Uploader classes, Image_uploader and video_uploader with the video being saved to the Video.file column and screenshot saved at the Video.screenshot.
This all works as intended, however, FFMPEG also saves a copy of the screenshot to the rails filesystem, "Rails.root/file_is_saved_here". For now I have FFMPEG saving this file into the Rails.root/public/uploads folder along with the tmp files created by Carrierwave.
How can I get one screenshot saved to S3 without the second being saved on the filesystem ?
Commit & trace data and
Running transcoding...
/opt/local/bin/ffmpeg -y -i /Users/me/rails_projects/teebox_network/public/uploads/tmp/200/14_jan_2013_hk.mov -ss 3 -vframes 1 -f image2 /Users/garyrogers/rails_projects/teebox_network/public/uploads/14_jan_2013_hk.mov_screenshot.png
Transcoding of /Users/me/rails_projects/teebox_network/public/uploads/tmp/200/14_jan_2013_hk.mov to /Users/garyrogers/rails_projects/teebox_network/public/uploads/14_jan_2013_hk.mov_screenshot.png succeeded
Started POST "/videos" for 127.0.0.1 at 2013-04-19 17:03:07 -0700
Processing by VideosController#create as */*
Parameters: {"utf8"=>"✓", "authenticity_token"=>"DjFIu3971GxKYJzjDFu7LaBx85iOHPa5HzO6PLdSW+8=", "video"=>{"user_id"=>"5", "file"=>#quicktime\r\n", @tempfile=#var/folders/1g/d9qbm7_s0_5fcljtvzysp1gc0000gn/T/RackMultipart20130419-751-19kisab>>}}
User Load (0.5ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 5 LIMIT 1
(0.2ms) BEGIN
SQL (14.9ms) INSERT INTO `videos` (`created_at`, `file`, `question_id`, `screenshot`, `updated_at`, `user_id`) VALUES ('2013-04-20 00:03:20', '14_jan_2013_hk.mov', NULL, '14_jan_2013_hk.mov_screenshot.png', '2013-04-20 00:03:20', 5)video.rb
class Video < ActiveRecord::Base
attr_accessible :user_id, :question_id, :file
belongs_to :question
belongs_to :user
default_scope order('created_at DESC')
before_save :take_screenshot
mount_uploader :file, VideoUploader
mount_uploader :screenshot, ImageUploader
def to_param
"#{id} - #{File.basename(self.file.path)}".parameterize
end
private
def take_screenshot
FFMPEG.ffmpeg_binary = '/opt/local/bin/ffmpeg'
movie = FFMPEG::Movie.new(self.file.current_path)
self.screenshot = movie.screenshot("#{Rails.root}/public/uploads/#{File.basename(self.file.path)}_screenshot.png", seek_time: 3 )
end
endimage_uploader class
class ImageUploader < CarrierWave::Uploader::Base
include Sprockets::Helpers::RailsHelper
include Sprockets::Helpers::IsolatedHelper
storage :fog
process resize_and_pad: [270, 135, '#000']
def store_dir
"uploads/#{model.class.to_s.underscore}_screenshots/#{mounted_as}_images/#{model.id}"
end
def extension_white_list
%w(png jpg)
# %w(ogg ogv 3gp mp4 m4v webm mov)
endVideo uploader class
class VideoUploader < CarrierWave::Uploader::Base
include Sprockets::Helpers::RailsHelper
include Sprockets::Helpers::IsolatedHelper
storage :fog
def store_dir
"uploads/#{model.class.to_s.underscore}/#{mounted_as}/#{model.id}"
end
def extension_white_list
%w(ogg ogv 3gp mp4 m4v webm mov m2v 3g2)
# %w(ogg ogv 3gp mp4 m4v webm mov)
end