Recherche avancée

Médias (1)

Mot : - Tags -/belgique

Autres articles (53)

  • Keeping control of your media in your hands

    13 avril 2011, par

    The vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
    While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
    MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
    MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...)

  • Les images

    15 mai 2013
  • Mediabox : ouvrir les images dans l’espace maximal pour l’utilisateur

    8 février 2011, par

    La visualisation des images est restreinte par la largeur accordée par le design du site (dépendant du thème utilisé). Elles sont donc visibles sous un format réduit. Afin de profiter de l’ensemble de la place disponible sur l’écran de l’utilisateur, il est possible d’ajouter une fonctionnalité d’affichage de l’image dans une boite multimedia apparaissant au dessus du reste du contenu.
    Pour ce faire il est nécessaire d’installer le plugin "Mediabox".
    Configuration de la boite multimédia
    Dès (...)

Sur d’autres sites (7337)

  • FFMPEG RGB Lossless conversion video

    29 août 2017, par DCDCDC

    I have been experiencing difficulty in finding many answers with FFMPEG documentation, forums and here.
    What I am trying to do is a compress a screen capture video but with just RGB data.
    The steps I am currently taking are ;

    ffmpeg -f avfoundation -pix_fmt 0rgb -r "30" -i "1" -vcodec libx264rgb -pix_fmt rgb24 -crf 0 -t 25 -q 0 -y ~/Desktop/RGB.mkv

    south-58-45:~ danielcarter$ ffmpeg -f avfoundation -pix_fmt 0rgb -r "30" -i "1" -vcodec libx264rgb -pix_fmt rgb24 -crf 0 -t 170 -q 0 -y -v info ~/Desktop/output.mkv
    ffmpeg version 3.3 Copyright (c) 2000-2017 the FFmpeg developers
     built with Apple LLVM version 8.1.0 (clang-802.0.41)
     configuration: --prefix=/usr/local/Cellar/ffmpeg/3.3 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-libmp3lame --enable-libx264 --enable-libxvid --enable-opencl --disable-lzma --enable-vda
     libavutil      55. 58.100 / 55. 58.100
     libavcodec     57. 89.100 / 57. 89.100
     libavformat    57. 71.100 / 57. 71.100
     libavdevice    57.  6.100 / 57.  6.100
     libavfilter     6. 82.100 /  6. 82.100
     libavresample   3.  5.  0 /  3.  5.  0
     libswscale      4.  6.100 /  4.  6.100
     libswresample   2.  7.100 /  2.  7.100
     libpostproc    54.  5.100 / 54.  5.100
    [avfoundation @ 0x7fc39d004c00] Stream #0: not enough frames to estimate rate; consider increasing probesize
    Input #0, avfoundation, from '1':
     Duration: N/A, start: 175270.249500, bitrate: N/A
       Stream #0:0: Video: rawvideo ([0]RGB / 0x42475200), 0rgb, 1440x900, 1000k tbr, 1000k tbn, 1000k tbc
    Stream mapping:
     Stream #0:0 -> #0:0 (rawvideo (native) -> h264 (libx264rgb))
    Press [q] to stop, [?] for help
    [libx264rgb @ 0x7fc39d13ea00] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 AVX2 LZCNT BMI2
    [libx264rgb @ 0x7fc39d13ea00] profile High 4:4:4 Predictive, level 4.0, 4:4:4 8-bit
    [libx264rgb @ 0x7fc39d13ea00] 264 - core 148 r2748 97eaef2 - H.264/MPEG-4 AVC codec - Copyleft 2003-2016 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x1:0x111 me=hex subme=7 psy=0 mixed_ref=1 me_range=16 chroma_me=1 trellis=0 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=0 chroma_qp_offset=0 threads=6 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc=cqp mbtree=0 qp=0
    Output #0, matroska, to '/Users/danielcarter/Desktop/output.mkv':
     Metadata:
       encoder         : Lavf57.71.100
       Stream #0:0: Video: h264 (libx264rgb) (H264 / 0x34363248), rgb24, 1440x900, q=-1--1, 30 fps, 1k tbn, 30 tbc
       Metadata:
         encoder         : Lavc57.89.100 libx264rgb
       Side data:
         cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1
    frame= 5100 fps= 30 q=-1.0 Lsize=   12167kB time=00:02:49.96 bitrate= 586.4kbits/s speed=0.999x    
    video:12134kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.267659%
    [libx264rgb @ 0x7fc39d13ea00] frame I:21    Avg QP: 0.00  size:430796
    [libx264rgb @ 0x7fc39d13ea00] frame P:5079  Avg QP: 0.00  size:   665
    [libx264rgb @ 0x7fc39d13ea00] mb I  I16..4: 61.3%  0.0% 38.7%
    [libx264rgb @ 0x7fc39d13ea00] mb P  I16..4:  0.1%  0.0%  0.0%  P16..4:  0.0%  0.0%  0.0%  0.0%  0.0%    skip:99.9%
    [libx264rgb @ 0x7fc39d13ea00] 8x8 transform intra:0.0% inter:11.2%
    [libx264rgb @ 0x7fc39d13ea00] coded y,u,v intra: 48.0% 31.6% 29.0% inter: 0.0% 0.0% 0.0%
    [libx264rgb @ 0x7fc39d13ea00] i16 v,h,dc,p: 76% 22%  2%  0%
    [libx264rgb @ 0x7fc39d13ea00] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 46% 35%  7%  2%  2%  1%  1%  1%  3%
    [libx264rgb @ 0x7fc39d13ea00] Weighted P-Frames: Y:0.0% UV:0.0%
    [libx264rgb @ 0x7fc39d13ea00] ref P L0: 83.1%  6.4%  5.3%  5.2%
    [libx264rgb @ 0x7fc39d13ea00] kb/s:584.71

    This captures the screen on my mac. To the best of my knowledge, this creates a lossless file and I have compared screen shots that confirm this.
    The next step is where I think I have an issue.
    Because I want to run the compression on raw RGB data I need to convert the MKV to an RGB file ;

    ffmpeg -i ~/Desktop/RGB.mkv -c:v rawvideo -pix_fmt rgb24 -crf 0 -ss 00:00:03 -to 00:02:01 -q 0 -y ~/Desktop/out.rgb

    south-58-45:~ danielcarter$ ffmpeg -i ~/Desktop/output.mkv -c:v rawvideo -pix_fmt rgb24 -crf 0 -ss 00:00:03 -to 00:02:01 -q 0 -y ~/Desktop/out.rgb
    ffmpeg version 3.3 Copyright (c) 2000-2017 the FFmpeg developers
     built with Apple LLVM version 8.1.0 (clang-802.0.41)
     configuration: --prefix=/usr/local/Cellar/ffmpeg/3.3 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-libmp3lame --enable-libx264 --enable-libxvid --enable-opencl --disable-lzma --enable-vda
     libavutil      55. 58.100 / 55. 58.100
     libavcodec     57. 89.100 / 57. 89.100
     libavformat    57. 71.100 / 57. 71.100
     libavdevice    57.  6.100 / 57.  6.100
     libavfilter     6. 82.100 /  6. 82.100
     libavresample   3.  5.  0 /  3.  5.  0
     libswscale      4.  6.100 /  4.  6.100
     libswresample   2.  7.100 /  2.  7.100
     libpostproc    54.  5.100 / 54.  5.100
    Input #0, matroska,webm, from '/Users/danielcarter/Desktop/output.mkv':
     Metadata:
       ENCODER         : Lavf57.71.100
     Duration: 00:02:50.00, start: 0.000000, bitrate: 586 kb/s
       Stream #0:0: Video: h264 (High 4:4:4 Predictive), gbrp(tv, gbr/unknown/unknown, progressive), 1440x900, 30 fps, 30 tbr, 1k tbn, 60 tbc (default)
       Metadata:
         ENCODER         : Lavc57.89.100 libx264rgb
         DURATION        : 00:02:50.000000000
    Codec AVOption crf (Select the quality for constant quality mode) specified for output file #0 (/Users/danielcarter/Desktop/out.rgb) has not been used for any stream. The most likely reason is either wrong type (e.g. a video option with no video streams) or that it is a private option of some encoder which was not actually used for any stream.
    Stream mapping:
     Stream #0:0 -> #0:0 (h264 (native) -> rawvideo (native))
    Press [q] to stop, [?] for help
    Output #0, rawvideo, to '/Users/danielcarter/Desktop/out.rgb':
     Metadata:
       encoder         : Lavf57.71.100
       Stream #0:0: Video: rawvideo (RGB[24] / 0x18424752), rgb24, 1440x900, q=2-31, 933120 kb/s, 30 fps, 30 tbn, 30 tbc (default)
       Metadata:
         DURATION        : 00:02:50.000000000
         encoder         : Lavc57.89.100 rawvideo
    frame= 3540 fps=111 q=-0.0 Lsize=13440938kB time=00:01:58.00 bitrate=933120.0kbits/s speed=3.68x    
    video:13440938kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.000000%

    Once I have this I can then compress and decompress successfully. I then get a working file to play back using ;

    ffmpeg -f rawvideo -vcodec rawvideo -s 1440x900 -r 30 -pix_fmt rgb24 -i ~/Desktop/out.rgb -c:v libx264rgb -pix_fmt rgb24 -x264opts keyint=300:min-keyint=300:no-scenecut -y -crf 0 ~/Desktop/rgbplay.mkv

    south-58-45:~ danielcarter$ ffmpeg -f rawvideo -vcodec rawvideo -s 1440x900 -r 30 -pix_fmt rgb24 -i ~/Desktop/out.rgb -c:v libx264rgb -pix_fmt rgb24 -x264opts keyint=300:min-keyint=300:no-scenecut -y -crf 0 ~/Desktop/rgbplay.mkv
    ffmpeg version 3.3 Copyright (c) 2000-2017 the FFmpeg developers
     built with Apple LLVM version 8.1.0 (clang-802.0.41)
     configuration: --prefix=/usr/local/Cellar/ffmpeg/3.3 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-libmp3lame --enable-libx264 --enable-libxvid --enable-opencl --disable-lzma --enable-vda
     libavutil      55. 58.100 / 55. 58.100
     libavcodec     57. 89.100 / 57. 89.100
     libavformat    57. 71.100 / 57. 71.100
     libavdevice    57.  6.100 / 57.  6.100
     libavfilter     6. 82.100 /  6. 82.100
     libavresample   3.  5.  0 /  3.  5.  0
     libswscale      4.  6.100 /  4.  6.100
     libswresample   2.  7.100 /  2.  7.100
     libpostproc    54.  5.100 / 54.  5.100
    [rawvideo @ 0x7fb1f9002600] Estimating duration from bitrate, this may be inaccurate
    Input #0, rawvideo, from '/Users/danielcarter/Desktop/out.rgb':
     Duration: 00:01:58.00, start: 0.000000, bitrate: 933120 kb/s
       Stream #0:0: Video: rawvideo (RGB[24] / 0x18424752), rgb24, 1440x900, 933120 kb/s, 30 tbr, 30 tbn, 30 tbc
    Stream mapping:
     Stream #0:0 -> #0:0 (rawvideo (native) -> h264 (libx264rgb))
    Press [q] to stop, [?] for help
    [libx264rgb @ 0x7fb1f9010c00] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 AVX2 LZCNT BMI2
    [libx264rgb @ 0x7fb1f9010c00] profile High 4:4:4 Predictive, level 4.0, 4:4:4 8-bit
    [libx264rgb @ 0x7fb1f9010c00] 264 - core 148 r2748 97eaef2 - H.264/MPEG-4 AVC codec - Copyleft 2003-2016 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x1:0x111 me=hex subme=7 psy=0 mixed_ref=1 me_range=16 chroma_me=1 trellis=0 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=0 chroma_qp_offset=0 threads=6 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=0 weightp=2 keyint=300 keyint_min=151 scenecut=0 intra_refresh=0 rc=cqp mbtree=0 qp=0
    Output #0, matroska, to '/Users/danielcarter/Desktop/rgbplay.mkv':
     Metadata:
       encoder         : Lavf57.71.100
       Stream #0:0: Video: h264 (libx264rgb) (H264 / 0x34363248), rgb24, 1440x900, q=-1--1, 30 fps, 1k tbn, 30 tbc
       Metadata:
         encoder         : Lavc57.89.100 libx264rgb
       Side data:
         cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1
    frame= 3540 fps= 64 q=-1.0 Lsize=    8319kB time=00:01:57.96 bitrate= 577.7kbits/s speed=2.13x    
    video:8297kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.273154%
    [libx264rgb @ 0x7fb1f9010c00] frame I:12    Avg QP: 0.00  size:437670
    [libx264rgb @ 0x7fb1f9010c00] frame P:3528  Avg QP: 0.00  size:   919
    [libx264rgb @ 0x7fb1f9010c00] mb I  I16..4: 61.9%  0.0% 38.1%
    [libx264rgb @ 0x7fb1f9010c00] mb P  I16..4:  0.1%  0.0%  0.0%  P16..4:  0.0%  0.0%  0.0%  0.0%  0.0%    skip:99.8%
    [libx264rgb @ 0x7fb1f9010c00] 8x8 transform intra:0.0% inter:15.1%
    [libx264rgb @ 0x7fb1f9010c00] coded y,u,v intra: 49.7% 36.5% 33.7% inter: 0.0% 0.0% 0.0%
    [libx264rgb @ 0x7fb1f9010c00] i16 v,h,dc,p: 73% 25%  1%  0%
    [libx264rgb @ 0x7fb1f9010c00] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 45% 36%  7%  2%  2%  2%  2%  1%  3%
    [libx264rgb @ 0x7fb1f9010c00] Weighted P-Frames: Y:0.0% UV:0.0%
    [libx264rgb @ 0x7fb1f9010c00] ref P L0: 81.3%  7.7%  6.7%  4.3%
    [libx264rgb @ 0x7fb1f9010c00] kb/s:575.96

    But here I have pixel variance. My guess is there is a RGB-YUV-RGB conversion happening somewhere but I am not smart enough to work out where.
    If any of you can help I would forever grateful.

    Here is a picture of the two stills side by side that shows the differences ;

    pixel difference

    If you need anything more I can post it also.
    Cheers,
    DC

  • 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
  • ffmpeg segments only the first part of my audio file

    30 juin 2012, par hammat

    I'm implementing a http live streaming server to send audio file to iOS devices.
    No problem with Apple's tools, mediafilesegmenter, my files are valid and it works fine.

    I'm trying now to segment the same file using ffmpeg. I've downloaded the last stable version which is the 0.10.2 for now.

    Here is how I try to segment my mp3 file :

    ./ffmpeg -re -i input.mp3 -f segment -segment_time 10 -segment_list outputList.m3u8 -acodec libmp3lame -map 0 output%03d.mp3

    It starts the mapping like expected but finish with only one .mp3 file.

    Did I miss something in the process ?
    Thanks in advance.

    edit

    Ok here is my latest command line :

    ffmpeg -i input.mp3 -c:a libmp3lame -b:a 128k -map 0:0 -f segment -segment_time 10 -segment_list outputlist.m3u8 -segment_format mp3 'output%03d.mp3'

    It still gives me only one file but the file is the hole song, not only one part.
    Here is the output of ffmpeg :

    ffmpeg version 0.10.2 Copyright (c) 2000-2012 the FFmpeg developers
    built on Apr 20 2012 07:08:29 with gcc 4.5.2  
    configuration: --enable-gpl --enable-version3 --enable-nonfree --enable-postproc --enable-libmp3lame  
       libavutil      51. 35.100 / 51. 35.100  
       libavcodec     53. 61.100 / 53. 61.100  
       libavformat    53. 32.100 /
           53. 32.100  
       libavdevice    53.  4.100 / 53.  4.100  
       libavfilter     2. 61.100 /  2. 61.100  
       libswscale      2.  1.100 /  2.  1.100  
       libswresample   0.  6.100 /  0.  6.100  
       libpostproc    52.  0.100 /  52.  0.100
       [mp3 @ 0x8e4f120] max_analyze_duration 5000000 reached at 5015510
    Input #0, mp3, from 'BeachHouse-Myth.mp3':  
       Metadata:
               title           : Myth
               artist          : Beach House
               track           : /
               album           : Bloom
               disc            : /
               genre           : Alternative
               TSRC            : USSUB1296501  
       Duration: 00:04:18.69, start: 0.000000, bitrate: 320 kb/s
               Stream #0:0: Audio: mp3, 44100 Hz, stereo, s16, 320 kb/s Output #0, segment, to 'stream%03d.mp3':   Metadata:
               title           : Myth
               artist          : Beach House
               track           : /
               album           : Bloom
               disc            : /
               genre           : Alternative
               TSRC            : USSUB1296501
               encoder         : Lavf53.32.100
               Stream #0:0: Audio: mp3, 44100 Hz, stereo, s16, 128 kb/s
    Stream mapping:  
       Stream #0:0 -> #0:0 (mp3 -> libmp3lame)
       Press [q] to stop, [?] for help
       Truncating packet of size 1024 to 105ate=   0.0kbits/s    
       Truncating packet of size 1024 to 1
       size=       0kB time=00:04:18.71 bitrate=   0.0kbits/s     video:0kB audio:4042kB global headers:0kB muxing overhead -100.000000%