Opened 10 years ago

Closed 9 years ago

#734 closed defect (needs_more_info)

Cannot decode rtmp stream - channel element 0.0 is not allocated

Reported by: Aurelius Owned by:
Priority: normal Component: undetermined
Version: unspecified Keywords:
Cc: Michael Niedermayer Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

[lar@lar ~]$ rtmpdump -v -r "rtmp://tvisio.tv/rtmp/eurosport_live" -W "http://tvisio.tv/swf/tvplayer_0.1.4.swf" -p "http://tvisio.tv/channels/21-eurosport" | ffplay -i -

RTMPDump v2.4
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
WARNING: You haven't specified an output file (-o filename), using stdout
Connecting ...
ffplay version 0.8.5, Copyright (c) 2003-2011 the FFmpeg developers

built on Oct 27 2011 21:29:14 with gcc 4.6.1 20111003 (Red Hat 4.6.1-10)
configuration: --prefix=/usr --bindir=/usr/bin --datadir=/usr/share/ffmpeg --incdir=/usr/include/ffmpeg --libdir=/usr/lib64 --mandir=/usr/share/man --arch=x86_64 --extra-cflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic' --enable-bzlib --enable-libcelt --enable-libdc1394 --enable-libdirac --enable-libfreetype --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/lib64 --enable-runtime-cpudetect
libavutil 51. 9. 1 / 51. 9. 1
libavcodec 53. 7. 0 / 53. 7. 0
libavformat 53. 4. 0 / 53. 4. 0
libavdevice 53. 1. 1 / 53. 1. 1
libavfilter 2. 23. 0 / 2. 23. 0
libswscale 2. 0. 0 / 2. 0. 0
libpostproc 51. 2. 0 / 51. 2. 0

INFO: Connected...
Starting Live Stream
INFO: Metadata:
INFO: height 576.00
INFO: width 720.00
20.021 kB / 0.40 sec[aac @ 0x7f4e80002ac0] channel element 0.0 is not allocated

Last message repeated 18 times

[flv @ 0x7f4e800008c0] invalid stream
[aac @ 0x7f4e80002ac0] channel element 0.0 is not allocated

Last message repeated 5 timesage repeated 4 times

INFO: Metadata:
INFO: height 576.00
INFO: width 720.00
C Last message repeated 168 timesge repeated 158 times
Caught signal: 2, cleaning up, just a second...
ERROR: RTMP_ReadPacket, failed to read RTMP packet body. len: 183
314.517 kB / 2.62 sec
Download may be incomplete (downloaded about 0.00%), try resuming

Last message repeated 169 times

[flv @ 0x7f4e800008c0] Could not find codec parameters (Audio: aac, 48000 Hz, 1 channels, s16)
[flv @ 0x7f4e800008c0] Estimating duration from bitrate, this may be inaccurate
Input #0, flv, from 'pipe:':

Duration: N/A, start: 0.000000, bitrate: N/A

Stream #0.0: Audio: aac, 48000 Hz, 1 channels, s16
Stream #0.1: Video: h264 (Main), yuv420p, 720x576 [PAR 64:45 DAR 16:9], 25 tbr, 1k tbn, 50 tbc

==========================================================================================================

Even though you get the same errors, it is possible to play the video when redirected to a file.

==========================================================================================================
[lar@lar ~]$ ffplay -i test.flv

ffplay version 0.8.5, Copyright (c) 2003-2011 the FFmpeg developers

built on Oct 27 2011 21:29:14 with gcc 4.6.1 20111003 (Red Hat 4.6.1-10)
configuration: --prefix=/usr --bindir=/usr/bin --datadir=/usr/share/ffmpeg --incdir=/usr/include/ffmpeg --libdir=/usr/lib64 --mandir=/usr/share/man --arch=x86_64 --extra-cflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic' --enable-bzlib --enable-libcelt --enable-libdc1394 --enable-libdirac --enable-libfreetype --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/lib64 --enable-runtime-cpudetect
libavutil 51. 9. 1 / 51. 9. 1
libavcodec 53. 7. 0 / 53. 7. 0
libavformat 53. 4. 0 / 53. 4. 0
libavdevice 53. 1. 1 / 53. 1. 1
libavfilter 2. 23. 0 / 2. 23. 0
libswscale 2. 0. 0 / 2. 0. 0
libpostproc 51. 2. 0 / 51. 2. 0

[aac @ 0x7fbd70002ac0] channel element 0.0 is not allocated

Last message repeated 20 times

[flv @ 0x7fbd700008c0] invalid stream
[aac @ 0x7fbd70002ac0] channel element 0.0 is not allocated

Last message repeated 828 times

[flv @ 0x7fbd700008c0] Could not find codec parameters (Audio: aac, 48000 Hz, 1 channels, s16)
[flv @ 0x7fbd700008c0] Estimating duration from bitrate, this may be inaccurate
Input #0, flv, from 'test.flv':

Duration: 00:00:17.89, start: 0.000000, bitrate: N/A

Stream #0.0: Audio: aac, 48000 Hz, 1 channels, s16
Stream #0.1: Video: h264 (Main), yuv420p, 720x576 [PAR 64:45 DAR 16:9], 25 tbr, 1k tbn, 50 tbc

[h264 @ 0x7fbd70017680] no frame!6KB vq= 1684KB sq= 0B f=0/0 f=0/0
ALSA lib pcm.c:7316:(snd_pcm_recover) underrun occurred0B f=0/0

2.15 A-V: 0.014 s:0.0 aq= 192KB vq= 1543KB sq= 0B f=0/0

Last message repeated 17 times

Attachments (1)

test.flv (1.8 MB ) - added by Aurelius 10 years ago.

Download all attachments as: .zip

Change History (8)

by Aurelius, 10 years ago

Attachment: test.flv added

comment:1 by Carl Eugen Hoyos, 10 years ago

The sample you uploaded plays fine here, could you explain your problem?

comment:2 by Aurelius, 10 years ago

Hello cehoyos, if i try to play the live stream with this command

rtmpdump -v -r "rtmp://tvisio.tv/rtmp/eurosport_live" -W "http://tvisio.tv/swf/tvplayer_0.1.4.swf" -p "http://tvisio.tv/channels/21-eurosport" | ffplay -i -

I get the repeating "channel element 0.0 is not allocated" error and the player does not start. Tried ffplay, mplayer and vlc - all report the same problem.

However, if the stream is redirected to the file, then the file is playable although the errors are still there.

Last edited 10 years ago by Aurelius (previous) (diff)

comment:3 by Carl Eugen Hoyos, 10 years ago

Does it work if you use a pipe and "-o"?

What about ffplay rtmp://tvisio.tv/rtmp/eurosport_live ?

comment:4 by Aurelius, 10 years ago

Nope both method don't work.

Last edited 10 years ago by Aurelius (previous) (diff)

comment:5 by Michael Niedermayer, 9 years ago

The commands quoted do not work, i dont know if the urls are no longer valid or its something else. But to debug this it is essential to have a reproduceable testcase, that is a rtmpdump command that works

comment:6 by Michael Niedermayer, 9 years ago

Cc: Michael Niedermayer added

comment:7 by Michael Niedermayer, 9 years ago

Resolution: needs_more_info
Status: newclosed

Please reopen the ticket once a working url / testcase / command line is available

Note: See TracTickets for help on using tickets.