Recherche avancée

Médias (0)

Mot : - Tags -/publication

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (90)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-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

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • Submit bugs and patches

    13 avril 2011

    Unfortunately 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 (9267)

  • How to solve issue for converting ismv file of h264 video codec and aac audio codec ?

    4 octobre 2013, par Priyal

    I want to convert transmux ismv file to mp4 format. ISMV file is encoded withe the following ffmpeg detail :

      Metadata:
      major_brand     : isml
      minor_version   : 1
      compatible_brands: piffiso2
      creation_time   : 2013-10-03 14:10:41
      Duration: 15:21:13.16, start: 0.000000, bitrate: 41 kb/s
      Stream #0:0(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 64
                        kb/s (default)
      Metadata:
      creation_time   : 2013-10-03 14:10:41
      handler_name    : Audio
      Stream #0:1(und): Video: h264 (avc1 / 0x31637661), 1280x720, 3217 kb/s, 29.9
                        7 tbr, 10000k tbn, 20000k tbc (default)
    Metadata:
      creation_time   : 2013-10-03 14:10:41
      handler_name    : Video
      Stream #0:2(und): Data: none (dfxp / 0x70786664), 32 kb/s (default)
      Metadata:
      creation_time   : 2013-10-03 14:10:41
      handler_name    : Text

    I used the following ffmpeg command to transmux :

    ffmpeg -y -ss 00:00:10 -i Encoder1.ismv -vcodec libx264 -ar 44100 -t 40 -preset slow -qp 0  
    Encoder.mp4

    I got output as :

    ffmpeg version N-56010-g54d628a Copyright (c) 2000-2013 the FFmpeg developers
    built on Sep  4 2013 00:44:27 with gcc 4.7.3 (GCC)
    configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-av
    isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enab
    le-iconv --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetyp
    e --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --ena
    ble-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-l
    ibopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libsp
    eex --enable-libtheora --enable-libtwolame --enable-libvo-aacenc --enable-libvo-
    amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --
    enable-libxvid --enable-zlib
        libavutil      52. 43.100 / 52. 43.100
        libavcodec     55. 31.100 / 55. 31.100
        libavformat    55. 16.100 / 55. 16.100
        libavdevice    55.  3.100 / 55.  3.100
        libavfilter     3. 83.102 /  3. 83.102
        libswscale      2.  5.100 /  2.  5.100
        libswresample   0. 17.103 /  0. 17.103
        libpostproc    52.  3.100 / 52.  3.100
    [aac @ 040f1ba0] TYPE_FIL: Input buffer exhausted before END element found
    [h264 @ 00353120] AVC: nal size -729776398
    [h264 @ 00353120] no frame!
    [h264 @ 00353120] AVC: nal size -570515285
    [h264 @ 00353120] no frame!
    [h264 @ 00353120] AVC: nal size -1477874754
    [h264 @ 00353120] no frame!
    [h264 @ 00353120] AVC: nal size -712314563
    [h264 @ 00353120] no frame!
    [h264 @ 00353120] AVC: nal size -23151524
    [h264 @ 00353120] no frame!
    [h264 @ 00353120] AVC: nal size -592499201
    [h264 @ 00353120] no frame!
    [h264 @ 00353120] AVC: nal size 225768173
    [h264 @ 00353120] no frame!
    [h264 @ 00353120] AVC: nal size 698187359
    [h264 @ 00353120] AVC: nal size 635127544
    [h264 @ 00353120] no frame!
    [h264 @ 00353120] AVC: nal size -1242688339
    [h264 @ 00353120] AVC: nal size 269543071
    [h264 @ 00353120] no frame!
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0035e840] decoding for stream 1 failed
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0035e840] Could not find codec parameters for stream
     1 (Video: h264 (avc1 / 0x31637661), 1280x720, 3217 kb/s): unspecified pixel form
     at Consider increasing the value for the 'analyzeduration' and 'probesize' options
     Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'C:\inetpub\media\archives\DEFAULT WEB S
     ITE\PushToPUblishPoint\Eagan_12034_Soccer_3-10-2013_14_10_19-isml\2013-10-03-14-
     10-35-436\Segment001\Encoder1.ismv':
      Metadata:
      major_brand     : isml
      minor_version   : 1
      compatible_brands: piffiso2
      creation_time   : 2013-10-03 14:10:41
      Duration: 15:21:13.16, start: 0.000000, bitrate: 41 kb/s
      Stream #0:0(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 64
                        kb/s (default)
       Metadata:
      creation_time   : 2013-10-03 14:10:41
      handler_name    : Audio
      Stream #0:1(und): Video: h264 (avc1 / 0x31637661), 1280x720, 3217 kb/s, 29.9
                        7 tbr, 10000k tbn, 20000k tbc (default)
      Metadata:
      creation_time   : 2013-10-03 14:10:41
      handler_name    : Video
      Stream #0:2(und): Data: none (dfxp / 0x70786664), 32 kb/s (default)
      Metadata:
      creation_time   : 2013-10-03 14:10:41
      handler_name    : Text

    [buffer @ 04679480] Unable to parse option value "-1" as pixel format
                  Last message repeated 1 times
    [buffer @ 04679480] Error setting option pix_fmt to value -1.
    [graph 0 input from stream 0:1 @ 040f7380] Error applying options to the filter.

    Error opening filters!

    Please suggest the solution for Windows OS

  • How can I mux (or encapsulate) H.264 RTP output into a container using FFMPEG ?

    7 octobre 2013, par Grad

    I am working on the effects of network losses in video transmission. In order to simulate the network losses I use a simple program which drops random RTP packets from the output of H.264 RTP encoding.

    I use Joint Model (JM) 14.2 in order to encode the video. However, I don't use AnnexB format as my output, instead I choose the output as RTP packets. The JM output is generated as RTP packets with RTP headers and payload as a sequence. After that, some of RTP packets are dropped by using a simple program. Then, I can decode the output bitstream by using also JM and it's error concealment methods.

    The main purpose of this process is to evaluate the differences created by network losses on the human video quality perception. In order to measure the perceived quality, the shown video must be in its decoded form (i.e. full resolution) or it can be decodable at the receiver side. The RTP packets created by the JM Encoder cannot be decoded without the JM software installed. However, with the proper header (or container) most video players are able to decode the bitstream. So, the my goal in this question is to encapsulate my encoded RTP packet bitstream in a common container such as AVI or MP4 to have my content decodable at the receiver computer.

    The format of the encoded bitstream in RTP packetized form is as follows :

        ----------------------------------------------------------------------
        | RTP Header #1 | RTP Payload #1 | RTP Header #2 | RTP Payload #2 |...
        ----------------------------------------------------------------------

    In order to find the video quality, I want to make a subjective test with these bitstreams. I can make these test by using the full resolution data decoded by myself whereas it's very inconvenient to crowdsource this subjective test with GBs of video data on the Internet. So, I want to mux these bitstreams into a container (i.e. AVI) by using FFMPEG. I have tried to decode these bitstreams with FFMPEG and FFPLAY ; however, both of them didn't work. I also tried the following command and it didn't work, either.

       ffmpeg - f h264 -i  -vcodec copy -r 25 out.avi

    Which format or muxer should I use ? Do I need to convert these files to any other format ?

  • 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];

       }