[FFmpeg-user] how to deal with input stream with cook codec?

Amir Jebelli amir.jebelli at gmail.com
Thu Jun 20 15:21:41 CEST 2013


Dear everybody

I use the following command to re stream the audio with cook codec but when
someone request the stream url nothing play. it seems that output stream is
empty:

Executed ffmpeg command:
ffmpeg -re -i rtsp://rmlive.rferl.org/encoder/channel21.rm -acodec copy
http://188.40.73.222:8090/test.ra

config :
# Real with audio only at 32 kbits
<Stream test.ra>
Feed feed1.ffm
Format rm
AudioBitRate 32
NoVideo
#NoAudio
</Stream>


ffserver log :
ffserver version 0.7.6-4:0.7.6-0ubuntu0.11.10.3, Copyright (c) 2000-2011
the Libav developers
  built on Jan 24 2013 19:27:08 with gcc 4.6.1
  configuration: --extra-version='4:0.7.6-0ubuntu0.11.10.3' --arch=amd64
--prefix=/usr --enable-vdpau --enable-bzlib --enable-libgsm
--enable-libschroedinger --enable-libspeex --enable-libtheora
--enable-libvorbis --enable-pthreads --enable-zlib --enable-libvpx
--enable-runtime-cpudetect --enable-vaapi --enable-gpl --enable-postproc
--enable-swscale --enable-x11grab --enable-libdc1394 --enable-shared
--disable-static
  libavutil    51.  7. 0 / 51.  7. 0
  libavcodec   53.  6. 0 / 53.  6. 0
  libavformat  53.  3. 0 / 53.  3. 0
  libavdevice  53.  0. 0 / 53.  0. 0
  libavfilter   2.  4. 0 /  2.  4. 0
  libswscale    2.  0. 0 /  2.  0. 0
  libpostproc  52.  0. 0 / 52.  0. 0
Thu Jun 20 17:04:17 2013 [ffm @ 0xe47b00]Probed with size=2048 and score=101
Thu Jun 20 17:04:17 2013 Deleting feed file '/tmp/feed1.ffm' as stream
counts differ (4 != 6)
Thu Jun 20 17:04:17 2013 FFserver started.
Thu Jun 20 17:04:26 2013 188.40.73.222 - - New connection: POST /test.ra
Thu Jun 20 17:04:26 2013 188.40.73.222 - - [POST] "/test.ra HTTP/1.1" 404
146

I read ffmpeg manuals but I cant find where is my fault. please help

Regards


More information about the ffmpeg-user mailing list