Recherche avancée

Médias (0)

Mot : - Tags -/diogene

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

Autres articles (54)

  • MediaSPIP : Modification des droits de création d’objets et de publication définitive

    11 novembre 2010, par

    Par défaut, MediaSPIP permet de créer 5 types d’objets.
    Toujours par défaut les droits de création et de publication définitive de ces objets sont réservés aux administrateurs, mais ils sont bien entendu configurables par les webmestres.
    Ces droits sont ainsi bloqués pour plusieurs raisons : parce que le fait d’autoriser à publier doit être la volonté du webmestre pas de l’ensemble de la plateforme et donc ne pas être un choix par défaut ; parce qu’avoir un compte peut servir à autre choses également, (...)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

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

Sur d’autres sites (10217)

  • ffmpeg Transcoding h264 udp stream results in dropped frames [closed]

    29 mars 2013, par mache mache

    i am trying to transcode an udp stream coming from a hardware encoder and send it to wowza but after a couple of minutes ffmpeg is dropping frames and the output is choppy

    my command line is something like

    /usr/local/bin/ffmpeg -re -i udp://225.0.0.1:1234 -vf "yadif=0:0,hqdn3d" -threads 0 -c:v libx264 -profile:v main -level 3.1 -r 24 -g 96 -maxrate 404000 -minrate 404000 -bufsize 125k -c:a -acodec aac -ab 96000 -ar 48000 -ac 2 -vbsf h264_mp4toannexb -f mpegts udp://127.0.0.1:10000?pkt_size=1316

    and the output

    [h264 @ 0xb0c13e0] no frame!
    [mpegts @ 0xb0a2ac0] max_analyze_duration 5000000 reached at 5013333 microseconds
    [mpegts @ 0xb0a2ac0] Estimating duration from bitrate, this may be inaccurate
        Input #0, mpegts, from 'udp://225.0.0.1:1234':
         Duration: N/A, start: 49867.760000, bitrate: 90 kb/s
         Program 1
       Stream #0:0[0x40]: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p, 720x576 [SAR 64:45 DAR 16:9], 25 fps, 50 tbr, 90k tbn, 50 tbc
       Stream #0:1[0x41]: Audio: aac ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp, 90 kb/s
    [libx264 @ 0xb10a040] using SAR=64/45
    [libx264 @ 0xb10a040] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2
    [libx264 @ 0xb10a040] profile Main, level 3.1
    Output #0, mpegts, to 'udp://127.0.0.1:10000?pkt_size=1316':
     Metadata:
       encoder         : Lavf55.0.100
       Stream #0:0: Video: h264, yuv420p, 720x576 [SAR 64:45 DAR 16:9], q=-1--1, 90k tbn, 24 tbc
       Stream #0:1: Audio: aac, 48000 Hz, stereo, fltp, 96 kb/s
    Stream mapping:
     Stream #0:0 -> #0:0 (h264 -> libx264)
     Stream #0:1 -> #0:1 (aac -> aac)
    Press [q] to stop, [?] for help
    [h264 @ 0xbc1f9a0] Missing reference picture, default is 0
    [h264 @ 0xbc1f9a0] decode_slice_header error
    [h264 @ 0xbc64640] Missing reference picture, default is 65580
    Encoder did not produce proper pts, making some up.0:02.01 bitrate=   0.0kbits/s dup=14 drop=0
    Cannot use next picture in error concealmentime=00:00:19.40 bitrate= 431.4kbits/s dup=14 drop=16
    [h264 @ 0xbd27000] concealing 237 DC, 237 AC, 237 MV errors in P frame
    Invalid level prefixq=33.0 size=   34311kB time=00:09:43.86 bitrate= 481.4kbits/s dup=14 drop=581
    [h264 @ 0xbc64640] error while decoding MB 19 35
    [h264 @ 0xbc64640] concealing 75 DC, 75 AC, 75 MV errors in I frame
    frame=17294 fps= 24 q=30.0 size=   41994kB time=00:12:00.69 bitrate= 477.3kbits/s dup=14 drop=717

    thanks in advance

  • Damaged h264 stream not working with ffmpeg but working with vlc or mplayer

    15 avril 2013, par gregoiregentil

    I have a h264 file, coming from an rtsp stream, that is slightly damaged. Some frames are altered.

    ffmpeg reports :

    ffmpeg -i stream.mpg
    ffmpeg version 0.8.6-4:0.8.6-0ubuntu0.12.04.1, Copyright (c) 2000-2013 the Libav developers
     built on Apr  2 2013 17:00: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.

    Seems stream 0 codec frame rate differs from container frame rate: 180000.00 (180000/1) -> 90000.00 (180000/2)
    Input #0, mpegts, from 'a.mpg':
     Duration: 00:03:18.84, start: 93370.745522, bitrate: 2121 kb/s
     Program 1
       Stream #0.0[0x44](): Video: h264 (Baseline), yuv420p, 640x480, 90k tbr, 90k tbn, 180k tbc
    At least one output file must be specified

    I can play the file with VLC or mplayer. Obviously, the damaged frames are "kind of blurred" but it's working. mplayer reports :

    mplayer stream.mpg
    MPlayer2 UNKNOWN (C) 2000-2011 MPlayer Team
    mplayer: could not connect to socket
    mplayer: No such file or directory
    Failed to open LIRC support. You will not be able to use your remote control.

    Playing stream.mpg.
    Detected file format: MPEG-2 transport stream format (libavformat)
    [lavf] stream 0: video (h264), -vid 0
    LAVF: Program 1
    VIDEO:  [H264]  640x480  0bpp  90000.000 fps    0.0 kbps ( 0.0 kbyte/s)
    Load subtitles in .
    [ass] auto-open
    ==========================================================================
    Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
    Asking decoder to use 2 threads if supported.
    Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
    ==========================================================================
    Audio: no sound
    Starting playback...
    V:   0.0   0/  0 ??% ??% ??,?% 0 0
    Movie-Aspect is undefined - no prescaling applied.
    VO: [xv] 640x480 => 640x480 Planar YV12
    V:93370.7   0/  0 ??% ??% ??,?% 0 0
    No pts value from demuxer to use for frame!
    Video pts after filters MISSING
    V:93370.7   0/  0 ??% ??% ??,?% 0 0
    No pts value from demuxer to use for frame!
    Video pts after filters MISSING
    V:93370.7   0/  0 ??% ??% ??,?% 0 0
    No pts value from demuxer to use for frame!
    Video pts after filters MISSING
    V:93370.7   0/  0 ??% ??% ??,?% 0 0
    No pts value from demuxer to use for frame!
    Video pts after filters MISSING
    V:93370.7   0/  0 ??% ??% ??,?% 0 0
    No pts value from demuxer to use for frame!
    Video pts after filters MISSING
    V:93370.7   0/  0 ??% ??% ??,?% 0 0
    No pts value from demuxer to use for frame!
    Video pts after filters MISSING
    V:93370.7   0/  0 ??% ??% ??,?% 0 0
    No pts value from demuxer to use for frame!

    When I try to re-encode the file with :

    ffmpeg -i stream.mpg -fflags +genpts -an -vcodec mpeg4 -r 65535/2733 stream.mp4

    ffmpeg seems to jump over the altered frames. The length of stream.mp4 << length of stream.mpg

    How could I fix this problem, i.e. having ffmpeg to output something similar to what mplayer and vlc output ?

  • Merge remote-tracking branch ’qatar/master’

    28 avril 2013, par Michael Niedermayer
    Merge remote-tracking branch ’qatar/master’
    

    * qatar/master :
    aac : check the maximum number of channels

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

    • [DH] libavcodec/aacdec.c