Recherche avancée

Médias (1)

Mot : - Tags -/punk

Autres articles (111)

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP 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 (...)

  • ANNEXE : Les plugins utilisés spécifiquement pour la ferme

    5 mars 2010, par

    Le site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)

  • Support audio et vidéo HTML5

    10 avril 2011

    MediaSPIP 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 (...)

Sur d’autres sites (14967)

  • Enable parser in FLV demuxer for H264 codec

    13 décembre 2013, par Alex Sukhanov
    Enable parser in FLV demuxer for H264 codec
    

    Signed-off-by : Michael Niedermayer <michaelni@gmx.at>

    • [DH] libavformat/flvdec.c
  • uncertain behaviour of xml parser and ffmpeg streaming

    8 octobre 2013, par user2775836

    I am making an ios application to display live streaming from ip camera using ffmpeg libraries.I am also using http api requests and responses.the response is in xml format ,hence i am using xml parser to parse the response.I have two view controllers(first and second).I am initializing the xml parser at view did disappear function of the first view controller also i am calling the function to stop the streaming in view did disappear after xml parsing function.While navigating from first view controller to second view controller the xml parser gets initiated but the parsing response does not get completed .when i come back from second to first view controller and then navigate again to second view controller ,at that time the full response is parsed.Why the response gets parsed second time not first time and why is it parsing half first time.Please help.
    The code is as follows :

    - (void)viewDidDisappear:(BOOL)animated {

          [self parsing]; //call to parsing function

       [self.h264dec stopDecode]; //call to stop streaming
       self.h264dec = nil;
    }

    parsing function is:

    -(void)parsing
    {
       NSString *urlString = [NSString stringWithFormat:@"http://www.example.com"];
       NSURL *url = [NSURL URLWithString:urlString];


       NSMutableURLRequest *theRequest = [NSMutableURLRequest requestWithURL:url];

       [theRequest addValue: @"application/x-www-form-urlencoded; charset=utf-8" forHTTPHeaderField:@"Content-Type"];
       [theRequest setHTTPMethod:@"GET"];

       NSURLConnection *connection = [[NSURLConnection alloc] initWithRequest:theRequest delegate:self];

       if( connection )
       {
           mutableData = [[NSMutableData alloc] init];
           NSLog(@"connection successful");
       }

    }

    -(void) connection:(NSURLConnection *) connection didReceiveResponse:(NSURLResponse *)response
    {
       NSLog(@"receive response");
    }
    -(void) connection:(NSURLConnection *)connection didReceiveData:(NSData *)data
    {

       [mutableData appendData:data];
       NSLog(@"DIDRECEIVE");
       NSLog(@"the mutable data is: %@",mutableData);

    }

    -(void) connection:(NSURLConnection *)connection didFailWithError:(NSError *)error
    {
        return;
    }

    -(void)connectionDidFinishLoading:(NSURLConnection *)connection
    {
       NSLog(@"finish loading");

       // You can do your functions here. If your repines is in XML you have to parse the response using NSXMLParser. If your response in JSON you have use SBJSON.
       NSXMLParser *parser = [[NSXMLParser alloc] initWithData:mutableData];
       [parser setDelegate:self];
       [parser parse];

    }

       - (void)parser:(NSXMLParser *)parser didStartElement:(NSString *)elementName namespaceURI:(NSString *)namespaceURI qualifiedName:(NSString *)qualifiedName attributes:(NSDictionary *)attributeDict
       {

           if([elementName isEqualToString:@"Response"]){
               NSLog(@"item found");
               xmlStringFileObject =[[XMLStringFile alloc]init];
           }

       }

       - (void)parser:(NSXMLParser *)parser foundCharacters:(NSString *)string
       {

             [nodecontent appendString:[string stringByTrimmingCharactersInSet:[NSCharacterSet    whitespaceAndNewlineCharacterSet]]];
           NSLog(@"node content = %@",nodecontent);
       }

       //bellow delegate method specify when it encounter end tag of specific that tag

       - (void)parser:(NSXMLParser *)parser didEndElement:(NSString *)elementName namespaceURI:(NSString *)namespaceURI qualifiedName:(NSString *)qName
       {
           //I am saving my nodecontent data inside the property of XMLString File class
            if([elementName isEqualToString:@"test"]){
               xmlStringFileObject.test=nodecontent;
               NSLog(@"test:%@",xmlStringFileObject.test);
           }

           else if([elementName isEqualToString:@"resolution"]){
               xmlStringFileObject.resolution=nodecontent;
               NSLog(@"resolution:%@",xmlStringFileObject.resolution);
               AppDelegate *app = (AppDelegate*) [[UIApplication sharedApplication]delegate];
               app.res = xmlStringFileObject.resolution;
               NSLog(@"THE APPDELEGATE RES VALUE IS:%@",app.res);
           }

               //finally when we reaches the end of tag i am adding data inside the NSMutableArray
           if([elementName isEqualToString:@"Response"]){
               [rssOutputData addObject:xmlStringFileObject];

               xmlStringFileObject = nil;

           }
           //release the data from mutable string variable


           //reallocate the memory to get new content data from file
           nodecontent=[[NSMutableString alloc]init];

       }
  • avcodec/Makefile : fix dnxhd parser dependencies

    15 mai 2017, par James Almer
    avcodec/Makefile : fix dnxhd parser dependencies
    

    Fixes ticket #6391

    • [DH] libavcodec/Makefile