Skip to content

Instantly share code, notes, and snippets.

@shamun
Created July 31, 2011 13:30
Show Gist options
  • Save shamun/1116800 to your computer and use it in GitHub Desktop.
Save shamun/1116800 to your computer and use it in GitHub Desktop.
$ ffmpeg -i rtsp://94.224.197.82:5544/media.amp -acodec copy -vcodec copy /tmp/out.mkv
FFmpeg version 0.6.90-rc0, Copyright (c) 2000-2011 the FFmpeg developers
built on Apr 11 2011 20:48:31 with gcc 4.6.0 20110331 (Red Hat 4.6.0-2)
configuration: --prefix=/usr --bindir=/usr/bin --datadir=/usr/share/ffmpeg --incdir=/usr/include/ffmpeg --libdir=/usr/lib --mandir=/usr/share/man --arch=i686 --extra-cflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables' --enable-bzlib --enable-libdc1394 --enable-libdirac --enable-libgsm --enable-libmp3lame --enable-libopenjpeg --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxvid --enable-x11grab --enable-avfilter --enable-postproc --enable-pthreads --disable-static --enable-shared --enable-gpl --disable-debug --disable-stripping --shlibdir=/usr/lib --cpu=i686 --enable-runtime-cpudetect
libavutil 50. 40. 0 / 50. 40. 0
libavcodec 52.117. 0 / 52.117. 0
libavformat 52.104. 0 / 52.104. 0
libavdevice 52. 4. 0 / 52. 4. 0
libavfilter 1. 76. 0 / 1. 76. 0
libswscale 0. 13. 0 / 0. 13. 0
libpostproc 51. 2. 0 / 51. 2. 0
[rtsp @ 0x97ffa60] Estimating duration from bitrate, this may be inaccurate
Input #0, rtsp, from 'rtsp://94.224.197.82:5544/media.amp':
Metadata:
title : Unnamed
comment : N/A
Duration: N/A, start: 0.096938, bitrate: N/A
Stream #0.0: Audio: pcm_s16be, 32000 Hz, 2 channels, s16, 1024 kb/s
File '/tmp/out.mkv' already exists. Overwrite ? [y/N] y
/tmp/out.mkv: Permission denied
[sun@example ~]$ ffmpeg -i rtsp://94.224.197.82:5544/media.amp -acodec copy -vcodec copy /tmp/out0.mkv
FFmpeg version 0.6.90-rc0, Copyright (c) 2000-2011 the FFmpeg developers
built on Apr 11 2011 20:48:31 with gcc 4.6.0 20110331 (Red Hat 4.6.0-2)
configuration: --prefix=/usr --bindir=/usr/bin --datadir=/usr/share/ffmpeg --incdir=/usr/include/ffmpeg --libdir=/usr/lib --mandir=/usr/share/man --arch=i686 --extra-cflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables' --enable-bzlib --enable-libdc1394 --enable-libdirac --enable-libgsm --enable-libmp3lame --enable-libopenjpeg --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxvid --enable-x11grab --enable-avfilter --enable-postproc --enable-pthreads --disable-static --enable-shared --enable-gpl --disable-debug --disable-stripping --shlibdir=/usr/lib --cpu=i686 --enable-runtime-cpudetect
libavutil 50. 40. 0 / 50. 40. 0
libavcodec 52.117. 0 / 52.117. 0
libavformat 52.104. 0 / 52.104. 0
libavdevice 52. 4. 0 / 52. 4. 0
libavfilter 1. 76. 0 / 1. 76. 0
libswscale 0. 13. 0 / 0. 13. 0
libpostproc 51. 2. 0 / 51. 2. 0
[rtsp @ 0x9db2a60] Estimating duration from bitrate, this may be inaccurate
Input #0, rtsp, from 'rtsp://94.224.197.82:5544/media.amp':
Metadata:
title : Unnamed
comment : N/A
Duration: N/A, start: 0.044906, bitrate: N/A
Stream #0.0: Audio: pcm_s16be, 32000 Hz, 2 channels, s16, 1024 kb/s
Output #0, matroska, to '/tmp/out0.mkv':
Metadata:
title : Unnamed
comment : N/A
encoder : Lavf52.104.0
Stream #0.0: Audio: pcm_s16be, 32000 Hz, 2 channels, 1024 kb/s
Stream mapping:
Stream #0.0 -> #0.0
Press [q] to stop encoding
[matroska @ 0x9db5ac0] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 11 >= 0
av_interleaved_write_frame(): Invalid data found when processing input
[sun@example ~]$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment