Recherche avancée

Médias (3)

Mot : - Tags -/image

Autres articles (20)

  • Personnaliser les catégories

    21 juin 2013, par

    Formulaire de création d’une catégorie
    Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
    Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire.
    Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
    Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...)

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP automatically converts uploaded files to internet-compatible formats.
    Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
    Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
    Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
    All uploaded files are stored online in their original format, so you can (...)

  • Supporting all media types

    13 avril 2011, par

    Unlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)

Sur d’autres sites (5034)

  • getting black and white image after encoding

    16 mai 2012, par user1310596

    I am trying to encode image using ffmpeg library and objective c. I am using following code but I am getting black and white image as the result. Is there something to do with pixel format(PIX_FMT) ? Please help me so that I can get colored image.

    av_register_all();
    avcodec_init();
    avcodec_register_all();
    avformat_alloc_context();

    AVCodec *codec;
    AVCodecContext *ctx= NULL;
    int out_size, size, outbuf_size;
    AVFrame *picture;
    uint8_t *outbuf;
    unsigned char *flvdata = malloc(sizeof(unsigned char) * 30);


    outbuf_size = 200000;
    outbuf = malloc(outbuf_size);


    printf("Video encoding\n");

    codec = avcodec_find_encoder(CODEC_ID_FLV1);
    if (!codec) {
           fprintf(stderr, "codec not found\n");
           exit(1);
    }

    ctx= avcodec_alloc_context();
    picture= avcodec_alloc_frame();


    ctx->width = 320;
    ctx->height = 240;
    ctx -> sample_rate = 11025;
    ctx -> time_base.den = 1000;
    ctx -> time_base.num = 23976;
    ctx -> codec_id = CODEC_ID_FLV1;
    ctx -> codec_type = CODEC_TYPE_VIDEO;
    ctx->pix_fmt = PIX_FMT_YUV420P;

    if (avcodec_open(ctx, codec) < 0) {
           fprintf(stderr, "could not open codec\n");
           exit(1);
    }

    outbuf_size = 100000;
    outbuf = malloc(outbuf_size);
    size = ctx->width * ctx->height;

    AVFrame* outpic = avcodec_alloc_frame();
    int nbytes = avpicture_get_size(PIX_FMT_YUV420P, ctx->width, ctx->height);

    uint8_t* outbuffer = (uint8_t*)av_malloc(nbytes);

    fflush(stdout);

    int numBytes = avpicture_get_size(PIX_FMT_YUV420P, ctx->width, ctx->height);

    UIImage *image = [UIImage imageNamed:[NSString stringWithFormat:@"0.jpg"]];
    CGImageRef newCgImage = [image CGImage];

    CGDataProviderRef dataProvider = CGImageGetDataProvider(newCgImage);
    CFDataRef bitmapData = CGDataProviderCopyData(dataProvider);
    long dataLength = CFDataGetLength(bitmapData);

    uint8_t *buffer = (uint8_t *)av_malloc(dataLength);
    buffer = (uint8_t *)CFDataGetBytePtr(bitmapData);

    for(int i = 0; i < dataLength; i++)
    {
           if((i + 1) % 16 == 1 && i != 1)
                   printf("\n");
           printf("%X\t",buffer[i]); // getting something different than the     actual hex value of the image
    }



    outpic -> pts = 0;        

    avpicture_fill((AVPicture*)picture, buffer, PIX_FMT_RGB8, ctx->width, ctx->height);

    avpicture_fill((AVPicture*)outpic, outbuffer, PIX_FMT_YUV420P, ctx->width, ctx->height);

    struct SwsContext* fooContext = sws_getContext(ctx->width, ctx->height,
                                                          PIX_FMT_RGB8,
                                                          ctx->width, ctx->height,
                                                          PIX_FMT_YUV420P,
                                                          SWS_FAST_BILINEAR, NULL, NULL, NULL);

    sws_scale(fooContext, picture->data, picture->linesize, 0, ctx->height, outpic->data, outpic->linesize);

    printf("abcdefghijklmnop");
    out_size = avcodec_encode_video(ctx, outbuf, outbuf_size, outpic);
    printf("\n\n out_size %d   outbuf_size %d",out_size,outbuf_size);

    Thanks in advance

  • ffmpeg : failed to convert m3u8 to mp4

    4 mars 2016, par MrSmile07

    I want to convert a .m3u8 file into .mp4, for that I am using ffmpeg.
    The only Thing that disturbs is, that one file work with the Command and the other not.

    Here the command :

    ffmpeg -i http://91.250.77.10:8134/hls-vod/jp/523.mp4.m3u8 -acodec copy -vcodec copy  -y -loglevel info -f mp4 Namezurspeicherrung.mp4
    

    that file works, but by the other file :

    ffmpeg -i http://91.250.77.10:8134/hls-vod/mk/01.mp4.m3u8 -acodec copy -vcodec         copy  -y  -loglevel info -f mp4 Namezurspeicherrung2.mp4
    

    doesn’t work.

    _
    _

    OK : Here the Output from file 2 :

    ffmpeg -i http://91.250.77.10:8134/hls-vod/mkmp4.m3u8 -acodec copy -vcodec copy  -y -loglevel info -f mp4 Wasichsiewirklichgernefragenwuerde.mp4
        ffmpeg version 0.8.10-4:0.8.10-0ubuntu0.12.04.1, Copyright (c) 2000-2013 the Libav developers
          built on Feb  6 2014 20:56:59 with gcc 4.6.3
        *** THIS PROGRAM IS DEPRECATED ***
        This program is only provided for compatibility and will be removed in a future release. Please use avconv instead.
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame !
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame !
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame !
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame !
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame !
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame !
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame !
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame !
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame !
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame !
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame !
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame !
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame !
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame !
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame !
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame !
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame !
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame !
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame !
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame !
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame !
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame !
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame !
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame !
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame !
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame !
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame !
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame !
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame !
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame !
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame !
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame !
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame !
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame !
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame !
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame !
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame !
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame !
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame !
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame !
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame !
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame !
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame !
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame !
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame !
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame !
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame !
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame !
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame !
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame !
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame !
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame !
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame !
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame !
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame !
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame !
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame !
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame !
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame !
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame !
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame !
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame !
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame !
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame !
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame !
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame !
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame !
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame !
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame !
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame !
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame !
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame !
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame !
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame !
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame !
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame !
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame !
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame !
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame !
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame !
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame !
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame !
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame !
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame !
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame !
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame !
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame !
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame !
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame !
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame !
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame !
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame !
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame !
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame !
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame !
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame !
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame !
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame !
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame !
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame !
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame !
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame !
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame !
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame !
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame !
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame !
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame !
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame !
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame !
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame !
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame !
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame !
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame !
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame !
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame !
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame !
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame !
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame !
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame !
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame !
        [applehttp @ 0x16ab9a0] max_analyze_duration reached
        [applehttp @ 0x16ab9a0] Estimating duration from bitrate, this may be inaccurate
    

    Seems stream 0 codec frame rate differs from container frame rate : 180000.00 (180000/1) -> 1000.00 (1000/1)
    Input #0, applehttp, from ’http://91.250.77.10:8134/hls-vod/mk/01.mp4.m3u8’ :
    Duration : 00:23:30.00, start : 8.700000, bitrate : N/A
    Stream #0.0 : Video : h264, 1k tbr, 90k tbn, 180k tbc
    Stream #0.1 : Audio : aac, 48000 Hz, stereo, s16
    [mp4 @ 0x1826640] dimensions not set
    Output #0, mp4, to ’Wasichsiewirklichgernefragenwuerde.mp4’ :
    Stream #0.0 : Video : libx264, q=2-31, 90k tbn, 90k tbc
    Stream #0.1 : Audio : libvo_aacenc, 48000 Hz, stereo
    Stream mapping :
    Stream #0.0 -> #0.0
    Stream #0.1 -> #0.1
    Could not write header for output file #0 (incorrect codec parameters ?)

    Last Edit : 23.03.2014 20:08

  • avconv/ffmpeg to sync audio in a single file

    6 avril 2014, par Jeff Thompson

    I have an avi file with duration 1 hour. The audio rate is out of sync and ends about 2 minutes before the end of the video. I used the avconv -async option :

    avconv -i unsynced.avi -i unsynced.avi -acodec adpcm_ms -vcodec copy -map 0:0 -map 1:1 -async 1000 synced.avi

    But the output audio is still out of sync. Am I using the avconv command correctly to sync the audio with the video in the one input file ?

    Thanks,
    - Jeff