[FFmpeg-user] ffserver rtsp stream transmits only audio
En Figureo Canal
figureo56.com at gmail.com
Fri Jul 24 20:17:16 CEST 2015
On Tue, Jul 21, 2015 at 6:44 PM, En Figureo Canal <figureo56.com at gmail.com>
wrote:
>
>
> On Tue, Jul 21, 2015 at 6:23 PM, Moritz Barsnick <barsnick at 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 at 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
>> libavformat 56. 15.102 / 56. 15.102
>> libavdevice 56. 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
>> libpostproc 53. 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
>
> libavformat 56. 15.102 / 56. 15.102
>
> libavdevice 56. 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
>
> libpostproc 53. 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
>
> libavformat 56. 15.102 / 56. 15.102
>
> libavdevice 56. 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
>
> libpostproc 53. 3.100 / 53. 3.100
>
> Input #0, concat, from '/root/videos/list.txt':
>
> Duration: N/A, start: 0.000000, 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 capabilities: MMX2 SSE2Slow SlowCTZ
>
> [libx264 @ 0x3251ac0] profile Constrained Baseline, level 3.0
>
> [libx264 @ 0x3251ac0] 264 - core 142 - H.264/MPEG-4 AVC codec - Copyleft
>> 2003-2014 - http://www.videolan.org/x264.html - options: cabac=0 ref=1
>> deblock=0:0:0 analyse=0:0 me=dia subme=0 psy=1 psy_rd=1.00:0.00 mixed_ref=0
>> me_range=16 chroma_me=1 trellis=0 8x8dct=0 cqm=0 deadzone=21,11
>> fast_pskip=1 chroma_qp_offset=0 threads=3 lookahead_threads=1
>> sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0
>> constrained_intra=0 bframes=0 weightp=0 keyint=250 keyint_min=25 scenecut=0
>> intra_refresh=0 rc_lookahead=0 rc=crf mbtree=0 crf=23.0 qcomp=0.60 qpmin=0
>> qpmax=69 qpstep=4 vbv_maxrate=1524 vbv_bufsize=3048 crf_max=0.0
>> nal_hrd=none filler=0 ip_ratio=1.40 aq=0
>
> [libx264 @ 0x337db60] using SAR=1/1
>
> [libx264 @ 0x337db60] using cpu capabilities: MMX2 SSE2Slow SlowCTZ
>
> [libx264 @ 0x337db60] profile Constrained Baseline, level 3.0
>
> [libx264 @ 0x337db60] 264 - core 142 - H.264/MPEG-4 AVC codec - Copyleft
>> 2003-2014 - http://www.videolan.org/x264.html - options: cabac=0 ref=1
>> deblock=0:0:0 analyse=0:0 me=dia subme=0 psy=1 psy_rd=1.00:0.00 mixed_ref=0
>> me_range=16 chroma_me=1 trellis=0 8x8dct=0 cqm=0 deadzone=21,11
>> fast_pskip=1 chroma_qp_offset=0 threads=3 lookahead_threads=1
>> sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0
>> constrained_intra=0 bframes=0 weightp=0 keyint=250 keyint_min=25 scenecut=0
>> intra_refresh=0 rc_lookahead=0 rc=crf mbtree=0 crf=23.0 qcomp=0.60 qpmin=0
>> qpmax=69 qpstep=4 vbv_maxrate=500 vbv_bufsize=1200 crf_max=0.0 nal_hrd=none
>> filler=0 ip_ratio=1.40 aq=0
>
> Output #0, ffm, to 'http://127.0.0.1:8090/livechannel.ffm':
>
> Metadata:
>
> creation_time : now
>
> encoder : Lavf56.15.102
>
> Stream #0:0: Audio: aac (libfdk_aac), 44100 Hz, stereo, s16, 96 kb/s
>
> Metadata:
>
> encoder : Lavc56.13.100 libfdk_aac
>
> Stream #0:1: Video: h264 (libx264), yuv420p, 720x420 [SAR 28:27 DAR
>> 16:9], q=-1--1, max. 1524 kb/s, 30 fps, 1000k tbn, 30 tbc
>
> Metadata:
>
> encoder : Lavc56.13.100 libx264
>
> Stream #0:2: Audio: mp3 (libmp3lame), 44100 Hz, stereo, s32p, 96 kb/s
>
> Metadata:
>
> encoder : Lavc56.13.100 libmp3lame
>
> Stream #0:3: Video: h264 (libx264), yuv420p, 640x360 [SAR 1:1 DAR
>> 16:9], q=-1--1, max. 500 kb/s, 30 fps, 1000k tbn, 30 tbc
>
> Metadata:
>
> encoder : Lavc56.13.100 libx264
>
> Stream mapping:
>
> Stream #0:1 -> #0:0 (aac (native) -> aac (libfdk_aac))
>
> Stream #0:0 -> #0:1 (h264 (native) -> h264 (libx264))
>
> Stream #0:1 -> #0:2 (aac (native) -> mp3 (libmp3lame))
>
> Stream #0:0 -> #0:3 (h264 (native) -> h264 (libx264))
>
> Press [q] to stop, [?] for help
>
> Tue Jul 21 22:25:16 2015 179.53.162.226:16260 - - "PLAY
>> livetv_500k.h264/streamid=0 RTP/UDP"=2 drop=0
>
> Tue Jul 21 22:25:16 2015 179.53.162.226:16262 - - "PLAY
>> livetv_500k.h264/streamid=1 RTP/UDP"
>
> Tue Jul 21 22:25:26 2015 179.53.162.226 - - [PLAY]
>> "rtsp://ip:7654/livetv_500k.h264/ RTSP/1.0" 200 1068
>
> Tue Jul 21 22:30:25 2015 69.64.49.252:24084 - - "PLAY
>> live_500k.h264/streamid=0 RTP/UDP"up=6 drop=0
>
> Tue Jul 21 22:30:25 2015 69.64.49.252:24086 - - "PLAY
>> live_500k.h264/streamid=1 RTP/UDP"
>
> Tue Jul 21 22:30:31 2015 69.64.49.252 - - [TEARDOWN]
>> "rtsp://ip:7654/livetv_500k.h264/ RTSP/1.0" 200 1160
>
> frame=13564 fps= 30 q=24.0 q=29.0 size= 120980kB time=00:07:32.18
>> bitrate=2191.7kbits/s dup=6 drop=0
>
>
>
>
>
>
I'm trying to learn ffmpeg but, I've being stuck in the process. I try to
ask for help here after googling and not finding the solution. I know
people here have their own lives and other responsibilities but, I feel
most of my emails get ignored. This is the only place people can get
assistance for such great utility: ffmpeg/ffserver.
I'm breaking my head trying to solve my problem but, can't figure it out.
Can someone PLEASE guide me on the correct direction.
More information about the ffmpeg-user
mailing list