[FFmpeg-user] 回复: help

undefined 670292548 at qq.com
Thu Jul 25 17:40:45 CEST 2013

Thank you very much! I've been tested it for a whole day. And I know a little about the formats and codecs. I tried this cmd and it ran well: 
ffmpeg -re -y -i "rtmp://localhost/testFFMpeg/W3FHRHHT live=1" -acodec libvo_aacenc -vcodec libx264 -s 640*360 -f flv "rtmp://localhost/testFFMpeg/W3FHRHHT_360"
What I can't understand is that format flv shouldn't support h264 & AAC. The input live stream, published by OBS, is encoded in h264 & AAC. Why did the log say that it was formatted with flv? Like this:
Input #0, flv, from 'rtmp://localhost/testFFMpeg/W3FHRHHT live=1'.
And the output stream encoded in h264 & AAC but format with flv can play smoothly, and be recorded in a file formatted with mp4 or f4v by AMS5 normally. Does it mean that the live streams which run on AMS5 are in a box of flv, but encoded in h264 & AAC?

Best Regards,

------------------ 原始邮件 ------------------
发件人: "Tom Evans"<tevans.uk at googlemail.com>;
发送时间: 2013年7月25日(星期四) 下午4:59
收件人: "FFmpeg user questions"<ffmpeg-user at ffmpeg.org>; 

主题: Re: [FFmpeg-user] help

On Thu, Jul 25, 2013 at 3:17 AM, undefined <670292548 at qq.com> wrote:
> here's the uncut log:
> C:\Users\CODE-02\ffmpeg>ffmpeg -re -y -i "rtmp://localhost/testFFMpeg/W3FHRHHT live=1" -acodec libvo_aacenc -vcodec libx
> 264 -s 640*360 -f mp4 "rtmp://localhost/testFFMpeg/W3FHRHHT_360"
>> [mp4 @ 0000000004af00a0] muxer does not support non seekable output

mp4 requires a seekable output, since it writes a MOOV atom at the
start of the file once it finishes encoding the file. Therefore, this
is not a suitable format for feeding data to rtmp.


ffmpeg-user mailing list
ffmpeg-user at ffmpeg.org

More information about the ffmpeg-user mailing list