
Recherche avancée
Médias (91)
-
Head down (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
-
Echoplex (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
-
Discipline (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
-
Letting you (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
-
1 000 000 (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
-
999 999 (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
Autres articles (69)
-
List of compatible distributions
26 avril 2011, parThe table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...) -
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 (5348)
-
Create 1 RTSP stream from 3 RTSP streams on Raspberry Pi 3
29 mai 2020, par user3260912So this is interesting question and was wondering if anyone may have any insights to how I could do this. I currently have 6 IP cameras and run a Java process that opens ffmpeg to rip the RTSP streams from those 6 IP cameras, save a image to RAM, and then use ImageMagick to convert those files to a collage JPG image so I have all IP cameras in one image. That file then updates as rapidly as possible using space in /dev/shm - in reality, about 6 FPS. But, it uses 45-50% CPU on 6 cores.



I'm looking for a way to reduce some CPU load off my main computer, though. I have 2 Raspberry Pi model 3Bs and am thinking I could maybe put them to good use. Not sure how the performance would be, but willing to test this.



What I'm wanting to do is this :



- 

- Use ffmpeg to pull down images from 3 of the IP camera RTSP streams on each Raspberry Pi into /dev/shm
- Using ImageMagick, montage the temp images pulled, into /dev/shm
- Create a RTSP stream on each Raspberry Pi of that montaged image in /dev/shm
- Use my desktop to pull down the RTSP of the collaged images and collage those to the same format I do today (only using 2 RTSP stream threads, instead of 6 to do this.)











Is there a way to set ImageMagick to set image output format as mjpeg2 or have ffmpeg create a rtsp stream off the rapidly updating JPEG image file ?


-
Pre- and postrecording using ffmpeg
29 juillet 2020, par SanderI want to to be able to add a 1-2 second "prerecording" to an output file, like usually is the case on a cctv camera. (a few seconds video from before the alarm is triggered)



I have an idea on how to have it work in a hacky way, but I'm sure there's already a better solution for it.
1 ffmpeg instance records on a 5 second loop outputting a video every 5 seconds
every 5 seconds the oldest file is removed to keep some space available via cron/script/loop/...
When the event is triggered a second ffmpeg instance starts recording for 5 seconds and prepends the last 5-second video from the other process to it's own video and outputs the final video to be prerecording+recording.mp4



This script will run on a sd-powered device, so the less writes the better (but this could be done in a ramdisk)



Is there a better way to do this ?


-
【carrierwave+ffmpeg】can't upload the video with sound
10 avril 2020, par ken akitaI want to make "Fake Instagram" Rails application.
then I made the uploader and I can upload the video(mp4), but no sound.
I can listen to the sound on my desktop but can't on my application, like this image, speakers not working.
enter image description here



Code is here. I guess something wrong with image_uploader.rb or show.html.erb.
Note that first I made the ImageUploader to upload image, then I want to add video posting system to upload video. Both uploading done, but video without sound.
Really thank you for your advise !



*image_uploader.rb
require 'streamio-ffmpeg'

class ImageUploader < CarrierWave::Uploader::Base
 include CarrierWave::MiniMagick
 process resize_to_fit: [230, 183]

 storage :file

 def store_dir
 "uploads/#{model.class.to_s.underscore}/#{mounted_as}/#{model.id}"
 end

 version :thumb do
 process resize_to_fit: [230, 183]
 end
 version :screenshot do
 process :screenshot
 def full_filename (for_file = model.logo.file)
 "screenshot.jpg"
 end
 end

 def screenshot
 tmpfile = File.join(File.dirname(current_path), "tmpfile")

 File.rename(current_path, tmpfile)

 movie = FFMPEG::Movie.new(tmpfile)
 movie.screenshot(current_path + ".jpg", {resolution: '230x183' }, preserve_aspect_ratio: :width)
 File.rename(current_path + ".jpg", current_path)

 File.delete(tmpfile)
 end

 def extension_whitelist
 %w(jpg jpeg gif png mp4)
 end
end




*show.html.erb
<h1>Stroll</h1>
<p><%= notice %></p>
<p></p>
<% if @stroll[:image] == nil %>
 <%= image_tag"03summer_ver8-l.jpg", width:"230", height:"183" %>
<% elsif @stroll.image.file.content_type.include?('video/') %>
 <%= link_to @stroll.image_url.to_s do %>
 <%= image_tag(@stroll.image_url(:screenshot).to_s, id: "image", :alt => "screenshot") %>
 <% end %>
<% else %>
 <%= image_tag(@stroll.image.url) if @stroll.image && @stroll.image.url %>
<% end %>
<p>user <%= @stroll.user.name %></p>
<p>『<%= @stroll.title %>』</p>
<p>content: <%= @stroll.content %></p>
<p>tag: <%= @stroll.tag %></p>
<p>comment: </p>
<div>
 <%= render partial: 'comments/index', locals: { comments: @comments, stroll: @stroll } %>
</div>
<% if user_signed_in? && @stroll.user_id != current_user.id %>
 <%= render partial: 'comments/form', locals: { comment: @comment, stroll: @stroll } %>
<% end %>
<% if current_user %>
 <% unless @stroll.user_id == current_user.id %>
 <% if @favorite.present? %>
 <%= link_to 'cancel', favorite_path(id: @favorite.id), method: :delete, class: 'btn btn-info' %>
 <% else %>
 <%= link_to 'Like!', favorites_path(stroll_id: @stroll.id), method: :post, class: 'btn btn-warning' %>
 <% end %>
 <% end %>
<% end %>
&emsp;
<%= link_to "Index", strolls_path %>