[FFmpeg-user] Error while decoding stream #0:0: Operation not permitted

Kevin Trivedi kevin.trivedi at hiddenbrains.in
Fri Mar 1 12:13:46 CET 2013


While Transcoding AACP into MP3 i was recieving Error of *AACP with no
global headers is not supported right now.*
*
*
*
*
On adding force target container for decoding (*-c:a mp3*) that error was
solved, and *i was able to stream that url successfully*, but i am
receiving random errors, of *Stream bits reserved *or *channel element 2.13
is not allocated*
*
*
*Below is the complete console log*
*
*

*
*
hb at S4-B2-40:~$ ffmpeg -i "http://redradios.net:8050/;stream/1" -acodec mp3
-ac 1 -ab 160 -flags +global_header -c:a mp3 -f rtp rtp://
127.0.0.1:1234/stream4/
ffmpeg version git-2013-02-28-03678a3 Copyright (c) 2000-2013 the FFmpeg
developers
  built on Feb 28 2013 20:42:16 with gcc 4.5.2 (Ubuntu/Linaro
4.5.2-8ubuntu4)
  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 --enable-libaacplus --enable-nonfree --enable-libx264
--enable-gpl
  libavutil      52. 17.103 / 52. 17.103
  libavcodec     54. 92.100 / 54. 92.100
  libavformat    54. 63.102 / 54. 63.102
  libavdevice    54.  3.103 / 54.  3.103
  libavfilter     3. 41.100 /  3. 41.100
  libswscale      2.  2.100 /  2.  2.100
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  2.100 / 52.  2.100
[tcp @ 0xadbc200] TCP connection to redradios.net:8050 failed: Connection
refused
http://redradios.net:8050/;stream/1: Input/output error
hb at S4-B2-40:~$ ffmpeg -i "http://80.86.106.35:9000/;stream/1" -acodec mp3
-ac 1 -ab 160 -flags +global_header -c:a mp3 -f rtp rtp://
127.0.0.1:1234/stream4/
ffmpeg version git-2013-02-28-03678a3 Copyright (c) 2000-2013 the FFmpeg
developers
  built on Feb 28 2013 20:42:16 with gcc 4.5.2 (Ubuntu/Linaro
4.5.2-8ubuntu4)
  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 --enable-libaacplus --enable-nonfree --enable-libx264
--enable-gpl
  libavutil      52. 17.103 / 52. 17.103
  libavcodec     54. 92.100 / 54. 92.100
  libavformat    54. 63.102 / 54. 63.102
  libavdevice    54.  3.103 / 54.  3.103
  libavfilter     3. 41.100 /  3. 41.100
  libswscale      2.  2.100 /  2.  2.100
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  2.100 / 52.  2.100
[aac @ 0x9ea95a0] get_buffer() failed
[aac @ 0x9ea6520] max_analyze_duration 5000000 reached at 5015510
microseconds
[aac @ 0x9ea6520] Estimating duration from bitrate, this may be inaccurate
Input #0, aac, from 'http://80.86.106.35:9000/;stream/1':
  Duration: N/A, bitrate: 35 kb/s
    Stream #0:0: Audio: aac, 44100 Hz, stereo, fltp, 35 kb/s
[libmp3lame @ 0x9eb9ac0] Bitrate 160 is extreemly low, did you mean 160k
The bitrate parameter is set too low. It takes bits/s as argument, not
kbits/s
Output #0, rtp, to 'rtp://127.0.0.1:1234/stream4/':
  Metadata:
    encoder         : Lavf54.63.102
    Stream #0:0: Audio: mp3, 44100 Hz, mono, fltp, 0 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (aac -> libmp3lame)
SDP:
v=0
o=- 0 0 IN IP4 127.0.0.1
s=No Name
c=IN IP4 127.0.0.1
t=0 0
a=tool:libavformat 54.63.102
m=audio 1234 RTP/AVP 14
b=AS:0

Press [q] to stop, [?] for help
[aac @ 0x9ea95a0] channel element 2.13 is not allocated
Error while decoding stream #0:0: Operation not permitted


-- 


Thanking you
Kevin
hiddenbrains.com


More information about the ffmpeg-user mailing list