Re: [FFmpeg-user] ffserver rtsp stream transmits only audio

2015-07-24 Thread En Figureo Canal
On Tue, Jul 21, 2015 at 6:44 PM, En Figureo Canal figureo56@gmail.com
wrote:



 On Tue, Jul 21, 2015 at 6:23 PM, Moritz Barsnick barsn...@gmx.net wrote:

 On Tue, Jul 21, 2015 at 18:18:17 -0400, En Figureo Canal wrote:
  problems with rtsp streaming with ffserver.
 [...]
  Format rtp

 Is RTP identical to RTSP? (I don't know - I'm asking.)

  When I use ffprobe I get the following, not showing any video info other
  than the codec:
 
  Stream #0:0: Audio: mp3, 441000 Hz, stereo, s16p, bitrate: 96 kb/s
  Stream#0:1: Video: h264, none, 90k tbr, 180ktbc

 Impossible, ffprobe should also show at least a banner.

  Can you please guide to what I'm doing wrong?

 Please show us the command line and complete, uncut console output of
 - your ffmpeg command,
 - your ffprobe command.

 Moritz
 ___
 ffmpeg-user mailing list
 ffmpeg-user@ffmpeg.org
 http://ffmpeg.org/mailman/listinfo/ffmpeg-user



 This is ffprobe output:

 ./bin/ffprobe rtsp://ip:/7654/live.h264
 ffprobe version 2.5.4 Copyright (c) 2007-2015 the FFmpeg developers
   built on Jun 13 2015 22:34:19 with gcc 4.7 (Debian 4.7.2-5)
   configuration: --prefix=/root/ffmpeg_build --pkg-config-flags=--static
 --extra-cflags=-I/root/ffmpeg_build/include
 --extra-ldflags=-L/root/ffmpeg_build/lib --bindir=/root/bin --enable-gpl
 --enable-libass --enable-libfdk-aac --enable-libfreetype
 --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis
 --enable-libvpx --enable-libx264 --prefix=/root/ffmpeg/build
 --enable-libx265 --enable-nonfree
   libavutil  54. 15.100 / 54. 15.100
   libavcodec 56. 13.100 / 56. 13.100
   libavformat56. 15.102 / 56. 15.102
   libavdevice56.  3.100 / 56.  3.100
   libavfilter 5.  2.103 /  5.  2.103
   libswscale  3.  1.101 /  3.  1.101
   libswresample   1.  1.100 /  1.  1.100
   libpostproc53.  3.100 / 53.  3.100
 [rtsp @ 0x397ec60] Could not find codec parameters for stream 1 (Video:
 h264, none): unspecified size
 Consider increasing the value for the 'analyzeduration' and 'probesize'
 options
 Input #0, rtsp, from 'rtsp://ip:7654/live_500k.h264':
   Metadata:
 title   : live
   Duration: N/A, start: 87715.219244, bitrate: 96 kb/s
 Stream #0:0: Audio: mp3, 44100 Hz, stereo, s16p, 96 kb/s
 Stream #0:1: Video: h264, none, 90k tbr, 90k tbn, 180k tbc


 Now this is ffserver output:

  ./bin/ffserver -d

 ffserver version 2.5.4 Copyright (c) 2000-2015 the FFmpeg developers

   built on Jun 13 2015 22:34:19 with gcc 4.7 (Debian 4.7.2-5)

   configuration: --prefix=/root/ffmpeg_build --pkg-config-flags=--static
 --extra-cflags=-I/root/ffmpeg_build/include
 --extra-ldflags=-L/root/ffmpeg_build/lib --bindir=/root/bin --enable-gpl
 --enable-libass --enable-libfdk-aac --enable-libfreetype
 --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis
 --enable-libvpx --enable-libx264 --prefix=/root/ffmpeg/build
 --enable-libx265 --enable-nonfree

   libavutil  54. 15.100 / 54. 15.100

   libavcodec 56. 13.100 / 56. 13.100

   libavformat56. 15.102 / 56. 15.102

   libavdevice56.  3.100 / 56.  3.100

   libavfilter 5.  2.103 /  5.  2.103

   libswscale  3.  1.101 /  3.  1.101

   libswresample   1.  1.100 /  1.  1.100

   libpostproc53.  3.100 / 53.  3.100

 Tue Jul 21 22:25:11 2015 FFserver started.

 Tue Jul 21 22:25:11 2015 Launch command line: ./bin/ffmpeg -f concat
 -rtbufsize 8k -re -i /root/videos/list.txt
 http://127.0.0.1:8090/livechannel.ffm

 ffmpeg version 2.5.4 Copyright (c) 2000-2015 the FFmpeg developers

   built on Jun 13 2015 22:34:19 with gcc 4.7 (Debian 4.7.2-5)

   configuration: --prefix=/root/ffmpeg_build --pkg-config-flags=--static
 --extra-cflags=-I/root/ffmpeg_build/include
 --extra-ldflags=-L/root/ffmpeg_build/lib --bindir=/root/bin --enable-gpl
 --enable-libass --enable-libfdk-aac --enable-libfreetype
 --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis
 --enable-libvpx --enable-libx264 --prefix=/root/ffmpeg/build
 --enable-libx265 --enable-nonfree

   libavutil  54. 15.100 / 54. 15.100

   libavcodec 56. 13.100 / 56. 13.100

   libavformat56. 15.102 / 56. 15.102

   libavdevice56.  3.100 / 56.  3.100

   libavfilter 5.  2.103 /  5.  2.103

   libswscale  3.  1.101 /  3.  1.101

   libswresample   1.  1.100 /  1.  1.100

   libpostproc53.  3.100 / 53.  3.100

 Input #0, concat, from '/root/videos/list.txt':

   Duration: N/A, start: 0.00, bitrate: 1474 kb/s

 Stream #0:0: Video: h264 (Constrained Baseline) (avc1 / 0x31637661),
 yuv420p, 720x420 [SAR 28:27 DAR 16:9], 1346 kb/s, 30 fps, 30 tbr, 15360
 tbn, 60 tbc

 Stream #0:1: Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo,
 fltp, 128 kb/s

 Tue Jul 21 22:25:11 2015 127.0.0.1 - - New connection: GET /livechannel.ffm

 Tue Jul 21 22:25:11 2015 127.0.0.1 - - [GET] /livechannel.ffm HTTP/1.1
 200 4175

 Tue Jul 21 22:25:11 2015 127.0.0.1 - - 

Re: [FFmpeg-user] ffserver rtsp stream transmits only audio

2015-07-21 Thread Moritz Barsnick
On Tue, Jul 21, 2015 at 18:18:17 -0400, En Figureo Canal wrote:
 problems with rtsp streaming with ffserver.
[...]
 Format rtp

Is RTP identical to RTSP? (I don't know - I'm asking.)

 When I use ffprobe I get the following, not showing any video info other
 than the codec:
 
 Stream #0:0: Audio: mp3, 441000 Hz, stereo, s16p, bitrate: 96 kb/s
 Stream#0:1: Video: h264, none, 90k tbr, 180ktbc

Impossible, ffprobe should also show at least a banner.

 Can you please guide to what I'm doing wrong?

Please show us the command line and complete, uncut console output of 
- your ffmpeg command,
- your ffprobe command.

Moritz
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


Re: [FFmpeg-user] ffserver rtsp stream transmits only audio

2015-07-21 Thread En Figureo Canal
On Tue, Jul 21, 2015 at 6:23 PM, Moritz Barsnick barsn...@gmx.net wrote:

 On Tue, Jul 21, 2015 at 18:18:17 -0400, En Figureo Canal wrote:
  problems with rtsp streaming with ffserver.
 [...]
  Format rtp

 Is RTP identical to RTSP? (I don't know - I'm asking.)

  When I use ffprobe I get the following, not showing any video info other
  than the codec:
 
  Stream #0:0: Audio: mp3, 441000 Hz, stereo, s16p, bitrate: 96 kb/s
  Stream#0:1: Video: h264, none, 90k tbr, 180ktbc

 Impossible, ffprobe should also show at least a banner.

  Can you please guide to what I'm doing wrong?

 Please show us the command line and complete, uncut console output of
 - your ffmpeg command,
 - your ffprobe command.

 Moritz
 ___
 ffmpeg-user mailing list
 ffmpeg-user@ffmpeg.org
 http://ffmpeg.org/mailman/listinfo/ffmpeg-user



This is ffprobe output:

./bin/ffprobe rtsp://ip:/7654/live.h264
 ffprobe version 2.5.4 Copyright (c) 2007-2015 the FFmpeg developers
   built on Jun 13 2015 22:34:19 with gcc 4.7 (Debian 4.7.2-5)
   configuration: --prefix=/root/ffmpeg_build --pkg-config-flags=--static
 --extra-cflags=-I/root/ffmpeg_build/include
 --extra-ldflags=-L/root/ffmpeg_build/lib --bindir=/root/bin --enable-gpl
 --enable-libass --enable-libfdk-aac --enable-libfreetype
 --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis
 --enable-libvpx --enable-libx264 --prefix=/root/ffmpeg/build
 --enable-libx265 --enable-nonfree
   libavutil  54. 15.100 / 54. 15.100
   libavcodec 56. 13.100 / 56. 13.100
   libavformat56. 15.102 / 56. 15.102
   libavdevice56.  3.100 / 56.  3.100
   libavfilter 5.  2.103 /  5.  2.103
   libswscale  3.  1.101 /  3.  1.101
   libswresample   1.  1.100 /  1.  1.100
   libpostproc53.  3.100 / 53.  3.100
 [rtsp @ 0x397ec60] Could not find codec parameters for stream 1 (Video:
 h264, none): unspecified size
 Consider increasing the value for the 'analyzeduration' and 'probesize'
 options
 Input #0, rtsp, from 'rtsp://ip:7654/live_500k.h264':
   Metadata:
 title   : live
   Duration: N/A, start: 87715.219244, bitrate: 96 kb/s
 Stream #0:0: Audio: mp3, 44100 Hz, stereo, s16p, 96 kb/s
 Stream #0:1: Video: h264, none, 90k tbr, 90k tbn, 180k tbc


Now this is ffserver output:

 ./bin/ffserver -d

ffserver version 2.5.4 Copyright (c) 2000-2015 the FFmpeg developers

  built on Jun 13 2015 22:34:19 with gcc 4.7 (Debian 4.7.2-5)

  configuration: --prefix=/root/ffmpeg_build --pkg-config-flags=--static
 --extra-cflags=-I/root/ffmpeg_build/include
 --extra-ldflags=-L/root/ffmpeg_build/lib --bindir=/root/bin --enable-gpl
 --enable-libass --enable-libfdk-aac --enable-libfreetype
 --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis
 --enable-libvpx --enable-libx264 --prefix=/root/ffmpeg/build
 --enable-libx265 --enable-nonfree

  libavutil  54. 15.100 / 54. 15.100

  libavcodec 56. 13.100 / 56. 13.100

  libavformat56. 15.102 / 56. 15.102

  libavdevice56.  3.100 / 56.  3.100

  libavfilter 5.  2.103 /  5.  2.103

  libswscale  3.  1.101 /  3.  1.101

  libswresample   1.  1.100 /  1.  1.100

  libpostproc53.  3.100 / 53.  3.100

Tue Jul 21 22:25:11 2015 FFserver started.

Tue Jul 21 22:25:11 2015 Launch command line: ./bin/ffmpeg -f concat
 -rtbufsize 8k -re -i /root/videos/list.txt
 http://127.0.0.1:8090/livechannel.ffm

ffmpeg version 2.5.4 Copyright (c) 2000-2015 the FFmpeg developers

  built on Jun 13 2015 22:34:19 with gcc 4.7 (Debian 4.7.2-5)

  configuration: --prefix=/root/ffmpeg_build --pkg-config-flags=--static
 --extra-cflags=-I/root/ffmpeg_build/include
 --extra-ldflags=-L/root/ffmpeg_build/lib --bindir=/root/bin --enable-gpl
 --enable-libass --enable-libfdk-aac --enable-libfreetype
 --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis
 --enable-libvpx --enable-libx264 --prefix=/root/ffmpeg/build
 --enable-libx265 --enable-nonfree

  libavutil  54. 15.100 / 54. 15.100

  libavcodec 56. 13.100 / 56. 13.100

  libavformat56. 15.102 / 56. 15.102

  libavdevice56.  3.100 / 56.  3.100

  libavfilter 5.  2.103 /  5.  2.103

  libswscale  3.  1.101 /  3.  1.101

  libswresample   1.  1.100 /  1.  1.100

  libpostproc53.  3.100 / 53.  3.100

Input #0, concat, from '/root/videos/list.txt':

  Duration: N/A, start: 0.00, bitrate: 1474 kb/s

Stream #0:0: Video: h264 (Constrained Baseline) (avc1 / 0x31637661),
 yuv420p, 720x420 [SAR 28:27 DAR 16:9], 1346 kb/s, 30 fps, 30 tbr, 15360
 tbn, 60 tbc

Stream #0:1: Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo,
 fltp, 128 kb/s

Tue Jul 21 22:25:11 2015 127.0.0.1 - - New connection: GET /livechannel.ffm

Tue Jul 21 22:25:11 2015 127.0.0.1 - - [GET] /livechannel.ffm HTTP/1.1
 200 4175

Tue Jul 21 22:25:11 2015 127.0.0.1 - - New connection: POST /livechannel.ffm

[libx264 @ 0x3251ac0] using SAR=28/27

[libx264 @ 0x3251ac0] using cpu