Recherche avancée
Médias (1)
-
Rennes Emotion Map 2010-11
19 octobre 2011, par
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (69)
-
Des sites réalisés avec MediaSPIP
2 mai 2011, parCette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page. -
Support audio et vidéo HTML5
10 avril 2011MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...) -
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 (9411)
-
NSTask and FFMpeg losing output
16 novembre 2011, par MorganI'm trying to call ffmpeg from NSTask in objective-c. I execute the ffmpeg command in terminal and it works flawlessly every time. I make the same command using NSTask, and it never gives me the whole output. It cuts it off half way through the output, at a seemingly random spot every time. Here is my code.
- (void)applicationDidFinishLaunching:(NSNotification *)aNotification
{
NSString* ffmpegPath = [[NSBundle mainBundle] pathForResource:@"ffmpeg" ofType:@""];
NSString* path = @"test.mov";
NSTask *task = [[NSTask alloc] init];
NSArray *arguments = [NSArray arrayWithObjects: @"-i", path, nil];
NSPipe *pipe = [NSPipe pipe];
NSFileHandle * read = [pipe fileHandleForReading];
[task setLaunchPath: ffmpegPath];
[task setArguments: arguments];
[task setStandardOutput: pipe];
[task launch];
[task waitUntilExit];
NSData* data = [read readDataToEndOfFile];
NSString* stringOutput = [[NSString alloc] initWithData:data encoding:NSUTF8StringEncoding];
NSLog(@"%@", stringOutput);
NSLog(@"%i", [task terminationStatus]);
NSLog(@"DONE");
} -
ffmpeg result to a tempfile
26 septembre 2012, par user1165201I am new to python and ffmpeg. I have a following question to ask.
If I run the following command from command-line and it works.
ffmpeg -i 1.flv temp_filenameIf I put it in a program
temp_file_handle, temp_filename = tempfile.mkstemp('.flv')
command = "ffmpeg -i " + newvideo.location + " "+ temp_filename
out = subprocess.Popen(command, stdout=subprocess.PIPE, stderr=subprocess.PIPE, shell=True)
res = out.communicate()The generated video didn't write to the tem_filename. Why ?
-
How to save ffmpeg stream with datetime
18 janvier 2013, par user1800256I would like to write an output format from a ffmpeg encode line to save the stream in a SD card with date and hour.
To simplify the question I write the following (just ignore the extras) :
import subprocess, sus, os, datetime, time
from subprocess import Popen, PIPE
def call_command(command):
subprocess.Popen(command.split(' '))
call_command('ffmpeg -f video4linux2 -y -s qvga -r 24 -i /dev/video0 \
-vcodec mpeg2video /home/pi/webcam_+%Y/%m/%d_at_%H:%M:%S.mpg')I also tried another solutions like define firstly the filename and call it from the ffmpeg line but it doesen't work.