Recherche avancée

Médias (91)

Autres articles (106)

  • 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

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

  • Création définitive du canal

    12 mars 2010, par

    Lorsque votre demande est validée, vous pouvez alors procéder à la création proprement dite du canal. Chaque canal est un site à part entière placé sous votre responsabilité. Les administrateurs de la plateforme n’y ont aucun accès.
    A la validation, vous recevez un email vous invitant donc à créer votre canal.
    Pour ce faire il vous suffit de vous rendre à son adresse, dans notre exemple "http://votre_sous_domaine.mediaspip.net".
    A ce moment là un mot de passe vous est demandé, il vous suffit d’y (...)

Sur d’autres sites (14236)

  • Run ffmpeg without outputting configuration information ?

    28 mars 2014, par Matt Joiner

    I'm invoking ffmpeg with subprocess.Popen, and trying to capture the stderr output and write it to logging.

    args = ['ffmpeg', '-i', path]
    if start:
       args += ['-ss', start]
    if end:
       args += ['-t', end]
    args += [
       '-vcodec', 'copy',
       '-acodec', 'copy',
       '-scodec', 'copy',
       '-f', 'mpegts',
       '-y', '/dev/stdout']
    self.child = subprocess.Popen(
       args,
       stdin=open(os.devnull, 'rb'),
       stdout=subprocess.PIPE,
       stderr=subprocess.PIPE)

    ffmpeg generates a lot of configuration information like the following :

    FFmpeg version 0.6.2-4:0.6.2-1ubuntu1,
    Copyright (c) 2000-2010 the Libav
    developers built on Mar 22 2011
    15:55:04 with gcc 4.5.2
    configuration :
    —extra-version=4:0.6.2-1ubuntu1 —prefix=/usr —enable-avfilter —enable-avfilter-lavf —enable-vdpau —enable-bzlib —enable-libgsm —enable-libschroedinger —enable-libspeex —enable-libtheora —enable-libvorbis —enable-pthreads —enable-zlib —enable-libvpx —disable-stripping —enable-runtime-cpudetect —enable-vaapi —enable-gpl —enable-postproc —enable-swscale —enable-x11grab —enable-libdc1394 —enable-shared —disable-static WARNING : library configuration
    mismatch libavutil configuration :
    —extra-version=4:0.6.2-1ubuntu2 —prefix=/usr —enable-avfilter —enable-avfilter-lavf —enable-vdpau —enable-bzlib —enable-libdirac —enable-libgsm —enable-libopenjpeg —enable-libschroedinger —enable-libspeex —enable-libtheora —enable-libvorbis —enable-pthreads —enable-zlib —enable-libvpx —disable-stripping —enable-runtime-cpudetect —enable-vaapi —enable-libopenjpeg —enable-gpl —enable-postproc —enable-swscale —enable-x11grab —enable-libfaad —enable-libdirac —enable-libfaad —enable-libmp3lame —enable-librtmp —enable-libx264 —enable-libxvid —enable-libdc1394 —enable-shared —disable-static libavcodec configuration :
    —extra-version=4:0.6.2-1ubuntu2 —prefix=/usr —enable-avfilter —enable-avfilter-lavf —enable-vdpau —enable-bzlib —enable-libdirac —enable-libgsm —enable-libopenjpeg —enable-libschroedinger —enable-libspeex —enable-libtheora —enable-libvorbis —enable-pthreads —enable-zlib —enable-libvpx —disable-stripping —enable-runtime-cpudetect —enable-vaapi —enable-libopenjpeg —enable-gpl —enable-postproc —enable-swscale —enable-x11grab —enable-libfaad —enable-libdirac —enable-libfaad —enable-libmp3lame —enable-librtmp —enable-libx264 —enable-libxvid —enable-libdc1394 —enable-shared —disable-static libavutil 50.15. 1 / 50.15. 1
    libavcodec 52.72. 2 / 52.72. 2
    libavformat 52.64. 2 / 52.64. 2
    libavdevice 52. 2. 0 / 52. 2. 0
    libavfilter 1.19. 0 / 1.19. 0
    libswscale 0.11. 0 / 0.11. 0
    libpostproc 51. 2. 0 / 51. 2. 0

    Prior to finally outputting the stuff I'd like to log :

    Seems stream 0 codec frame rate
    differs from container frame rate :
    47.95 (66893/1395) -> 23.98 (66893/2790) At least one output file
    must be specified

    Is there an option to prevent this excessive output ? Should I be doing it differently ?

  • Installation Error when installing MLT [on hold]

    3 décembre 2013, par user3060419

    my PC configuration is
    Gnome version 3.4.2
    memory 1.7Gib
    Processor AMD Athlon(tm) II X2 270 Processor × 2
    Graphics VESA : RS780
    Base system Debian GNU/Linux 7 (wheezy) 64-bit
    Disc 486.3Gib

    I tried to intall MLT(Media Lovin Toolkit). after installing all dependencies when i configure with this command----

    ./configure —prefix=/usr —enable-gpl —qimage-libdir=/usr/lib/ —qimage-includedir=/usr/include/qt4

    Then the output shows as----

    Configuring modules/linsys :

    Configuring modules/lumas :

    Configuring modules/motion_est :

    Configuring modules/normalize :

    Configuring modules/oldfilm :

    Configuring modules/opengl :

    Configuring modules/plus :

    Configuring modules/qimage :

    • Qt not found : disabling

    Configuring modules/resample :

    Configuring modules/rotoscoping :

    Configuring modules/rtaudio :

    Configuring modules/sdl :

    Configuring modules/sox :

    Configuring modules/swfdec :

    Configuring modules/videostab :

    Configuring modules/vmfx :

    Configuring modules/vorbis :

    Configuring modules/xine :

    Configuring modules/xml :

    Configuring mlt++ :

    Configuring swig :

    GPLv2 license used ; GPLv3 components disabled

    and when i try to make by make command, then the output is---->

    list='src/framework src/mlt++ src/melt src/modules src/swig profiles' ; \
    for subdir in $list ; do \
    make -s -C $subdir depend || exit 1 ; \
    make -C $subdir all || exit 1 ; \
    done
    make[1] : Entering directory `/root/mlt/src/framework'

    make[1] : Nothing to be done for `all'.

    make[1] : Leaving directory `/root/mlt/src/framework'

    make[1] : Entering directory `/root/mlt/src/mlt++'

    make[1] : Nothing to be done for `all'.

    make[1] : Leaving directory `/root/mlt/src/mlt++'

    make[1] : Entering directory `/root/mlt/src/melt'

    make[1] : Nothing to be done for `all'.

    make[1] : Leaving directory `/root/mlt/src/melt'

    make[1] : Entering directory `/root/mlt/src/modules'

    list='xml kino rotoscoping motion_est avformat effectv vmfx gtk2 opengl videostab rtaudio
    jackrack resample oldfilm decklink sox vorbis dv core linsys feeds kdenlive frei0r qimage
    swfdec plus xine lumas avsync normalize dgraft sdl' ; \
    for subdir in $list ; do

       if [ -f $subdir/Makefile -a ! -f disable-$subdir ] ; \

       then make -C $subdir all || exit 1; \

       fi \

    done

    make[2] : Entering directory `/root/mlt/src/modules/xml'

    make[2] : Nothing to be done for `all'.

    make[2] : Leaving directory `/root/mlt/src/modules/xml'

    make[2] : Entering directory `/root/mlt/src/modules/kino'

    g++ -I../../ -DARCH_X86_64 -Wall -DPIC -O2 -pipe -fno-tree-dominator-opts -fno-tree-pre
    - ffast-math -DUSE_MMX -DUSE_SSE -DUSE_SSE2 -g -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
    - fPIC -pthread pkg-config --cflags libquicktime pkg-config --cflags libdv
    -Wno-deprecated pkg-config --cflags libquicktime -c -o kino_wrapper.o kino_wrapper.cc

    g++ -I../../ -DARCH_X86_64 -Wall -DPIC -O2 -pipe -fno-tree-dominator-opts -fno-tree-pre
    -ffast-math -DUSE_MMX -DUSE_SSE -DUSE_SSE2 -g -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
    -fPIC -pthread pkg-config --cflags libquicktime pkg-config --cflags libdv

    -Wno-deprecated pkg-config --cflags libquicktime -c -o avi.o avi.cc

    g++ -I../../ -DARCH_X86_64 -Wall -DPIC -O2 -pipe -fno-tree-dominator-opts -fno-tree-pre
    - ffast-math -DUSE_MMX -DUSE_SSE -DUSE_SSE2 -g -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
    - fPIC -pthread pkg-config --cflags libquicktime pkg-config --cflags libdv
    - Wno-deprecated pkg-config --cflags libquicktime -c -o filehandler.o filehandler.cc

    g++ -I../../ -DARCH_X86_64 -Wall -DPIC -O2 -pipe -fno-tree-dominator-opts -fno-tree-pre
    - ffast-math -DUSE_MMX -DUSE_SSE -DUSE_SSE2 -g -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
    - fPIC -pthread pkg-config --cflags libquicktime pkg-config --cflags libdv
    - Wno-deprecated pkg-config --cflags libquicktime -c -o riff.o riff.cc

    g++ -shared -o ../libmltkino.so factory.o producer_kino.o kino_wrapper.o avi.o error.o

    filehandler.o riff.o -L../../framework -lmlt -lpthread -Wl,—no-undefined -Wl,—as-needed
    - lstdc++ pkg-config --libs libquicktime pkg-config --libs libdv

    make[2] : Leaving directory `/root/mlt/src/modules/kino'

    make[2] : Entering directory `/root/mlt/src/modules/rotoscoping'

    make[2] : Nothing to be done for `all'.

    make[2] : Leaving directory `/root/mlt/src/modules/rotoscoping'

    make[2] : Entering directory `/root/mlt/src/modules/motion_est'

    make[2] : Nothing to be done for `all'.

    make[2] : Leaving directory `/root/mlt/src/modules/motion_est'

    make[2] : Entering directory `/root/mlt/src/modules/avformat'

    cc -shared -o ../libmltavformat.so factory.o filter_avcolour_space.o filter_avresample.o
    filter_avdeinterlace.o filter_swscale.o producer_avformat.o consumer_avformat.o -L../..
    /framework -lmlt -lpthread -Wl,—no-undefined -Wl,—as-needed -lavformat -lavcodec
    - lavutil -lswscale -lavdevice

    make[2] : Leaving directory `/root/mlt/src/modules/avformat'

    make[2] : Entering directory `/root/mlt/src/modules/effectv'

    cc -I../.. -DARCH_X86_64 -Wall -DPIC -O2 -pipe -fno-tree-dominator-opts -fno-tree-pre
    -ffast-math -DUSE_MMX -DUSE_SSE -DUSE_SSE2 -g -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
    -fPIC -pthread -c -o factory.o factory.c

    cc -I../.. -DARCH_X86_64 -Wall -DPIC -O2 -pipe -fno-tree-dominator-opts -fno-tree-pre
    - ffast-math -DUSE_MMX -DUSE_SSE -DUSE_SSE2 -g -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
    - fPIC -pthread -c -o filter_burn.o filter_burn.c

    cc -I../.. -DARCH_X86_64 -Wall -DPIC -O2 -pipe -fno-tree-dominator-opts -fno-tree-pre

    -ffast-math -DUSE_MMX -DUSE_SSE -DUSE_SSE2 -g -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE

    -fPIC -pthread -c -o image.o image.c

    cc -I../.. -DARCH_X86_64 -Wall -DPIC -O2 -pipe -fno-tree-dominator-opts -fno-tree-pre
    - ffast-math -DUSE_MMX -DUSE_SSE -DUSE_SSE2 -g -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
    - fPIC -pthread -c -o utils.o utils.c

    cc -shared -o ../libmlteffectv.so factory.o filter_burn.o image.o utils.o -L../../framework
    -lmlt -lm -Wl,—no-undefined -Wl,—as-needed

    make[2] : Leaving directory `/root/mlt/src/modules/effectv'

    make[2] : Entering directory `/root/mlt/src/modules/vmfx'

    cc -I../.. -DARCH_X86_64 -Wall -DPIC -O2 -pipe -fno-tree-dominator-opts -fno-tree-pre
    - ffast-math -DUSE_MMX -DUSE_SSE -DUSE_SSE2 -g -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
    - fPIC -pthread -c -o factory.o factory.c

    cc -I../.. -DARCH_X86_64 -Wall -DPIC -O2 -pipe -fno-tree-dominator-opts -fno-tree-pre
    - ffast-math -DUSE_MMX -DUSE_SSE -DUSE_SSE2 -g -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
    - fPIC -pthread -c -o filter_chroma.o filter_chroma.c

    filter_chroma.c : In function ‘filter_get_image’ :

    filter_chroma.c:52:10 : warning : variable ‘y’ set but not used [-Wunused-but-set-variable]

    cc -I../.. -DARCH_X86_64 -Wall -DPIC -O2 -pipe -fno-tree-dominator-opts -fno-tree-pre
    - ffast-math -DUSE_MMX -DUSE_SSE -DUSE_SSE2 -g -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
    - fPIC -pthread -c -o filter_chroma_hold.o filter_chroma_hold.c

    filter_chroma_hold.c : In function ‘filter_get_image’ :

    filter_chroma_hold.c:52:10 : warning : variable ‘y’ set but not used [-Wunused-but-set-
    variable]

    cc -I../.. -DARCH_X86_64 -Wall -DPIC -O2 -pipe -fno-tree-dominator-opts -fno-tree-pre
    - ffast-math -DUSE_MMX -DUSE_SSE -DUSE_SSE2 -g -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
    - fPIC -pthread -c -o filter_mono.o filter_mono.c

    cc -I../.. -DARCH_X86_64 -Wall -DPIC -O2 -pipe -fno-tree-dominator-opts -fno-tree-pre
    - ffast-math -DUSE_MMX -DUSE_SSE -DUSE_SSE2 -g -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
    - fPIC -pthread -c -o filter_shape.o filter_shape.c

    filter_shape.c : In function ‘filter_process’ :

    filter_shape.c:137:9 : warning : variable ‘extension’ set but not used [-Wunused-but-set-
    variable]
    cc -I../.. -DARCH_X86_64 -Wall -DPIC -O2 -pipe -fno-tree-dominator-opts -fno-tree-pre
    - ffast-math -DUSE_MMX -DUSE_SSE -DUSE_SSE2 -g -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
    - fPIC -pthread -c -o producer_pgm.o producer_pgm.c

    cc -shared -o ../libmltvmfx.so factory.o filter_chroma.o filter_chroma_hold.o filter_mono.o
    filter_shape.o producer_pgm.o -L../../framework -lmlt -Wl,—no-undefined -Wl,—as-needed

    make[2] : Leaving directory `/root/mlt/src/modules/vmfx'

    make[2] : Entering directory `/root/mlt/src/modules/gtk2'

    cc -I../.. -DARCH_X86_64 -Wall -DPIC -O2 -pipe -fno-tree-dominator-opts -fno-tree-pre -ffast-math -DUSE_MMX -DUSE_SSE -DUSE_SSE2 -g -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fPIC -pthread pkg-config  --cflags gtk+-2.0 pkg-config  --cflags gdk-pixbuf-2.0 pkg-config  --cflags pangoft2 -c -o factory.o factory.c
    factory.c : In function ‘initialise’ :
    factory.c:47:3 : warning : ‘g_type_init’ is deprecated (declared at /usr/include/glib-2.0/gobject/gtype.h:669) [-Wdeprecated-declarations]

    cc -I../.. -DARCH_X86_64 -Wall -DPIC -O2 -pipe -fno-tree-dominator-opts -fno-tree-pre
    - ffast-math -DUSE_MMX -DUSE_SSE -DUSE_SSE2 -g -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
    - fPIC -pthread pkg-config  --cflags gtk+-2.0 pkg-config  --cflags gdk-pixbuf-2.0
    pkg-config  --cflags pangoft2 -c -o consumer_gtk2.o consumer_gtk2.c

    cc -I../.. -DARCH_X86_64 -Wall -DPIC -O2 -pipe -fno-tree-dominator-opts -fno-tree-pre
    - ffast-math -DUSE_MMX -DUSE_SSE -DUSE_SSE2 -g -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
    - fPIC -pthread pkg-config  --cflags gtk+-2.0 pkg-config  --cflags gdk-pixbuf-2.0 pkg-config  --cflags pangoft2 -c -o producer_pixbuf.o producer_pixbuf.c
    cc -I../.. -DARCH_X86_64 -Wall -DPIC -O2 -pipe -fno-tree-dominator-opts -fno-tree-pre -ffast-math -DUSE_MMX -DUSE_SSE -DUSE_SSE2 -g -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fPIC -pthread pkg-config  --cflags gtk+-2.0 pkg-config  --cflags gdk-pixbuf-2.0 pkg-config  --cflags pangoft2 -c -o pixops.o pixops.c
    pixops.c : In function ‘pixops_process’ :
    pixops.c:410:20 : warning : variable ‘tcolor2’ set but not used [-Wunused-but-set-variable]

    pixops.c:410:11 : warning : variable ‘tcolor1’ set but not used [-Wunused-but-set-variable]

    cc -I../.. -DARCH_X86_64 -Wall -DPIC -O2 -pipe -fno-tree-dominator-opts -fno-tree-pre
    - ffast-math -DUSE_MMX -DUSE_SSE -DUSE_SSE2 -g -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE

    -fPIC -pthread pkg-config  --cflags gtk+-2.0 pkg-config  --cflags gdk-pixbuf-2.0

    pkg-config  --cflags pangoft2 -c -o filter_rescale.o filter_rescale.c

    cc -I../.. -DARCH_X86_64 -Wall -DPIC -O2 -pipe -fno-tree-dominator-opts -fno-tree-pre
    - ffast-math -DUSE_MMX -DUSE_SSE -DUSE_SSE2 -g -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
    - fPIC -pthread pkg-config  --cflags gtk+-2.0 pkg-config  --cflags gdk-pixbuf-2.0
    pkg-config  --cflags pangoft2 -c -o producer_pango.o producer_pango.c

    producer_pango.c:28:31 : fatal error : freetype/freetype.h : No such file or directory
    compilation terminated.

    make[2] : * [producer_pango.o] Error 1

    make[2] : Leaving directory `/root/mlt/src/modules/gtk2'

    make[1] : * [all] Error 1

    make[1] : Leaving directory `/root/mlt/src/modules'

    make : * [all] Error 1

    Anyone please help me to install MLT, I really need help seriously.

  • keepalive type and frequency in ffmpeg [on hold]

    19 novembre 2013, par Jack Simth

    My company has a bunch of IP cameras that we distribute - specifically Grandstream - and the manufacturer has changed their firmware. The normal keepalive that ffmpeg uses for the rtsp streams ( either ff_rtsp_send_cmd_async(s, "GET_PARAMETER", rt->control_uri, NULL) ; or ff_rtsp_send_cmd_async(s, "OPTIONS", "*", NULL) ; both in in libavformat/rtspdec.c) is no longer working, for two reasons :

    1) The new Grandstream firmware is now checking for a receiver report to determine whether or not the program reading the stream is live, not just anything.

    2) The new Grandstream firmware requires that the receiver report to keep the connection alive happen at least once every 25 seconds, and on the audio stream it is currently only happening about every 30 seconds or so (video is getting it every 7 seconds or so).

    So after about a minute with ffmpeg connected, the camera stops sending the audio stream, the audio stream on ffmpeg reads end-of-file, and then ffmpeg shuts everything down.

    As I can't change the firmware, I'm trying to dig through the ffmpeg code to make it send the appropriate receiver report for the keep alive... but I am getting nowhere. I've added a little snippet of code into the receiver reports so I know when they're running when I call ffmpeg on debug, but... well, it's not going well.

    Test command :
    ffmpeg -loglevel debug -i rtsp ://admin:admin@192.168.4.3:554/0 -acodec libmp3lame -ar 22050 -vcodec copy -y -f flv /dev/null &> test.txt

    Test output :

    `[root@localhost ffmpeg]# cat test.txt
    ffmpeg version 2.0 Copyright (c) 2000-2013 the FFmpeg developers
     built on Aug 21 2013 14:24:28 with gcc 4.4.7 (GCC) 20120313 (Red Hat 4.4.7-3)
     configuration: --datadir=/usr/share/ffmpeg --bindir=/usr/local/bin --libdir=/usr/local/lib --incdir=/usr/local/include --shlibdir=/usr/lib --mandir=/usr/share/man --disable-avisynth --extra-cflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables' --enable-avfilter --enable-libx264 --enable-gpl --enable-version3 --enable-postproc --enable-pthreads --enable-shared --enable-swscale --enable-vdpau --enable-x11grab --enable-librtmp --enable-libopencore-amrnb --enable-libopencore-amrwb --disable-static --enable-libgsm --enable-libxvid --enable-libvpx --enable-libvorbis --enable-libvo-aacenc --enable-libmp3lame
     libavutil      52. 38.100 / 52. 38.100
     libavcodec     55. 18.102 / 55. 18.102
     libavformat    55. 12.100 / 55. 12.100
     libavdevice    55.  3.100 / 55.  3.100
     libavfilter     3. 79.101 /  3. 79.101
     libswscale      2.  3.100 /  2.  3.100
     libswresample   0. 17.102 /  0. 17.102
     libpostproc    52.  3.100 / 52.  3.100
    Splitting the commandline.
    Reading option '-loglevel' ... matched as option 'loglevel' (set logging level) with argument 'debug'.
    Reading option '-i' ... matched as input file with argument 'rtsp://admin:admin@192.168.4.3:554/0'.
    Reading option '-acodec' ... matched as option 'acodec' (force audio codec ('copy' to copy stream)) with argument 'libmp3lame'.
    Reading option '-ar' ... matched as option 'ar' (set audio sampling rate (in Hz)) with argument '22050'.
    Reading option '-vcodec' ... matched as option 'vcodec' (force video codec ('copy' to copy stream)) with argument 'copy'.
    Reading option '-y' ... matched as option 'y' (overwrite output files) with argument '1'.
    Reading option '-f' ... matched as option 'f' (force format) with argument 'flv'.
    Reading option '/dev/null' ... matched as output file.
    Finished splitting the commandline.
    Parsing a group of options: global .
    Applying option loglevel (set logging level) with argument debug.
    Applying option y (overwrite output files) with argument 1.
    Successfully parsed a group of options.
    Parsing a group of options: input file rtsp://admin:admin@192.168.4.3:554/0.
    Successfully parsed a group of options.
    Opening an input file: rtsp://admin:admin@192.168.4.3:554/0.
    [rtsp @ 0x9d9ccc0] SDP:
    v=0
    o=StreamingServer 3331435948 1116907222000 IN IP4 192.168.4.3
    s=h264.mp4
    c=IN IP4 0.0.0.0
    t=0 0
    a=control:*
    m=video 0 RTP/AVP 96
    a=control:trackID=0
    a=rtpmap:96 H264/90000
    a=fmtp:96 packetization-mode=1; sprop-parameter-sets=Z0LgHtoCgPRA,aM4wpIA=
    m=audio 0 RTP/AVP 0
    a=control:trackID=1
    a=rtpmap:0 PCMU/8000
    a=ptime:20
    m=application 0 RTP/AVP 107
    a=control:trackID=2
    a=rtpmap:107 vnd.onvif.metadata/90000


    [rtsp @ 0x9d9ccc0] video codec set to: h264
    [NULL @ 0x9d9f400] RTP Packetization Mode: 1
    [NULL @ 0x9d9f400] Extradata set to 0x9d9f900 (size: 22)!
    [rtsp @ 0x9d9ccc0] audio codec set to: pcm_mulaw
    [rtsp @ 0x9d9ccc0] audio samplerate set to: 8000
    [rtsp @ 0x9d9ccc0] audio channels set to: 1
    [rtsp @ 0x9d9ccc0] hello state=0
    [h264 @ 0x9d9f400] Current profile doesn't provide more RBSP data in PPS, skipping
       Last message repeated 1 times
    [rtsp @ 0x9d9ccc0] All info found
    Guessed Channel Layout for  Input Stream #0.1 : mono
    Input #0, rtsp, from 'rtsp://admin:admin@192.168.4.3:554/0':
     Metadata:
       title           : h264.mp4
     Duration: N/A, start: 0.000000, bitrate: 64 kb/s
       Stream #0:0, 28, 1/90000: Video: h264 (Constrained Baseline), yuv420p, 640x480, 1/180000, 10 tbr, 90k tbn, 180k tbc
       Stream #0:1, 156, 1/8000: Audio: pcm_mulaw, 8000 Hz, mono, s16, 64 kb/s
    Successfully opened the file.
    Parsing a group of options: output file /dev/null.
    Applying option acodec (force audio codec ('copy' to copy stream)) with argument libmp3lame.
    Applying option ar (set audio sampling rate (in Hz)) with argument 22050.
    Applying option vcodec (force video codec ('copy' to copy stream)) with argument copy.
    Applying option f (force format) with argument flv.
    Successfully parsed a group of options.
    Opening an output file: /dev/null.
    Successfully opened the file.
    detected 2 logical cores
    [graph 0 input from stream 0:1 @ 0x9f15380] Setting 'time_base' to value '1/8000'
    [graph 0 input from stream 0:1 @ 0x9f15380] Setting 'sample_rate' to value '8000'
    [graph 0 input from stream 0:1 @ 0x9f15380] Setting 'sample_fmt' to value 's16'
    [graph 0 input from stream 0:1 @ 0x9f15380] Setting 'channel_layout' to value '0x4'
    [graph 0 input from stream 0:1 @ 0x9f15380] tb:1/8000 samplefmt:s16 samplerate:8000 chlayout:0x4
    [audio format for output stream 0:1 @ 0x9efa7c0] Setting 'sample_fmts' to value 's32p|fltp|s16p'
    [audio format for output stream 0:1 @ 0x9efa7c0] Setting 'sample_rates' to value '22050'
    [audio format for output stream 0:1 @ 0x9efa7c0] Setting 'channel_layouts' to value '0x4|0x3'
    [audio format for output stream 0:1 @ 0x9efa7c0] auto-inserting filter 'auto-inserted resampler 0' between the filter 'Parsed_anull_0' and the filter 'audio format for output stream 0:1'
    [AVFilterGraph @ 0x9f15980] query_formats: 4 queried, 9 merged, 3 already done, 0 delayed
    [auto-inserted resampler 0 @ 0x9dfada0] ch:1 chl:mono fmt:s16 r:8000Hz -> ch:1 chl:mono fmt:s16p r:22050Hz
    Output #0, flv, to '/dev/null':
     Metadata:
       title           : h264.mp4
       encoder         : Lavf55.12.100
       Stream #0:0, 0, 1/1000: Video: h264 ([7][0][0][0] / 0x0007), yuv420p, 640x480, 1/90000, q=2-31, 1k tbn, 90k tbc
       Stream #0:1, 0, 1/1000: Audio: mp3 (libmp3lame) ([2][0][0][0] / 0x0002), 22050 Hz, mono, s16p
    Stream mapping:
     Stream #0:0 -> #0:0 (copy)
     Stream #0:1 -> #0:1 (pcm_mulaw -> libmp3lame)
    Press [q] to stop, [?] for help
    Current profile doesn't provide more RBSP data in PPS, skippingrate= 135.4kbits/s
    Current profile doesn't provide more RBSP data in PPS, skippingrate= 134.4kbits/s
    Current profile doesn't provide more RBSP data in PPS, skippingrate= 135.0kbits/s
    Current profile doesn't provide more RBSP data in PPS, skippingrate= 135.5kbits/s
    Current profile doesn't provide more RBSP data in PPS, skippingrate= 136.9kbits/s
    Queue input is backward in time=     233kB time=00:00:13.69 bitrate= 139.4kbits/s
    Current profile doesn't provide more RBSP data in PPS, skippingrate= 136.3kbits/s
    [flv @ 0x9de1200] Non-monotonous DTS in output stream 0:1; previous: 14239, current: 13926; changing to 14239. This may result in incorrect timestamps in the output file.
    [flv @ 0x9de1200] Non-monotonous DTS in output stream 0:1; previous: 14239, current: 13952; changing to 14239. This may result in incorrect timestamps in the output file.
    [flv @ 0x9de1200] Non-monotonous DTS in output stream 0:1; previous: 14239, current: 13979; changing to 14239. This may result in incorrect timestamps in the output file.
    [flv @ 0x9de1200] Non-monotonous DTS in output stream 0:1; previous: 14239, current: 14005; changing to 14239. This may result in incorrect timestamps in the output file.
    [flv @ 0x9de1200] Non-monotonous DTS in output stream 0:1; previous: 14239, current: 14031; changing to 14239. This may result in incorrect timestamps in the output file.
    [flv @ 0x9de1200] Non-monotonous DTS in output stream 0:1; previous: 14239, current: 14057; changing to 14239. This may result in incorrect timestamps in the output file.
    [flv @ 0x9de1200] Non-monotonous DTS in output stream 0:1; previous: 14239, current: 14083; changing to 14239. This may result in incorrect timestamps in the output file.
    [flv @ 0x9de1200] Non-monotonous DTS in output stream 0:1; previous: 14239, current: 14109; changing to 14239. This may result in incorrect timestamps in the output file.
    [flv @ 0x9de1200] Non-monotonous DTS in output stream 0:1; previous: 14239, current: 14135; changing to 14239. This may result in incorrect timestamps in the output file.
    [flv @ 0x9de1200] Non-monotonous DTS in output stream 0:1; previous: 14239, current: 14161; changing to 14239. This may result in incorrect timestamps in the output file.
    [flv @ 0x9de1200] Non-monotonous DTS in output stream 0:1; previous: 14239, current: 14188; changing to 14239. This may result in incorrect timestamps in the output file.
    [flv @ 0x9de1200] Non-monotonous DTS in output stream 0:1; previous: 14239, current: 14214; changing to 14239. This may result in incorrect timestamps in the output file.
    Current profile doesn't provide more RBSP data in PPS, skippingrate= 141.5kbits/s
    Current profile doesn't provide more RBSP data in PPS, skippingrate= 142.0kbits/s
    Current profile doesn't provide more RBSP data in PPS, skippingrate= 142.5kbits/s
    Receiver Report delay: 469789, gettime: -1527669086, last_recep: 322446, timebase: -1534837492
    Current profile doesn't provide more RBSP data in PPS, skippingrate= 141.5kbits/s
    Current profile doesn't provide more RBSP data in PPS, skippingrate= 141.7kbits/s
    Current profile doesn't provide more RBSP data in PPS, skippingrate= 141.1kbits/s
    Current profile doesn't provide more RBSP data in PPS, skippingrate= 140.6kbits/s
    Current profile doesn't provide more RBSP data in PPS, skippingrate= 140.7kbits/s
    Current profile doesn't provide more RBSP data in PPS, skippingrate= 139.9kbits/s
    Receiver Report delay: 132993, gettime: -1516538925, last_recep: 322446, timebase: -1518568234
    Current profile doesn't provide more RBSP data in PPS, skippingrate= 139.6kbits/s
    Current profile doesn't provide more RBSP data in PPS, skippingrate= 139.6kbits/s
    Current profile doesn't provide more RBSP data in PPS, skippingrate= 139.7kbits/s
    Current profile doesn't provide more RBSP data in PPS, skippingrate= 139.4kbits/s
    Current profile doesn't provide more RBSP data in PPS, skippingrate= 140.0kbits/s
    Receiver Report delay: 897727, gettime: -1504870331, last_recep: 322446, timebase: -1518568552
    [NULL @ 0x9d9f400] Current profile doesn't provide more RBSP data in PPS, skipping
    Current profile doesn't provide more RBSP data in PPS, skippingrate= 139.4kbits/s
    Current profile doesn't provide more RBSP data in PPS, skippingrate= 139.1kbits/s
    Current profile doesn't provide more RBSP data in PPS, skippingrate= 139.0kbits/s
    Current profile doesn't provide more RBSP data in PPS, skippingrate= 139.0kbits/s
    Current profile doesn't provide more RBSP data in PPS, skippingrate= 138.6kbits/s
    Current profile doesn't provide more RBSP data in PPS, skippingrate= 138.5kbits/s
    Current profile doesn't provide more RBSP data in PPS, skippingrate= 138.2kbits/s
    EOF on sink link output stream 0:1:default.time=00:00:58.40 bitrate= 139.6kbits/s
    No more output streams to write to, finishing.
    [libmp3lame @ 0x9dfa580] Trying to remove 344 more samples than there are in the queue
    frame=  589 fps= 11 q=-1.0 Lsize=    1003kB time=00:00:58.85 bitrate= 139.5kbits/s
    video:724kB audio:231kB subtitle:0 global headers:0kB muxing overhead 4.955356%
    2959 frames successfully decoded, 0 decoding errors
    [AVIOContext @ 0x9e021c0] Statistics: 3 seeks, 2860 writeouts
    [root@localhost ffmpeg]#