Recherche avancée

Médias (0)

Mot : - Tags -/médias

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

Autres articles (26)

  • Soumettre améliorations et plugins supplémentaires

    10 avril 2011

    Si vous avez développé une nouvelle extension permettant d’ajouter une ou plusieurs fonctionnalités utiles à MediaSPIP, faites le nous savoir et son intégration dans la distribution officielle sera envisagée.
    Vous pouvez utiliser la liste de discussion de développement afin de le faire savoir ou demander de l’aide quant à la réalisation de ce plugin. MediaSPIP étant basé sur SPIP, il est également possible d’utiliser le liste de discussion SPIP-zone de SPIP pour (...)

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

  • Installation en mode ferme

    4 février 2011, par

    Le mode ferme permet d’héberger plusieurs sites de type MediaSPIP en n’installant qu’une seule fois son noyau fonctionnel.
    C’est la méthode que nous utilisons sur cette même plateforme.
    L’utilisation en mode ferme nécessite de connaïtre un peu le mécanisme de SPIP contrairement à la version standalone qui ne nécessite pas réellement de connaissances spécifique puisque l’espace privé habituel de SPIP n’est plus utilisé.
    Dans un premier temps, vous devez avoir installé les mêmes fichiers que l’installation (...)

Sur d’autres sites (5095)

  • ffmpeg rtp streaming errors : RTP : dropping old packet received too late

    2 février 2019, par Андрей_RnD

    I start video transfer by means of ffmpeg like this :

    ffmpeg -f video4linux2 -i /dev/video0 -vcodec libx264 -preset ultrafast -crf 20 -tune zerolatency -s 800x600 -r 25 -b:v 0.9M -sdp_file video.sdp -f rtp rtp://192.168.10.24:5010    

    I reproduce this way :

    ffplay -protocol_whitelist file,udp,rtp video.sdp    

    Everything works just fine. Then I interrupt transmission and after a couple of seconds I resume. ffplay does not immediately start to reproduce but errors occur :

    ....
    [sdp @ 0x6ebf80] RTP: dropping old packet received too lateB f=1/1
       Last message repeated 14 times
    [sdp @ 0x6ebf80] RTP: dropping old packet received too lateB f=1/1
       Last message repeated 33 times
    [sdp @ 0x6ebf80] RTP: dropping old packet received too lateB f=1/1
       Last message repeated 41 times
    [sdp @ 0x6ebf80] RTP: dropping old packet received too lateB f=1/1
       Last message repeated 49 times
    [sdp @ 0x6ebf80] RTP: dropping old packet received too lateB f=1/1
       Last message repeated 33 times
    [sdp @ 0x6ebf80] RTP: dropping old packet received too lateB f=1/1
       Last message repeated 27 times
    [sdp @ 0x6ebf80] RTP: dropping old packet received too lateB f=1/1
       Last message repeated 14 times
    [sdp @ 0x6ebf80] RTP: dropping old packet received too lateB f=1/1
       Last message repeated 48 times
    [sdp @ 0x6ebf80] RTP: dropping old packet received too lateB f=1/1
       Last message repeated 34 times
    ......    

    After a some time, playback is restored, but it is too long. Is there a way to eliminate or minimize the occurrence of errors of this nature when the incoming stream is suspended, can options or something else ? Read the manual ffmpeg nothing worthwhile about this did not naryl .... ((((

  • FFMPEG Cutting Commercials puts audio out of sync

    11 septembre 2014, par JaBbA

    Ubuntu 14.04.1 with the real ffmpeg loaded (same problem with the avconv version).

    I’m trying to take files created in MythTV with a HDPVR, cut the commercials and put the video into an MP4 container for use with MythRoku.

    the command

    ffmpeg -i $file -acodec copy -vcodec copy -f mp4 file.mp4

    Works fine. Once I update the database, I can watch the file in MythRoku or Plex.

    However, when I try to cut out the commercials, the audio gets out of sync by just over 1 second (audio delayed) whenever I cut past the 0 mark. Totem Video player and VLC both play the resulting video fine, but I can see a "hitch" at the beginning while they are syncing the audio, so I know the information on the audio sync is in the file somewhere. Mythroku and Plex both are out of sync when playing the file. The MythTV Frontend player actually does play it correctly, and I can hear the "hitch" as it syncs the audio.

    After hours of reading posts and playing with settings, I’ve got it down to this :

    If I say :

    ffmpeg -i $file -acodec copy -vcodec copy -f mp4 -ss 0 -t <anything> out.mp4</anything>

    The file is fine, plays both locally and in MythRoku/Plex

    But if I advance the start any amount - even 1 second - audio is out of sync

    ffmpeg -i $file -acodec copy -vcodec copy -f mp4 -ss 1 -t <anything> out.mp4</anything>

    I’ve tried splitting the video (as mp4) and audio (as ac3) first, splitting them separately, and then putting them back together as the last step, but I get the same results.

    The information is in the file - Totem, VLC and the Frontend all can figure it out. How can I get ffmpeg to figure out the sync and write the file so it’s correct ?

    Original file :

    mythtv@marvin:~$ mediainfo /var/lib/mythtv/recordings/2225_20140824001500.mpg
    General
    ID                                       : 0 (0x0)
    Complete name                            :     /var/lib/mythtv/recordings/2225_20140824001500.mpg
    Format                                   : MPEG-TS
    File size                                : 4.03 GiB
    Duration                                 : 1h 45mn
    Overall bit rate mode                    : Variable
    Overall bit rate                         : 5 491 Kbps

    Video
    ID                                       : 4113 (0x1011)
    Menu ID                                  : 1 (0x1)
    Format                                   : AVC
    Format/Info                              : Advanced Video Codec
    Format profile                           : Main@L4.0
    Format settings, CABAC                   : Yes
    Format settings, ReFrames                : 4 frames
    Format settings, GOP                     : M=4, N=32
    Codec ID                                 : 27
    Duration                                 : 1h 45mn
    Bit rate mode                            : Variable
    Bit rate                                 : 4 831 Kbps
    Maximum bit rate                         : 20.0 Mbps
    Width                                    : 1 280 pixels
    Height                                   : 720 pixels
    Display aspect ratio                     : 16:9
    Frame rate                               : 59.940 fps
    Color space                              : YUV
    Chroma subsampling                       : 4:2:0
    Bit depth                                : 8 bits
    Scan type                                : Progressive
    Bits/(Pixel*Frame)                       : 0.087
    Stream size                              : 3.55 GiB (88%)
    Color primaries                          : BT.709
    Transfer characteristics                 : BT.709
    Matrix coefficients                      : BT.709

    Audio
    ID                                       : 4352 (0x1100)
    Menu ID                                  : 1 (0x1)
    Format                                   : AC-3
    Format/Info                              : Audio Coding 3
    Mode extension                           : CM (complete main)
    Format settings, Endianness              : Big
    Codec ID                                 : 129
    Duration                                 : 1h 45mn
    Bit rate mode                            : Constant
    Bit rate                                 : 384 Kbps
    Channel(s)                               : 2 channels
    Channel positions                        : Front: L R
    Sampling rate                            : 48.0 KHz
    Bit depth                                : 16 bits
    Compression mode                         : Lossy
    Delay relative to video                  : -6ms
    Stream size                              : 289 MiB (7%)

    File cut from 0 :

    mythtv@marvin:~$ mediainfo 2225_20140824001500_1.mp4
    General
    Complete name                            : 2225_20140824001500_1.mp4
    Format                                   : MPEG-4
    Format profile                           : Base Media
    Codec ID                                 : isom
    File size                                : 58.5 MiB
    Duration                                 : 1mn 45s
    Overall bit rate mode                    : Variable
    Overall bit rate                         : 4 676 Kbps
    Writing application                      : Lavf54.63.104

    Video
    ID                                       : 1
    Format                                   : AVC
    Format/Info                              : Advanced Video Codec
    Format profile                           : Main@L4.0
    Format settings, CABAC                   : Yes
    Format settings, ReFrames                : 4 frames
    Format settings, GOP                     : M=4, N=32
    Codec ID                                 : avc1
    Codec ID/Info                            : Advanced Video Coding
    Duration                                 : 1mn 45s
    Bit rate mode                            : Variable
    Bit rate                                 : 4 281 Kbps
    Maximum bit rate                         : 20.0 Mbps
    Width                                    : 1 280 pixels
    Height                                   : 720 pixels
    Display aspect ratio                     : 16:9
    Frame rate mode                          : Variable
    Frame rate                               : 59.940 fps
    Minimum frame rate                       : 59.920 fps
    Maximum frame rate                       : 59.960 fps
    Color space                              : YUV
    Chroma subsampling                       : 4:2:0
    Bit depth                                : 8 bits
    Scan type                                : Progressive
    Bits/(Pixel*Frame)                       : 0.077
    Stream size                              : 53.6 MiB (92%)
    Color primaries                          : BT.709
    Transfer characteristics                 : BT.709
    Matrix coefficients                      : BT.709

    Audio
    ID                                       : 2
    Format                                   : AC-3
    Format/Info                              : Audio Coding 3
    Mode extension                           : CM (complete main)
    Format settings, Endianness              : Big
    Codec ID                                 : ac-3
    Duration                                 : 1mn 45s
    Bit rate mode                            : Constant
    Bit rate                                 : 384 Kbps
    Channel(s)                               : 2 channels
    Channel positions                        : Front: L R
    Sampling rate                            : 48.0 KHz
    Bit depth                                : 16 bits
    Compression mode                         : Lossy
    Stream size                              : 4.81 MiB (8%)

    File cut from 1 second with audio sync problem :

    mythtv@marvin:~$ mediainfo 2225_20140824001500_2.mp4
    General
    Complete name                            : 2225_20140824001500_2.mp4
    Format                                   : MPEG-4
    Format profile                           : Base Media
    Codec ID                                 : isom
    File size                                : 68.0 MiB
    Duration                                 : 2mn 0s
    Overall bit rate mode                    : Variable
    Overall bit rate                         : 4 750 Kbps
    Writing application                      : Lavf54.63.104

    Video
    ID                                       : 1
    Format                                   : AVC
    Format/Info                              : Advanced Video Codec
    Format profile                           : Main@L4.0
    Format settings, CABAC                   : Yes
    Format settings, ReFrames                : 4 frames
    Format settings, GOP                     : M=4, N=32
    Codec ID                                 : avc1
    Codec ID/Info                            : Advanced Video Coding
    Duration                                 : 1mn 58s
    Bit rate mode                            : Variable
    Bit rate                                 : 4 394 Kbps
    Maximum bit rate                         : 20.0 Mbps
    Width                                    : 1 280 pixels
    Height                                   : 720 pixels
    Display aspect ratio                     : 16:9
    Frame rate mode                          : Variable
    Frame rate                               : 59.940 fps
    Minimum frame rate                       : 59.920 fps
    Maximum frame rate                       : 59.960 fps
    Color space                              : YUV
    Chroma subsampling                       : 4:2:0
    Bit depth                                : 8 bits
    Scan type                                : Progressive
    Bits/(Pixel*Frame)                       : 0.080
    Stream size                              : 62.3 MiB (92%)
    Color primaries                          : BT.709
    Transfer characteristics                 : BT.709
    Matrix coefficients                      : BT.709

    Audio
    ID                                       : 2
    Format                                   : AC-3
    Format/Info                              : Audio Coding 3
    Mode extension                           : CM (complete main)
    Format settings, Endianness              : Big
    Codec ID                                 : ac-3
    Duration                                 : 2mn 0s
    Bit rate mode                            : Constant
    Bit rate                                 : 384 Kbps
    Channel(s)                               : 2 channels
    Channel positions                        : Front: L R
    Sampling rate                            : 48.0 KHz
    Bit depth                                : 16 bits
    Compression mode                         : Lossy
    Stream size                              : 5.49 MiB (8%)
  • How do I formate spaces in terminal for FFMPEG metadata

    22 juillet 2020, par pbendevis

    I can't get FFMPEG to accept any spaces when I try to assign it to the metadata. Below is the command I am using in Terminal on MacOS. It gives me an error : [NULL @ 0x7fce76026600] Unable to find a suitable output format for &#x27;World&#x27; World: Invalid argument

    &#xA;

    ffmpeg -hide_banner \&#xA;-i Trolls.World.Tour.2020.Bluray-2160p.m2ts \&#xA;-ss 00:10:00 -t 00:1:00 \&#xA;-pix_fmt yuv420p10le \&#xA;-map_chapters 0 \&#xA;-metadata:s:t:0 filename="" -metadata:s:t:0 mimetype="image/jpeg" \&#xA;-metadata title=“Trolls World Tour” \&#xA;-map 0:0 -metadata:s:v:0 language=eng -metadata:s:v:0 title=“Trolls World Tour” \&#xA;-map 0:2 -metadata:s:a:0 language=eng -metadata:s:a:0 title=“Dolby TrueHD 7.1 Atmos” \&#xA;-map 0:6 -metadata:s:a:0 language=eng -metadata:s:a:1 title=“AC-3 2.0” \&#xA;-c:v libx265 -preset slow -crf 16 \&#xA;-x265-params keyint=60:bframes=3:vbv-bufsize=75000:vbv-maxrate=75000:hdr-opt=1:repeat-headers=1:colorprim=bt2020:transfer=smpte2084:colormatrix=bt2020nc:master-display="G(13250,34500)B(7500,3000)R(34000,16000)WP(15635,16450)L(10000000,500)" \&#xA;-c:a copy \&#xA;Trolls.World.Tour.2020.2160p.BluRay.REMUX.HEVC.TrueHD.7.1.Atmos.mkv&#xA;

    &#xA;

    I have tried &#x27;title="Trolls World Tour"&#x27; title=Trolls" "World" "Tour to no luck.

    &#xA;

    Using title="Trolls\ World\ Tour" works but then the title includes the backslashes.

    &#xA;

    Any thoughts ?

    &#xA;