
Recherche avancée
Autres articles (73)
-
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 -
Configurer la prise en compte des langues
15 novembre 2010, parAccéder à la configuration et ajouter des langues prises en compte
Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...) -
HTML5 audio and video support
13 avril 2011, parMediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
For older browsers the Flowplayer flash fallback is used.
MediaSPIP allows for media playback on major mobile platforms with the above (...)
Sur d’autres sites (7793)
-
Saving Uncompressed Video Files using OpenCv, Gstreamer, and/or FFMPEG ?
21 septembre 2022, par adav0033I have been trying to implement the
cv::VideoWriter
function from OpenCV to generate a an uncompressed 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 an 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++


-
How to Add Gstreamer Plugin on Mac when installed from Tutorials
31 juillet 2014, par Dave CollinsI basically have two installs of gstreamer on my Mac OS X machine :
The one that works perfectly was installed following this tutorial (http://docs.gstreamer.com/display/GstSDK/Installing+on+Mac+OS+X) and downloading and installing the Developer SDK and using XCode. All tutorials work well.I also have a local version installed with Homebrew but video playback does not work on that version (see SO : gstreamer gst-launch sample mac osx plays audio but not video)
SO, I’m trying to install the FFMPEG plugin into the working xcode dev system so that I can use FFDEC_H263 in a project.
I tried simply copying the related .SO files (e.g. libgstffmpg.so) from the homebrew (cellar) location to the
/Library/Frameworks/GStreamer.Framework/Versions/0.10/lib/gstreamer-0.10/
directory and changing permissions. However, that gives me a "Caught a segmentation fault while loading plugin file" error when building any code.
I also noticed that in the Xcode directory mentioned above, all of the plugins have a related .a and .la files in the \static subdirectory... Those same files don’t exist in the homebrew version.
So, what is the proper way to install a plugin when you’ve started with the developer SDK for Mac OSX ?
-
How to stream to the stream name come in response from Youtube livestream api
7 décembre 2018, par Anirudha GuptaI am calling this API https://developers.google.com/youtube/v3/live/docs/liveStreams/insert ? to get stream name from Livestream API
{
"kind": "youtube#liveStream",
"etag": "\"etag"",
"id": "-ABa1o",
"snippet": {
"publishedAt": "2018-12-07T05:41:12.000Z",
"channelId": "UC-
"title": "Hello World",
"description": "Snippet description of testing",
"isDefaultStream": false
},
"cdn": {
"format": "360p",
"ingestionType": "rtmp",
"ingestionInfo": {
"streamName": "9qq0-ct85-ctub-",
"ingestionAddress": "rtmp://a.rtmp.youtube.com/live2",
"backupIngestionAddress": "rtmp://b.rtmp.youtube.com/live2?backup=1"
},
"resolution": "360p",
"frameRate": "30fps"
},
"status": {
"streamStatus": "ready",
"healthStatus": {
"status": "noData"
}
},
"contentDetails": {
"closedCaptionsIngestionUrl": "http://upload.youtube.com/closedcaption?cid=9qq0-ct85-ctub-",
"isReusable": true
}
}I see a response like this, When I use OBS to stream to this RMTP URL it doesn’t have the title I set in the stream as you can see come in response. I am getting stream name but not sure if I do it correctly.
If I call the path as
rtmp://a.rtmp.youtube.com/live2/steamnamefromurl/mykey
it’s work but not have the title I set by call API. Anyone please check the page and help what I am going wrong. What I am looking for is get the title and description set for stream, or verified that I am doing it correctly.