
Recherche avancée
Médias (1)
-
Revolution of Open-source and film making towards open film making
6 octobre 2011, par
Mis à jour : Juillet 2013
Langue : English
Type : Texte
Autres articles (52)
-
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
Creating farms of unique websites
13 avril 2011, parMediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...) -
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
Sur d’autres sites (10141)
-
Saving Raw Uncompressed Video Files using OpenCv, Gstreamer, and/or FFMPEG ?
20 septembre 2022, par adav0033I have been trying to implement the
cv::VideoWriter
function from OpenCV to generate a an uncompressed (raw) video file. I started this because of a statement within the OpenCV Documentation which I will link here along with the statement.

cv::VideoWriter::VideoWriter ( const String & filename,
int fourcc,
double fps,
Size frameSize,
bool isColor = true 
) 



"If FFMPEG is enabled, using
codec=0
;fps=0
; you can create an uncompressed (raw) video file."

Ref. https://docs.opencv.org/3.4/dd/d9e/classcv_1_1VideoWriter.html


However whilst troubleshooting the function I came across the refuting statement,


" VideoCapture and VideoWriter do not provide interface to access raw compressed video stream, except maybe MJPEG in some cases.
Make sure you actually use FFmpeg backend by setting apiPreference parameter :
VideoWriter("outfile.avi", cv2.CAP_FFMPEG, ...)
"

Ref. https://github.com/opencv/opencv/issues/14573


I am now confused about how I go about writing the
cv::VideoWriter
function to satisfy the requirements to create a raw uncompressed video file (.avi) and if it is even possible. If it is not possible how do I achieve the outcome of saving an raw uncompressed video file, as I assume it would use some combination of FFMPEG, OpenCV,or Gstreamer.

Note : My code is implemented in c++


-
Load processed video instead of original video - Rails, Dragonfly
1er février 2016, par Michael BIn my Rails 4-Project, I am using Dragonfly to upload images and videos.
For image-processing I useimagemagick
, for videoprocessing I useffmpeg
.Videos are uploaded and stored in the folder
uploads/videos
. After processing, they are stored inpublic/ffmpeg_videos/
My question is : How can I use the processed-video instead of the uploaded video ?
e.g. I use this code in the view, to display a video :
<video src="<%=@video.video.url%>"></video>
This successfully loads the original video from the upload-path. But what do I have to change, to load the video from the ffmpeg-path ?
initializers/dragonfly.rb
require 'dragonfly'
# Configure
Dragonfly.app(:images).configure do
plugin :imagemagick
protect_from_dos_attacks false
secret 'd045734b043b4383a246c5c8daf2d3e31217dc8b030f21861e4fd16c4b72d382'
url_format '/media/:job/:name'
datastore :file,
root_path: Rails.root.join('uploads/images/'),
server_root: Rails.root.join('uploads')
end
Dragonfly.app(:videos).configure do
secret 'd045734b043b4383a246c5c8daf2d3e31217dc8b030f21861e4fd16c4b72d382'
url_format "/video/:job/:name"
datastore :file,
root_path: Rails.root.join('uploads/videos/'),
server_root: Rails.root.join('uploads')
end
# Logger
Dragonfly.logger = Rails.logger
# Mount as middleware
Rails.application.middleware.use Dragonfly::Middleware, :images
Rails.application.middleware.use Dragonfly::Middleware, :videos
# Add model functionality
if defined?(ActiveRecord::Base)
ActiveRecord::Base.extend Dragonfly::Model
ActiveRecord::Base.extend Dragonfly::Model::Validations
end -
ffmpeg converting video to images while video file is being written
20 décembre 2018, par user3398227Hopefully an easy question for an ffmpeg expert !
I’m currently converting large (+6GB) mpeg video into an image sequence - which is working well using the below ffmpeg command :
ffmpeg -i "input.mpeg" -vf - fps=fps=2 -f image2 -qscale 1 -s 1026x768
"output%6d.jpg"however i have to wait for the file to finish being written to disk before i kick off ffmpeg - but this takes a good hour or so to finish writing, but what i’ve noticed is that ffmpeg can start reading the file while its being written to disk - the only snag here is it gets to the end of the file and stops before the file has finished being written...
Question is, is there a way that ffmpeg can convert to an image sequence at the same pace the video is being written (and not exit out ?)... or know to wait for the next frame to be written from the source. (unfortunately the input doesn’t support streaming, I only get a network drive and file to work off.. ) I thought i read somewhere that ffmpeg can process at the video frame rate but cant seem to find this command for love or money in the doco !!
Thanks !