[FFmpeg-user] Rtmp

jacky renaux.jacky at orange.fr
Tue Dec 6 18:02:19 CET 2011


Hi 
I am using a RED5 server , doing very well
To stream flash files using rtmp protocol
I try to stream live like 
 ffmpeg -f my_file .... rtmp://myserver/myfile.flv
I am getting error such 
RTMP_READPacket, failed to read RTMP packet header

Could any body help me ? 
Does any body already made a live streaming using 
Ffmpeg as encoder and red5 as streamer ?

Is this message generated by ffmpeg ? 
By the server ? 
ffmpeg version N-31031-gf211d9d, Copyright (c) 2000-2011 the FFmpeg
developers
  built on Jun 26 2011 22:50:39 with gcc 4.5.3
  configuration: --enable-gpl --enable-version3 --enable-memalign-hack
--enable-runtime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r
--enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libfreetype
--enable-libgsm --enable-libmp3lame --enable-libopenjpeg --enable-librtmp
--enable-libschroedinger --enable-libspeex --enable-libtheora
--enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs
--enable-libxvid --enable-zlib
  libavutil    51. 10. 0 / 51. 10. 0
  libavcodec   53.  7. 0 / 53.  7. 0
  libavformat  53.  4. 0 / 53.  4. 0
  libavdevice  53.  1. 1 / 53.  1. 1
  libavfilter   2. 24. 0 /  2. 24. 0
  libswscale    2.  0. 0 /  2.  0. 0
  libpostproc  51.  2. 0 / 51.  2. 0
[mpeg @ 01E7B4A0] max_analyze_duration 5000000 reached at 5000000 Input #0,
mpeg, from 'macula1.vob':
  Duration: 00:02:40.08, start: 0.500000, bitrate: 3108 kb/s
    Stream #0.0[0x1e0]: Video: mpeg2video (Main), yuv420p, 720x576 [PAR
16:15 DAR 4:3], 104857 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc
    Stream #0.1[0x1c0]: Audio: mp2, 48000 Hz, stereo, s16, 64 kb/s
RTMP_ReadPacket, failed to read RTMP packet header
rtmp://........./usr/local/red5/webapps/oflaDemo/streams/live/test.flv:
Operation not permitted 

Regards 
Jacky




More information about the ffmpeg-user mailing list