ilyaplot@Gateway1:~$ wget http://89.222.215.153:8095/stream.flv
--2012-11-29 14:10:49-- http://89.222.215.153:8095/stream.flv
Подключение к 89.222.215.153:8095... соединились.
Запрос HTTP послан, ожидание ответа... 200 OK
Длина: нет данных [video/x-flv]
Сохранение в каталог: ««stream.flv»».
[ <=> ] 0 --.-K/s за 9,5s
2012-11-29 14:10:59 (0,00 B/s) - «stream.flv» сохранено [0]
root@Gateway1:~/ffmpeg# ffmpeg -version
ffmpeg version git-2012-11-29-605f1d9
built on Nov 29 2012 13:58:48 with gcc 4.6 (Ubuntu/Linaro 4.6.3-1ubuntu5)
configuration: --enable-gpl --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libx264 --enable-nonfree --enable-version3 --enable-x11grab
libavutil 52. 9.102 / 52. 9.102
libavcodec 54. 77.100 / 54. 77.100
libavformat 54. 39.100 / 54. 39.100
libavdevice 54. 3.100 / 54. 3.100
libavfilter 3. 23.104 / 3. 23.104
libswscale 2. 1.103 / 2. 1.103
libswresample 0. 17.101 / 0. 17.101
libpostproc 52. 2.100 / 52. 2.100
VLC media player 2.0.5 Twoflower (revision 2.0.3+git20121127+r441)
ilyaplot@Gateway1:~$ x264 --version
x264 0.129.2230 1cffe9f
built on Nov 29 2012, gcc: 4.6.3
configuration: --bit-depth=8 --chroma-format=all
x264 license: GPL version 2 or later
[0xb70012c8] stream_out_transcode stream out error: cannot find video decoder
[0xb70012c8] stream_out_transcode stream out error: cannot create video chain
[0xb7010dc8] main decoder error: cannot create packetizer output (h264)
..............
[flv @ 0xb7007d80] Codec for stream 0 does not use global headers but container format requires global headers
[NULL @ 0x9285f80] codec not compatible with flv
[0xb7002c58] avformat mux error: could not write header: Operation not permitted
ilyaplot@Gateway1:~$ ffmpeg -version
ffmpeg version 0.8.4-4:0.8.4-0ubuntu0.12.04.1, Copyright (c) 2000-2012 the Libav developers
built on Nov 6 2012 16:50:25 with gcc 4.6.3
*** THIS PROGRAM IS DEPRECATED ***
This program is only provided for compatibility and will be removed in a future release. Please use avconv instead.
ffmpeg 0.8.4-4:0.8.4-0ubuntu0.12.04.1
libavutil 51. 22. 1 / 51. 22. 1
libavcodec 53. 35. 0 / 53. 35. 0
libavformat 53. 21. 0 / 53. 21. 0
libavdevice 53. 2. 0 / 53. 2. 0
libavfilter 2. 15. 0 / 2. 15. 0
libswscale 2. 1. 0 / 2. 1. 0
libpostproc 52. 0. 0 / 52. 0. 0
[0xb70012c8] stream_out_transcode stream out error: cannot find video decoder
[0xb70012c8] stream_out_transcode stream out error: cannot create video chain
[0xb7010e28] main decoder error: cannot create packetizer output (h264)
ilyaplot@Gateway1:~$ x264 --version
x264 0.129.2230 1cffe9f
built on Nov 28 2012, gcc: 4.6.3
configuration: --bit-depth=8 --chroma-format=all
x264 license: GPL version 2 or later
ilyaplot@Gateway1:~$ ffprobe rtsp://192.168.100.248:554/video.h264
avprobe version 0.8.4-4:0.8.4-0ubuntu0.12.04.1, Copyright (c) 2007-2012 the Libav developers
built on Nov 6 2012 16:50:25 with gcc 4.6.3
[rtsp @ 0x8e14aa0] Estimating duration from bitrate, this may be inaccurate
Input #0, rtsp, from 'rtsp://192.168.100.248:554/video.h264':
Metadata:
title : QStream
comment : QStreaming Media
Duration: N/A, start: 0.000000, bitrate: N/A
Stream #0.0: Video: h264 (Baseline), yuv420p, 640x480, 90k tbr, 90k tbn, 180k tbc
Stream #0.1: Audio: pcm_mulaw, 8000 Hz, 1 channels, s16, 64 kb/s
ilyaplot@Gateway1:~$
ilyaplot@Gateway1:~$ cvlc rtsp://192.168.100.248:554/video.h264 --sout '#transcode{acodec=none}:std{access=http,mux=ffmpeg{mux=flv}, dst=0.0.0.0:8095/stream.flv}'
VLC media player 2.0.3 Twoflower (revision 2.0.2-93-g77aa89e)
[0x9df6a68] inhibit interface error: Failed to connect to the D-Bus session daemon: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11
[0x9df6a68] main interface error: no suitable interface module
[0x9df4eb0] main interface error: no suitable interface module
[0x9d5f8f0] main libvlc error: interface "globalhotkeys,none" initialization failed
[0x9df4eb0] dummy interface: using the dummy interface module...
[0xb7002468] access_output_http access out: Consider passing --http-host=IP on the command line instead.
[0xb70012c8] stream_out_transcode stream out error: cannot find audio encoder (module:any fourcc:none). Take a look few lines earlier to see possible reason.
[0xb70012c8] stream_out_transcode stream out error: cannot create audio chain
[0xb703c620] main decoder error: cannot create packetizer output (mlaw)
[flv @ 0xb7007d60] Aspect ratio mismatch between encoder and muxer layer
[0xb7002c08] avformat mux error: could not write header: Invalid argument
[mailserver.exe]
TCP 0.0.0.0:80 0.0.0.0:0 LISTENING
ЌҐ г¤ Ґвбп Ї®«гзЁвм ᢥ¤ҐЁп ® ў« ¤Ґ«мжҐ
TCP 0.0.0.0:81 0.0.0.0:0 LISTENING
[mailserver.exe]
TCP 0.0.0.0:110 0.0.0.0:0 LISTENING
[mailserver.exe]
TCP 0.0.0.0:119 0.0.0.0:0 LISTENING
[mailserver.exe]
TCP 0.0.0.0:135 0.0.0.0:0 LISTENING
RpcSs
Всегда есть :)