[rtmpdump] [HELP] Publish flv file

Howard Chu hyc at highlandsun.com
Mon Aug 16 04:19:08 CEST 2010

Mourad TOUMI wrote:
> I tried this method but it forces the encoding and I feel that it
> consumes more resources than necessary, I want to publish several
> streams at once.
> my flv files are encoded in x.264, and I just want publish them without
> encoding.

Learn how to use ffmpeg.
    ffmpeg -vcodec copy -acodec copy

Obviously the ffmpeg librtmp.c source code is a working example, as well.
> thanx
> mourad
> ps : sorry for my poor english :(
> Mourad TOUMI wrote:
>> Hi ALL,
>> i want to use the librmp to publish from local file to RTMP Server
> (RED5 or RTMPD)
>> code example will be welcome :)
>> thanx in advance
> Use ffmpeg built with librtmp.
> ffmpeg -i file.flv rtmp://server/app/streamname

More information about the rtmpdump mailing list