Recherche avancée

Médias (1)

Mot : - Tags -/MediaSPIP 0.2

Autres articles (57)

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 est la première version de MediaSPIP stable.
    Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • 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

Sur d’autres sites (7947)

  • RTSP stream to HLS Stream using FFMPEG, Getting Error with newer FFMPEG

    8 novembre 2017, par shaun

    I am trying to take an RTSP stream and convert it to an HLS sTream.

    If I use ffmpeg version N-76684-g1fe82ab
    This command Works just fine.

    c:\temp\ffmpeg.exe -i "rtsp://192.168.249.233:8554/Stream" -c:v copy -hls_time 3 -hls_wrap 10 "c:\inetpub\wwwroot\hls\streaming.m3u8"

    However, if I use a newer compiled version of FFMPEG ffmpeg version N-83779-gfe57bf7cd6
    using the same exact command as above I get the error :

    Could not write header for output file #0 (incorrect codec parameters ?): Invalid argument.

    What am I doing wrong ? I would like to use the newer FFMPEG, but it appears that something broke between them.....


    complete console output of N-83779

    C:\inetpub\wwwroot\hls>ffmpeg.exe -i "rtsp://192.168.249.233:8554/Stream" -c:v copy -hls_time 3 -hls_wrap 10 "c:\inetpub\wwwroot\hls\streaming.m3u8"
    ffmpeg version N-83779-gfe57bf7cd6 Copyright (c) 2000-2017 the FFmpeg developers
     built with gcc 4.9.3 (GCC)
     configuration: --prefix=/usr/local/x86_64-w64-mingw32 --enable-gpl --enable-nonfree --enable-libx264 --enable-libfdk_aac --enable-static --enable-runtime-cpudetect --enable-w32th
    reads --disable-shared --disable-ffplay --disable-ffserver --arch=x86_64 --extra-cflags=-I/local/x86_64-w64-mingw32/include --extra-ldflags='-L/local/x86_64-w64-mingw32/lib -static
    '
     libavutil      55. 48.100 / 55. 48.100
     libavcodec     57. 82.102 / 57. 82.102
     libavformat    57. 66.103 / 57. 66.103
     libavdevice    57.  3.100 / 57.  3.100
     libavfilter     6. 74.100 /  6. 74.100
     libswscale      4.  3.101 /  4.  3.101
     libswresample   2.  4.100 /  2.  4.100
     libpostproc    54.  2.100 / 54.  2.100
    [udp @ 023e9d40] 'circular_buffer_size' option was set but it is not supported on this build (pthread support is required)
    [udp @ 039af180] 'circular_buffer_size' option was set but it is not supported on this build (pthread support is required)
    Invalid UE golomb code
    [h264 @ 023eaca0] log2_max_frame_num_minus4 out of range (0-12): -1094995529
    [rtsp @ 023e7220] Failed to open codec in avformat_find_stream_info
    Invalid UE golomb code
    [NULL @ 023eaca0] log2_max_frame_num_minus4 out of range (0-12): -1094995529
    [NULL @ 023eaca0] non-existing PPS 0 referenced
    Invalid UE golomb code
    [h264 @ 023eaca0] log2_max_frame_num_minus4 out of range (0-12): -1094995529
    [NULL @ 023eaca0] non-existing PPS 0 referenced
       Last message repeated 20 times
    [rtsp @ 023e7220] Stream #0: not enough frames to estimate rate; consider increasing probesize
    [rtsp @ 023e7220] Could not find codec parameters for stream 0 (Video: h264 (High), none(progressive)): unspecified size
    Consider increasing the value for the 'analyzeduration' and 'probesize' options
    Input #0, rtsp, from 'rtsp://192.168.249.233:8554/Stream':
     Metadata:
       title           : Session streamed by Stream
       comment         : Stream
     Duration: N/A, start: 0.000000, bitrate: N/A
       Stream #0:0: Video: h264 (High), none(progressive), 90k tbr, 90k tbn, 180k tbc
    [hls @ 039d5140] dimensions not set
    Could not write header for output file #0 (incorrect codec parameters ?): Invalid argument
    Stream mapping:
     Stream #0:0 -> #0:0 (copy)
       Last message repeated 1 times

    Tried -analyzeduration 10M -probesize 10M did not help.

    ffmpeg -analyzeduration 10M -probesize 10M -i "rtsp://192.168.249.233:8554/Stream" -c:v copy -hls_time 3 -hls_wrap 10 "c:\inetpub\wwwroot\hls\streaming.m3u8"
    ffmpeg version N-83779-gfe57bf7cd6 Copyright (c) 2000-2017 the FFmpeg developers
     built with gcc 4.9.3 (GCC)
     configuration: --prefix=/usr/local/x86_64-w64-mingw32 --enable-gpl --enable-nonfree --enable-libx264 --enable-libfdk_aac --enable-static --enable-runtime-cpudetect --enable-w32threads --disable-shared --disable-ffplay --disable-ffserver --arch=x86_64 --extra-cflags=-I/local/x86_64-w64-mingw32/include --extra-ldflags='-L/local/x86_64-w64-mingw32/lib -static'
     libavutil      55. 48.100 / 55. 48.100
     libavcodec     57. 82.102 / 57. 82.102
     libavformat    57. 66.103 / 57. 66.103
     libavdevice    57.  3.100 / 57.  3.100
     libavfilter     6. 74.100 /  6. 74.100
     libswscale      4.  3.101 /  4.  3.101
     libswresample   2.  4.100 /  2.  4.100
     libpostproc    54.  2.100 / 54.  2.100
    [udp @ 0238a140] 'circular_buffer_size' option was set but it is not supported on this build (pthread support is required)
    [udp @ 0421f1a0] 'circular_buffer_size' option was set but it is not supported on this build (pthread support is required)
    Invalid UE golomb code
    [h264 @ 0238af20] log2_max_frame_num_minus4 out of range (0-12): -1094995529
    [rtsp @ 02387960] Failed to open codec in avformat_find_stream_info
    Invalid UE golomb code
    [NULL @ 0238af20] log2_max_frame_num_minus4 out of range (0-12): -1094995529
    [NULL @ 0238af20] non-existing PPS 0 referenced
    Invalid UE golomb code
    [h264 @ 0238af20] log2_max_frame_num_minus4 out of range (0-12): -1094995529
    [NULL @ 0238af20] non-existing PPS 0 referenced
       Last message repeated 24 times
    [rtsp @ 02387960] Stream #0: not enough frames to estimate rate; consider increasing probesize
    [rtsp @ 02387960] Could not find codec parameters for stream 0 (Video: h264 (High), none(progressive)): unspecified size
    Consider increasing the value for the 'analyzeduration' and 'probesize' options
    Input #0, rtsp, from 'rtsp://192.168.249.233:8554/FirstVuHD':
     Metadata:
       title           : Session streamed by Stream
       comment         : Stream
     Duration: N/A, start: 0.000000, bitrate: N/A
       Stream #0:0: Video: h264 (High), none(progressive), 90k tbr, 90k tbn, 180k tbc
    [hls @ 04edf8a0] dimensions not set
    Could not write header for output file #0 (incorrect codec parameters ?): Invalid argument
    Stream mapping:
     Stream #0:0 -> #0:0 (copy)
       Last message repeated 1 times

    Working older version of FFMPEG output

    c:/temp/ffmpeg -i "rtsp://192.168.249.233:8554/Stream" -c:v copy -hls_time 3 -hls_wrap 10 "c:\inetpub\wwwroot\hls\streaming.m3u8"
    ffmpeg version N-76684-g1fe82ab Copyright (c) 2000-2015 the FFmpeg developers
     built with gcc 5.2.0 (GCC)
     configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libdcadec --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-lzma --enable-decklink --enable-zlib
     libavutil      55.  6.100 / 55.  6.100
     libavcodec     57. 15.100 / 57. 15.100
     libavformat    57. 14.100 / 57. 14.100
     libavdevice    57.  0.100 / 57.  0.100
     libavfilter     6. 15.100 /  6. 15.100
     libswscale      4.  0.100 /  4.  0.100
     libswresample   2.  0.101 /  2.  0.101
     libpostproc    54.  0.100 / 54.  0.100
    [h264 @ 0000000000506d20] log2_max_frame_num_minus4 out of range (0-12): -1
       Last message repeated 5 times
    [h264 @ 0000000000506d20] non-existing PPS 0 referenced
       Last message repeated 1 times
    [h264 @ 0000000000506d20] decode_slice_header error
    [h264 @ 0000000000506d20] no frame!
    [h264 @ 0000000000506d20] non-existing PPS 0 referenced
       Last message repeated 1 times
    [h264 @ 0000000000506d20] decode_slice_header error
    [h264 @ 0000000000506d20] no frame!
    [h264 @ 0000000000506d20] non-existing PPS 0 referenced
       Last message repeated 1 times
    [h264 @ 0000000000506d20] decode_slice_header error
    [h264 @ 0000000000506d20] no frame!
    [h264 @ 0000000000506d20] non-existing PPS 0 referenced
       Last message repeated 1 times
    [h264 @ 0000000000506d20] decode_slice_header error
    [h264 @ 0000000000506d20] no frame!
    [rtsp @ 0000000000503e60] max delay reached. need to consume packet
    [h264 @ 0000000000506d20] RTP: missed 75 packets
    [h264 @ 0000000000506d20] non-existing PPS 0 referenced
       Last message repeated 1 times
    [h264 @ 0000000000506d20] decode_slice_header error
    [h264 @ 0000000000506d20] no frame!
    [rtsp @ 0000000000503e60] max delay reached. need to consume packet
    [h264 @ 0000000000506d20] RTP: missed 86 packets
    [h264 @ 0000000000506d20] non-existing PPS 0 referenced
       Last message repeated 1 times
    [h264 @ 0000000000506d20] decode_slice_header error
    [h264 @ 0000000000506d20] no frame!
    [rtsp @ 0000000000503e60] max delay reached. need to consume packet
    [h264 @ 0000000000506d20] RTP: missed 57 packets
    [h264 @ 0000000000506d20] non-existing PPS 0 referenced
       Last message repeated 1 times
    [h264 @ 0000000000506d20] decode_slice_header error
    [h264 @ 0000000000506d20] no frame!
    [rtsp @ 0000000000503e60] max delay reached. need to consume packet
    [h264 @ 0000000000506d20] RTP: missed 6 packets
    [h264 @ 0000000000506d20] non-existing PPS 0 referenced
       Last message repeated 1 times
    [h264 @ 0000000000506d20] decode_slice_header error
    [h264 @ 0000000000506d20] no frame!
    [h264 @ 0000000000506d20] non-existing PPS 0 referenced
       Last message repeated 1 times
    [h264 @ 0000000000506d20] decode_slice_header error
    [h264 @ 0000000000506d20] no frame!
    [h264 @ 0000000000506d20] non-existing PPS 0 referenced
       Last message repeated 1 times
    [h264 @ 0000000000506d20] decode_slice_header error
    [h264 @ 0000000000506d20] no frame!
    [h264 @ 0000000000506d20] non-existing PPS 0 referenced
       Last message repeated 1 times
    [h264 @ 0000000000506d20] decode_slice_header error
    [h264 @ 0000000000506d20] no frame!
    [h264 @ 0000000000506d20] non-existing PPS 0 referenced
       Last message repeated 1 times
    [h264 @ 0000000000506d20] decode_slice_header error
    [h264 @ 0000000000506d20] no frame!
    [rtsp @ 0000000000503e60] max delay reached. need to consume packet
    [h264 @ 0000000000506d20] RTP: missed 1093 packets
    [rtsp @ 0000000000503e60] max delay reached. need to consume packet
    [h264 @ 0000000000506d20] RTP: missed 10 packets
    [rtsp @ 0000000000503e60] max delay reached. need to consume packet
    [h264 @ 0000000000506d20] RTP: missed 2 packets
    [rtsp @ 0000000000503e60] max delay reached. need to consume packet
    [h264 @ 0000000000506d20] RTP: missed 20 packets
    Input #0, rtsp, from 'rtsp://192.168.249.233:8554/Stream':
     Metadata:
       title           : Session streamed by Stream
       comment         : Stream
     Duration: N/A, start: 0.033367, bitrate: N/A
       Stream #0:0: Video: h264 (High), yuv420p, 1920x1080, 29.97 tbr, 90k tbn, 180k tbc
    Output #0, hls, to 'c:\inetpub\wwwroot\hls\streaming.m3u8':
     Metadata:
       title           : Session streamed by Stream
       comment         : Stream
       encoder         : Lavf57.14.100
       Stream #0:0: Video: h264, yuv420p, 1920x1080, q=2-31, 29.97 tbr, 90k tbn, 90k tbc
    Stream mapping:
     Stream #0:0 -> #0:0 (copy)
    Press [q] to stop, [?] for help
    [rtsp @ 0000000000503e60] max delay reached. need to consume packet
    [NULL @ 0000000000506d20] RTP: missed 211 packets
    frame=  398 fps= 71 q=-1.0 size=N/A time=00:00:16.68 bitrate=N/A
  • Anomalie #4003 (Fermé) : Accessibilité du sélecteur de rubrique : demande de report dans SPIP 3.0 ...

    25 septembre 2017, par - Equipement

    Bonjour,

    Il serait souhaitable de reporter dans la branche SPIP 3.0 le correctif r22364 du 29/07/2015 : mettre un href (#) et un title sur l’icône loupe du sélecteur ajax pour y avoir accès au clavier.
    En effet, un webmestre non voyant m’a signalé qu’il ne peut pas changer un article de rubrique dans SPIP 3.0 (alors qu’il pouvait le faire sous SPIP 2.1).

    Cordialement
    Equipement

  • Mozilla Firefox 36 has problems playing my h264 MP4 files

    11 juin 2015, par Wolfgang Pürstner

    I try to convert videos with ffmpeg to mp4 format (h264) Profile : High Level : 3.1 (1280x720 with 30fps), Bitrate 1500k

    The video plays very well in every browser except in Firefox.

    http://5.79.72.89/trailer/trailer.mp4

    At first it needs longer to load and when I seek inside the video most times the video don’t stop to load and never plays again.
    I can see a lot of partial downloads in the developer console. A lot of them are for the initial play and the rest of the requests are during the video load when I seek to a later position.

    enter image description here

    When I play other h264 Videos (MP4 with similar settings) they play without problems on this server.
    And when I put my video on another webserver (apache) there are the same problems with Firefox.

    For this reason I believe it has to do something with me my conversion.

    My settings :
    Debian 7 (wheezy)
    Webserver : nginx (with 260k bandwidth limit)

    I started converting videos with avconv and switched to ffmpeg because of this problems. But there was no success.
    Meanwhile I tried all options for encoding but there are always the same problems with Firefox. Other videos play well but not mines and I don’t know why.

    Command :

    ffmpeg -i input.mp4 -tune zerolatency -x264opts bitrate=1500:vbv-maxrate=1500:vbv-bufsize=3000:nal-hrd=vbr -codec:v libx264 -profile:v high -level 3.1 -movflags +faststart -pix_fmt yuv420p  -s 1280x720 -r 30 -ac 2 -ar 48000 -codec:a aac -ab 64k -strict experimental -y trailer.mp4
    
    ffmpeg 1.0.10
    libavutil      51. 73.101 / 51. 73.101
    libavcodec     54. 59.100 / 54. 59.100
    libavformat    54. 29.104 / 54. 29.104
    libavdevice    54.  2.101 / 54.  2.101
    libavfilter     3. 17.100 /  3. 17.100
    libswscale      2.  1.101 /  2.  1.101
    libswresample   0. 15.100 /  0. 15.100
    libpostproc    52.  0.100 / 52.  0.100
    

    Mediainfo of the file : trailer.mp4

    General
    Complete name : trailer.mp4
    Format : MPEG-4
    Format profile : Base Media
    Codec ID : isom
    File size : 115 MiB
    Duration : 10mn 34s
    Overall bit rate : 1 516 Kbps
    Movie name : Big Buck Bunny, Sunflower version
    Performer : Blender Foundation 2008, Janus Bager Kristensen 2013
    Composer : Sacha Goedegebure
    Genre : Animation
    Writing application : Lavf54.29.104
    Comment : Creative Commons Attribution 3.0 - http://bbb3d.renderfarming.net
    

    Video
    ID : 1
    Format : AVC
    Format/Info : Advanced Video Codec
    Format profile : High@L3.1
    Format settings, CABAC : Yes
    Format settings, ReFrames : 4 frames
    Codec ID : avc1
    Codec ID/Info : Advanced Video Coding
    Duration : 10mn 34s
    Bit rate : 1 500 Kbps
    Width : 1 920 pixels
    Height : 1 080 pixels
    Display aspect ratio : 16:9
    Frame rate mode : Constant
    Frame rate : 30.000 fps
    Color space : YUV
    Chroma subsampling : 4:2:0
    Bit depth : 8 bits
    Scan type : Progressive
    Bits/(Pixel*Frame) : 0.024
    Stream size : 109 MiB (95%)
    Writing library : x264 core 132
    Encoding settings : cabac=1 / ref=4 / deblock=1:0:0 / analyse=0x3:0x113 / me=hex / subme=7 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=12 / lookahead_threads=2 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=2 / keyint=50 / keyint_min=5 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=cbr / mbtree=1 / bitrate=1500 / ratetol=1.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / vbv_maxrate=1500 / vbv_bufsize=3000 / nal_hrd=none / ip_ratio=1.40 / aq=1:1.00

    Audio
    ID : 2
    Format : AAC
    Format/Info : Advanced Audio Codec
    Format profile : LC
    Codec ID : 40
    Duration : 10mn 34s
    Duration_LastFrame : -11ms
    Bit rate mode : Constant
    Bit rate : 64.2 Kbps
    Channel(s) : 2 channels
    Channel positions : Front : L R
    Sampling rate : 48.0 KHz
    Compression mode : Lossy
    Delay relative to video : -2ms
    Stream size : 4.85 MiB (4%)

    I don’t know what is wrong with my files.

    Update 2015-03-12 :

    If I convert the video without audio stream there is no problem with firefox anymore.

    I updated ffmpeg to 2.6. I used libfaac, aac and libfdk_aac for audio encoding with cbr and vbr but without success.