apache-flex - Flex 可用的 FLV 视频的规范是什么?

标签 apache-flex ffmpeg video-streaming flv

我有一个将 FLV 文件流式传输到 Flex 客户端的服务器。
在这个 flex 客户端中,视频时间线不连贯地前进,屏幕上看不到任何视频(只能听到声音)。

我的 FLV 文件是使用 ffmpeg 生成的,它说(关于这个生成的文件)

FFmpeg version 0.6, Copyright (c) 2000-2010 the FFmpeg developers
  built on Aug  8 2010 04:24:04 with gcc 4.3.2
  configuration: --prefix=/home/marpada/ffmpegfull --enable-gpl --enable-version3 --enable-nonfree --disable-ffplay --disable-ffserver --enable-libmp3lame --enable-libfaac --enable-libvpx --enable-libfaad --enable-libvorbis --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libxvid --enable-libx264 --enable-libtheora --extra-ldflags=-static --extra-libs='-lvorbis -logg -lxvidcore -lx264 -lopencore-amrnb -lopencore-amrwb -lfaad -lfaac -lvpx -ltheora -lm -lpthread' --enable-small --enable-runtime-cpudetect
  libavutil     50.15. 1 / 50.15. 1
  libavcodec    52.72. 2 / 52.72. 2
  libavformat   52.64. 2 / 52.64. 2
  libavdevice   52. 2. 0 / 52. 2. 0
  libswscale     0.11. 0 /  0.11. 0
[flv @ 0x95c6aa0]Estimating duration from bitrate, this may be inaccurate

Seems stream 0 codec frame rate differs from container frame rate: 1000.00 (1000/1) -> 25.00 (25/1)
Input #0, flv, from '/appli/perigee_70ri/data/files/ged_bur%0/Imagettes/70ri/279/2/8/20_109021138o.70ri_FLV_preview_.flv':
  Metadata:
    hasMetadata     : true
    hasVideo        : true
    hasAudio        : true
    duration        : 589
    lasttimestamp   : 589
    lastkeyframetimestamp: 589
    width           : 352
    height          : 288
    videodatarate   : 199
    framerate       : 25
    audiodatarate   : 125
    audiosamplerate : 44100
    audiosamplesize : 16
    stereo          : true
    filesize        : 25058444
    videosize       : 15195503
    audiosize       : 9690850
    datasize        : 23027
    metadatacreator : flvmeta 1.1-r202
    audiocodecid    : 2
    videocodecid    : 2
    audiodelay      : 0
    canSeekToEnd    : false
    hasCuePoints    : false
    hasKeyframes    : true
  Duration: 00:09:48.78, start: 0.000000, bitrate: 332 kb/s
    Stream #0.0: Video: flv, yuv420p, 352x288, 204 kb/s, 25 tbr, 1k tbn, 1k tbc
    Stream #0.1: Audio: mp3, 44100 Hz, 2 channels, s16, 128 kb/s
At least one output file must be specified

在我看来,这是可以的。

此外,视频在 VLC 中播放效果很好.

最佳答案

视频流使用 H.264。

关于apache-flex - Flex 可用的 FLV 视频的规范是什么?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7552509/

相关文章:

asp.net - 使用 HttpHandler 和 IIS 5.1 在 iPhone 上播放 Quicktime 视频

FFMPEG Mpeg-DASH 我们需要哪些属性选项和标志才能使 H264 可播放 .mpd 普遍可播放

apache-flex - 灵活的网络服务客户端

video - rtsp流捕获

ffmpeg:为输出流 0:0 请求的 Streamcopy,它来自一个复杂的过滤器图。过滤和流复制不能一起使用

ffmpeg 连接导致第二个输入文件的输出错误/乱码

ios - 来自 Web 服务器的音频和视频流

apache-flex - 大图片加载问题

actionscript-3 - 获取Adobe AIR Mobile中软键盘的高度

apache-flex - 免费的 Flex IDE