Recherche avancée

Médias (1)

Mot : - Tags -/intégration

Autres articles (93)

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

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

  • Qu’est ce qu’un éditorial

    21 juin 2013, par

    Ecrivez votre de point de vue dans un article. Celui-ci sera rangé dans une rubrique prévue à cet effet.
    Un éditorial est un article de type texte uniquement. Il a pour objectif de ranger les points de vue dans une rubrique dédiée. Un seul éditorial est placé à la une en page d’accueil. Pour consulter les précédents, consultez la rubrique dédiée.
    Vous pouvez personnaliser le formulaire de création d’un éditorial.
    Formulaire de création d’un éditorial Dans le cas d’un document de type éditorial, les (...)

Sur d’autres sites (7376)

  • rtmp : Rename packet types to closer match the spec

    31 janvier 2017, par Martin Storsjö
    rtmp : Rename packet types to closer match the spec
    

    Also rename comments and log messages accordingly,
    and add clarifying comments for some hardcoded values.

    The previous names were taken from older, reverse engineered
    references.

    These names match the official public rtmp specification, and
    matches the names used by wirecast in annotating captured
    streams. These names also avoid hardcoding the roles of server
    and client, since the handling of them is irrelevant of whether
    we act as server or client.

    The RTMP_PT_PING type maps to RTMP_PT_USER_CONTROL.

    The SERVER_BW and CLIENT_BW types are a bit more intertwined ;
    RTMP_PT_SERVER_BW maps to RTMP_PT_WINDOW_ACK_SIZE and
    RTMP_PT_CLIENT_BW maps to RTMP_PT_SET_PEER_BW.

    Signed-off-by : Martin Storsjö <martin@martin.st>

    • [DBH] libavformat/rtmppkt.c
    • [DBH] libavformat/rtmppkt.h
    • [DBH] libavformat/rtmpproto.c
  • ffmpeg : Time information does not match video duration

    8 novembre 2017, par Harry Developer

    I’m using tvheadend to record broadcasts to disc (running ubuntu). Later, I’m playing the files using players like MX Videoplayer or IJK player. Sometimes, the time information of the media files is weired. E.g., using

    ffprobe -i some-file.ts

    shows a lenght of 10 hours or even 20 hours, although the recording is only 2 hours long. Is this a ffmpeg bug ? What can be done to get the correct media length ?

    Here is the ffprobe output of the original file after recording it on disc :

    ffprobe version N-85175-ga434657 Copyright (c) 2007-2017 the FFmpeg developers
     built with gcc 4.9.2 (Raspbian 4.9.2-10)
     configuration:
     libavutil      55. 59.100 / 55. 59.100
     libavcodec     57. 90.100 / 57. 90.100
     libavformat    57. 72.100 / 57. 72.100
     libavdevice    57.  7.100 / 57.  7.100
     libavfilter     6. 83.100 /  6. 83.100
     libswscale      4.  7.100 /  4.  7.100
     libswresample   2.  8.100 /  2.  8.100
    [mp3 @ 0x24caef0] Header missing
    [mpeg2video @ 0x24817b0] Invalid frame dimensions 0x0.
    [mp3 @ 0x24caef0] Header missing
       Last message repeated 1 times
    [mpeg2video @ 0x24817b0] Invalid frame dimensions 0x0.
       Last message repeated 3 times
    [mp3 @ 0x24caef0] Header missing
       Last message repeated 1 times
    [mpeg2video @ 0x24817b0] Invalid frame dimensions 0x0.
       Last message repeated 1 times
    [mp3 @ 0x24caef0] Header missing
       Last message repeated 1 times
    [mpeg2video @ 0x24817b0] Invalid frame dimensions 0x0.
       Last message repeated 1 times
    [mp3 @ 0x24caef0] Header missing
       Last message repeated 1 times
    [mpeg2video @ 0x24817b0] Invalid frame dimensions 0x0.
    [mp3 @ 0x24caef0] Header missing
       Last message repeated 9 times
    [mpeg2video @ 0x24817b0] Invalid frame dimensions 0x0.
       Last message repeated 1 times
    [mp3 @ 0x24caef0] Header missing
       Last message repeated 1 times
    [mpeg2video @ 0x24817b0] Invalid frame dimensions 0x0.
    [mp3 @ 0x24caef0] Header missing
       Last message repeated 11 times
    [mpeg2video @ 0x24817b0] Invalid frame dimensions 0x0.
    [mp3 @ 0x24caef0] Header missing
       Last message repeated 318 times
    [mpegts @ 0x247cd40] decoding for stream 4 failed
    [mpegts @ 0x247cd40] start time for stream 3 is not set in estimate_timings_from_pts
    [mpegts @ 0x247cd40] PES packet size mismatch
       Last message repeated 2 times
    [mpegts @ 0x247cd40] Could not find codec parameters for stream 4 (Audio: mp3, 0 channels, s16p): unspecified frame size
    Consider increasing the value for the 'analyzeduration' and 'probesize' options
    Input #0, mpegts, from '30d0b11f21ce831b56cc306d9c4a18c0.backup':
     Duration: 10:03:33.54, start: 60774.296367, bitrate: 1883 kb/s
     Program 12101
       Metadata:
         service_name    : ?RTL Television
         service_provider: ?Unitymedia
       Stream #0:0[0x20b]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p(tv, top first), 720x576 [SAR 64:45 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc
    Stream #0:1[0x20c](ger): Audio: mp2 ([4][0][0][0] / 0x0004), 48000 Hz, stereo, s16p, 192 kb/s
    Stream #0:2[0x20d](ger): Audio: ac3 ([129][0][0][0] / 0x0081), 48000 Hz, stereo, fltp, 384 kb/s
    Stream #0:3[0x60f](ger): Subtitle: dvb_subtitle ([6][0][0][0] / 0x0006)
     No Program
    Stream #0:4[0x210]: Audio: mp3, 0 channels, s16p

    Here is the output of ffprobe somefile -show_entries stream=index,start_time,duration -of compact -v 0 :

    program|stream|index=0|start_time=88858.718567|duration=8129.120000
    stream|index=1|start_time=88858.104267|duration=8129.496000
    stream|index=2|start_time=88858.104289|duration=8129.498833
    stream|index=3|start_time=60774.296367|duration=36213.542200

    stream|index=0|start_time=88858.718567|duration=8129.120000
    stream|index=1|start_time=88858.104267|duration=8129.496000
    stream|index=2|start_time=88858.104289|duration=8129.498833
    stream|index=3|start_time=60774.296367|duration=36213.542200
    stream|index=4|start_time=60774.296367|duration=8129.520000
  • FFMpeg Stream specifier no match

    11 mars 2019, par Amorphis

    Im trying to combine 2 to n videos with various transitions with an audio from mp3 above them (last second is faded).

    ffmpeg -ss 5 -t 10 -i C:\Users\User\source\repos\tryRunFFmpeg\2_snow.mp4  
          -ss 5 -t 10 -i C:\Users\User\source\repos\tryRunFFmpeg\3_sun.mp4
          -i C:\Users\User\source\repos\tryRunFFmpeg\outaudio.mp3
    -filter_complex "[0:v]setpts =PTS-STARTPTS[va0];[1:V]fade=t=in:st=0:d=0.5:alpha=1,fade=t=out:st=9.5:d=0.5,setpts=PTS-STARTPTS+10/TB[va1];[2:a]fade=t=out:st=9.5:d=0.5[aa];[va0][va1]overlay[outv]"
    -map aa -c:a copy  -map [outv] -crf 10 -b:V 10M -shortest C:\Users\User\source\repos\tryRunFFmpeg\testAgaint.mp4

    and I get this error

    Stream specifier ':a' in filtergraph description [0:v]setpts =PTS-STARTPTS[va0];[1:V]fade=t=in:st=0:d=0.5:alpha=1,fade=t=out:st=9.5:d=0.5,setpts=PTS-STARTPTS+10/TB[va1];[2:a]fade=t=out:st=9.5:d=0.5[aa];[va0][va1]overlay[outv] matches no streams.