
Recherche avancée
Médias (91)
-
Richard Stallman et le logiciel libre
19 octobre 2011, par
Mis à jour : Mai 2013
Langue : français
Type : Texte
-
Stereo master soundtrack
17 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Audio
-
Elephants Dream - Cover of the soundtrack
17 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Image
-
#7 Ambience
16 octobre 2011, par
Mis à jour : Juin 2015
Langue : English
Type : Audio
-
#6 Teaser Music
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#5 End Title
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
Autres articles (75)
-
Participer à sa traduction
10 avril 2011Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
Actuellement MediaSPIP n’est disponible qu’en français et (...) -
MediaSPIP Core : La Configuration
9 novembre 2010, parMediaSPIP Core fournit par défaut trois pages différentes de configuration (ces pages utilisent le plugin de configuration CFG pour fonctionner) : une page spécifique à la configuration générale du squelettes ; une page spécifique à la configuration de la page d’accueil du site ; une page spécifique à la configuration des secteurs ;
Il fournit également une page supplémentaire qui n’apparait que lorsque certains plugins sont activés permettant de contrôler l’affichage et les fonctionnalités spécifiques (...) -
Le profil des utilisateurs
12 avril 2011, parChaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)
Sur d’autres sites (8108)
-
Change video file used for saving in table
9 août 2017, par CR7I am trying to convert uploaded video file to mp4 format. It is working properly. But after that in my DB, it is saving the old video file details instead of converted file. Also the converted file is saved in the uploaded video name and extension. I am using streamio-ffmpeg gem
In my model I have the following code.
mount_uploader :video, VideoUploader
and in the video_uploader.rb
require 'streamio-ffmpeg'
class VideoUploader < CarrierWave::Uploader::Base
process :encode_video
def encode_video
file = FFMPEG::Movie.new(current_path)
filename = "#{current_path.chomp(File.extname(current_path))}.mp4"
file.transcode(filename)
FileUtils.mv(filename, current_path)
end
endHow can I set the current_path file to the converted file path
-
ffmpeg yuvj422p color movie conversion avi2ogv
28 juillet 2017, par 7ToninWhile converting avi video to ogv, there is a color problem in output file.
How can I solve this issue ?
normal colors altered colorsActually a part of the problem is from the player - so weak question
Command using ffmpeg-3.3.2-1.mga6.tainted :
ffmpeg -i dscn0146.avi -pix_fmt yuv422p -s 640x480 dscn0146_hq.ogv -y
And input metadata :
Guessed Channel Layout for Input Stream #0.1 : mono
Input #0, avi, from 'dscn0146.avi':
Metadata:
encoder :
maker : NIKON
model : COOLPIX S3500
creation_time : 2017-07-22 12:09:06
Duration: 00:00:07.33, start: 0.000000, bitrate: 11091 kb/s
Stream #0:0: Video: mjpeg (MJPG / 0x47504A4D), yuvj422p(pc, bt470bg/unknown/unknown), 640x480, 10770 kb/s, 30 fps, 30 tbr, 30 tbn, 30 tbc
Stream #0:1: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 22050 Hz, mono, s16, 352 kb/s
Stream mapping:
Stream #0:0 -> #0:0 (mjpeg (native) -> theora (libtheora))
Stream #0:1 -> #0:1 (pcm_s16le (native) -> vorbis (libvorbis))Processes normaly, but fires a warning :
[swscaler @ 0xd3c3a0] deprecated pixel format used, make sure you did set range correctly
Output metadata :
Output #0, ogv, to 'dscn0146_hq.ogv':
Metadata:
model : COOLPIX S3500
maker : NIKON
encoder : Lavf57.71.100
Stream #0:0: Video: theora (libtheora), yuv422p(progressive), 640x480, q=2-31, 200 kb/s, 30 fps, 30 tbn, 30 tbc
Metadata:
encoder : Lavc57.89.100 libtheora
model : COOLPIX S3500
maker : NIKON
Stream #0:1: Audio: vorbis (libvorbis), 22050 Hz, mono, fltp
Metadata:
encoder : Lavc57.89.100 libvorbis
model : COOLPIX S3500
maker : NIKON -
Sidekiq not processing video meta data using stremio-ffmpeg in rails app
22 juillet 2017, par ArnoldI am trying to process different video resolutions in background using carrierwave backgrounder, carrierwave-video and sidekiq. everything is working well (all the versions are created in background) except the meta data captured using stremio-ffmpeg. I am completely stuck and can’t figure out why the meta data are not being processed.
below are my sample codes
video_uploader.rb
require 'streamio-ffmpeg'
class VideoUploader < CarrierWave::Uploader::Base
include CarrierWave::Video # for your video processing
include CarrierWave::Video::Thumbnailer
include ::CarrierWave::Backgrounder::Delay
# Include RMagick or MiniMagick support:
# include CarrierWave::RMagick
# include CarrierWave::MiniMagick
# Choose what kind of storage to use for this uploader:
storage :file
# storage :fog
#byebug
process :save_metadata
# Override the directory where uploaded files will be stored.
# This is a sensible default for uploaders that are meant to be mounted:
def store_dir
default_path = "/#{model.class.to_s.underscore}/#{mounted_as}/#{model.id}"
# if FLAVOR == "uglive"
# default_path = "/uglive#{default_path}"
# end
"#{VIDEO_STORAGE}#{default_path}"
end
version :thumb do
process thumbnail: [{format: 'png', quality: 10, size: 360, strip: false,
square: false, logger: Rails.logger}]
def full_filename for_file
png_name for_file, version_name
end
end
def png_name for_file, version_name
#remove all accents
I18n.transliterate(%Q{#{version_name}_#
{for_file.chomp(File.extname(for_file))}.png})
end
#save the video size in the model
def save_metadata
video = FFMPEG::Movie.new(file.file)
if video.valid?
model.duration = video.duration #(duration of the video in seconds)
model.size = video.size #size is bytes
model.video_codec = video.video_codec # "h264"
model.width = video.width # 640 (width of the video in pixels)
model.height = video.height # 480 (height of the video in pixels)
model.audio_codec = video.audio_codec # "aac"
end
end
# Different Video Resolutions
version :res_480p, :do_not_delay => true do
process encode_video: [:mp4, resolution: "720X480"]
end
version :res_720p do
process encode_video: [:mp4, resolution: "1280X720"]
end
version :res_360p do
process encode_video: [:mp4, resolution: "640x360"]
end
version :res_240p do
process encode_video: [:mp4, resolution: "426x240"]
endvideo.rb i called the mount uploader and background_process method (carrierwave video gem)
mount_uploader :file, VideoUploader
process_in_background :filewhen i run
bundle exec sidekiq -q carrierwave
the version are created in background but thesave_metadata
method is never processed, so theduration
,size
,width
,height
,video_codec
andaudio_codec
arenil
in the Video model.I am stuck on this the whole day. any help will be highly welcome