
Recherche avancée
Médias (1)
-
SWFUpload Process
6 septembre 2011, par
Mis à jour : Septembre 2011
Langue : français
Type : Texte
Autres articles (63)
-
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 (...) -
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 (...) -
Submit bugs and patches
13 avril 2011Unfortunately a software is never perfect.
If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
You may also (...)
Sur d’autres sites (8699)
-
Streaming the output of openCV real-time as an RTSP stream with ffmpeg
9 mars 2015, par user3916798I receive an RTSP video stream from an IP camera into my OpenCV program, which I then process for pedestrian detection ; I now want to send the video comprising of bounding boxes around people detected as an rtsp stream over the network.
I am trying to use ffmpeg to do this ; I can write the video using OpenCV video writer and also stream video file using ffmpeg as an rtsp stream, but I am unable to do both of this simultaneously so that it is real-time.
Most search results talk about how to receive an RTSP stream into OpenCV and I have not found much help in this regard.
-
Why can't I get a manually modified MPEG-4 extended box (chunk) size to work ?
15 avril 2019, par Moshe RubinOverview
As part of a project to write an MPEG-4 (MP4) file parser, I need to understand how an extended box (or chunk) size is processed within an MP4 file. When I tried to manually simulate an MP4 file with an extended box size, media players report that the file is invalid.
Technical Information
Paraphrasing the MPEG-4 specification :
An MP4 file is formed as a series of objects called ’boxes’. All data is contained in boxes, there is no other data within the file.
Here is a screen capture of Section 4.2 : Object Structure, which describes the box header and its size and type fields :
Most MP4 box headers contain two fields : a 32-bit compact box size and a 32-bit box type. The compact box size supports a box’s data up to 4 GB. Occasionally an MP4 box may have more data than that (e.g., a large video file). In this case, the compact box size is set to 1, and eight (8) octets are added immediately following the box type. This 64-bit number is known as the ’extended box size’, and supports a box’s size up to 2^64.
To understand the extended box size better, I took a simple MP4 file and wanted to modify the
moov/trak/mdia
box to use the extended box size, rather than the compact size.Here is what the MP4 file looks like before modifying it. The three box headers are highlighted in RED :
My plan was as follows :
- Modify the
moov/trak/mdia
box- In the
moov/trak/mdia
, insert eight (8) octets immediately following the box type (’mdia’). This will eventually be our extended box size. - Copy the compact box size to the newly-inserted extended box size, adding 8 to the size to compensate for the newly inserted octets. The size is inserted in big-endian order.
- Set the compact size to 1.
- In the
- Modify the
moov/trak
box- Add 8 to the existing compact box size (to compensate for the eight octets added to
mdia
).
- Add 8 to the existing compact box size (to compensate for the eight octets added to
- Modify the
moov
box- Add 8 to the existing compact box size (again, to compensate for the eight octets in
mdia
)
- Add 8 to the existing compact box size (again, to compensate for the eight octets in
Here’s what the MP4 file looks like now, with the modified octets are in RED :
What have we done ?
We have told the MP4 parser/player to take the
moov/trak/mdia
box size from the extended field rather than the compact size field, and have increased all parent boxes by eight (8) to compensate for the newly-inserted extended box size in themdia
box.What’s the problem ?
When I attempt to play the modified MP4 file I receive error messages from different media players :
Why do the media players see the modified file as invalid MP4 ?
- Did I need to alter any other fields ?
- Does the extended box size have to be greater than 2^32 ?
- Can it be that only specific box types support extended box size (e.g., Media Data) ?
- Modify the
-
Laravel FFMPEG Add HLS Video Watermark issue
6 juin 2020, par Jefriiyer SI'm using "pbmedia/laravel-ffmpeg" : "^7.0" in "laravel/framework" : "^7.0" , I want to add water mark to the HLS video, Here is the example given in the github repo https://github.com/pascalbaljetmedia/laravel-ffmpeg



FFMpeg::open(['video.mp4', 'video2.mp4'])
 ->export()
 ->addFilter(function(ComplexFilters $filters) {
 // $filters->watermark(...);
 });




But It's not have enough information, Here is the working example everyware in the internet



addFilter(function ($filters) {
 $filters->watermark($watermarkPath, [
 'position' => 'relative',
 'bottom' => 50,
 'right' => 50,
 ]);
 })




But the watermark method has 2 more required parameters in the library



addFilter(function (ComplexFilters $filters) {
 $filters->watermark($in,$watermarkPath,$out, [
 'position' => 'relative',
 'bottom' => 50,
 'right' => 50,
 ]);
 })




What should I pass for $in and $out
Here is the full code which I have



$low = (new X264('aac'))->setKiloBitrate(100);
$mid = (new X264('aac'))->setKiloBitrate(250);
$high = (new X264('aac'))->setKiloBitrate(500);


 FFMpeg::fromDisk('local')
 ->open($this->video->path)
 ->exportForHLS()
 ->addFilter(function (ComplexFilters $filters) {
 $filters->watermark(null,public_path('watermark.png'),null, [
 'position' => 'relative',
 'bottom' => 50,
 'right' => 50,
 ]);
 })
 ->addFormat($low)
 ->addFormat($mid)
 ->addFormat($high)
 ->save("public/videos/{$this->video->id}/{$this->video->id}.m3u8");




By passing null I can't able to see any watermark , If I remove those nulls , I'll have error






Please look at the required parameters in watermark function under ComplexFilters,
Thanks :).