
Recherche avancée
Médias (91)
-
#3 The Safest Place
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#4 Emo Creates
15 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#2 Typewriter Dance
15 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#1 The Wires
11 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
ED-ME-5 1-DVD
11 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Audio
-
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 (11)
-
Keeping control of your media in your hands
13 avril 2011, parThe vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...) -
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 (...) -
Contribute to a better visual interface
13 avril 2011MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community.
Sur d’autres sites (2606)
-
avcodec/vaapi : increase av1 decode pool size
12 octobre 2021, par Fei Wangavcodec/vaapi : increase av1 decode pool size
For film grain clip, vaapi_av1 decoder will cache additional 8
surfaces that will be used to store frames which apply film grain.
So increase the pool size by plus 8 to avoid leak of surface.Signed-off-by : Fei Wang <fei.w.wang@intel.com>
-
how use pipe instead of save method in fluent-ffmpeg ?
27 juin 2019, par Mohsen RahnamaeiI gonna use fluent ffmpeg to write something on video
I use this codvar proc = ffmpeg(req.filePath). videoFilters(
{
filter: 'drawtext',
options: {
text: 'VERY LONG TEXT VERY VERY VERY VERY LOL!!!',
fontsize: 36,
fontcolor: 'white',
x: '(main_w/2-text_w/2)',
y: '(text_h/2)+15',
shadowcolor: 'black',
shadowx: 2,
shadowy: 2
}}
)
// use the 'flashvideo' preset (located in /lib/presets/flashvideo.js)
.on('end', function() {
console.log('file has been converted succesfully');
})
.on('error', function(err) {
console.log('an error happened: ' + err.message);
}).save('/home/gheidar/Desktop/ffmpeg_test/rt.ts');and everything is correct
but I want to export this output to stream for the response of the request
means that I want to usepipe()
instead ofsave
methodsomething like this :
var proc = ffmpeg(req.filePath). videoFilters(
{
filter: 'drawtext',
options: {
text: 'VERY LONG TEXT VERY VERY VERY VERY LOL!!!',
fontsize: 36,
fontcolor: 'white',
x: '(main_w/2-text_w/2)',
y: '(text_h/2)+15',
shadowcolor: 'black',
shadowx: 2,
shadowy: 2
}}
)
// use the 'flashvideo' preset (located in /lib/presets/flashvideo.js)
.on('end', function() {
console.log('file has been converted succesfully');
})
.on('error', function(err) {
console.log('an error happened: ' + err.message);
}).pipe(res)its just change in the last line
and I get this error :an error happened: ffmpeg exited with code 1: pipe:1: Invalid argument
how can export this ffmpeg command to stream response ????
-
How to set FFmpeg to send a signal to java code when it's done with its job ?
23 juin 2016, par ElahehI have a java servlet which waits for an httprequest, when it arrives, it calls the FFmpeg to do mixing two videos. Java code needs to send the mixed video back to the requester when the FFmpeg finished its job.
How can I set the FFmpeg to inform the java servlet when the mixed video is ready ?
My code in current shape, starts sending the video while FFmpeg is not completely done.I can use thread.sleep() or similar methods, but since we need to measure the processing time for a research work, I cannot use that.
I appreciate if you can help me on this.
this is part of the code :String videoId=req.getParameter("id");
String ad= "/var/Videos/ads/angrybirds-adv.mp4";
String url="http://"+RequesterIP+"/"+videoId;
System.out.println("url: "+url);
String output= new SimpleDateFormat("yyyyMMddhhmm'.mp4'").format(new Date());
String videoPath = "/var/Videos/"+output;
List<string> cmds = new ArrayList<>();
cmds.add("ffmpeg");
cmds.add("-i");
cmds.add(url);
cmds.add("-i");
cmds.add(ad);
cmds.add("-filter_complex");
cmds.add("[0:v][1:v] overlay");
cmds.add(videoPath);
ProcessBuilder pb = new ProcessBuilder(cmds);
Process p = pb.start();
/** Terminal **/
final InputStream inStream = p.getErrorStream();
new Thread(new Runnable() {
public void run() {
InputStreamReader reader = new InputStreamReader(inStream);
Scanner scan = new Scanner(reader);
while (scan.hasNextLine()) {
System.out.println(scan.nextLine());
}
}
}).start();
// send the mixed video to the requester
File downloadFile = new File(videoPath);
...
</string>More details :
the ad video is the overlay video located in the same machine as FFmpeg, the original video is located on a public folder in the requester machine, and is accessible using this url : http://requester-IP/videoId