未在 ipad 中播放网络录制的视频
web recorded video not played in ipad
我使用闪存媒体服务器从网络上录制视频。现在使用 flex 默认播放器,我尝试播放视频,但它不会播放 ipad。(ios 设备)
我检查了该视频编解码器,它类似于以下内容:
libxavs --enable-libxvid --enable-decklink --enable-zlib
libavutil 52. 92.100 / 52. 92.100
libavcodec 55. 69.100 / 55. 69.100
libavformat 55. 45.100 / 55. 45.100
libavdevice 55. 13.102 / 55. 13.102
libavfilter 4. 10.100 / 4. 10.100
libswscale 2. 6.100 / 2. 6.100
libswresample 0. 19.100 / 0. 19.100
libpostproc 52. 3.100 / 52. 3.100
[flv @ 0000000002b60220] Stream discovered after head already parsed
Input #0, flv, from 'C:\Users\Administrator\Desktop3654789.flv':
Metadata:
canSeekToEnd : false
createdby : FMS 4.5
creationdate : Tue Jun 30 16:27:22 2015
Duration: 00:00:15.25, start: 0.000000, bitrate: 52 kb/s
Stream #0:0: Video: flv1, yuv420p, 320x227, 1k tbr, 1k tbn, 1k tbc
Stream #0:1: Audio: speex, 16000 Hz, mono, s16, 20 kb/s
Stream #0:2: Data: none
我按照以下方式录制视频:
netstream.publish("FILENAME","record");
谢谢。
编辑:
我得到的另一个 flv 文件在 ios 中播放。但是当我检查它的编解码器时,它类似于以下内容:
r --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab -
-enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx
--enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-
libxavs --enable-libxvid --enable-decklink --enable-zlib
libavutil 52. 92.100 / 52. 92.100
libavcodec 55. 69.100 / 55. 69.100
libavformat 55. 45.100 / 55. 45.100
libavdevice 55. 13.102 / 55. 13.102
libavfilter 4. 10.100 / 4. 10.100
libswscale 2. 6.100 / 2. 6.100
libswresample 0. 19.100 / 0. 19.100
libpostproc 52. 3.100 / 52. 3.100
Input #0, flv, from 'C:\Users\Administrator\Desktop402.flv':
Metadata:
major_brand : 3gp4
minor_version : 0
compatible_brands: isom3gp4
encoder : Lavf55.45.100
Duration: 00:00:13.23, start: 0.000000, bitrate: 304 kb/s
Stream #0:0: Video: flv1, yuv420p, 320x240, 300 kb/s, 15 fps, 15 tbr, 1k tbn
, 1k tbc
Stream #0:1: Audio: mp3, 22050 Hz, mono, s16p, 0 kb/s
怎么样,我可以record/convert flv 像下面这样吗?
iPAD 没有播放您的 FLV 视频是正常现象,因为 iOS 不支持它,正如 Apple here 提到的那样:
iOS supports many industry-standard video formats and compression standards, including the following:
H.264 video, up to 1.5 Mbps, 640 by 480 pixels, 30 frames per second, Low-Complexity version of the H.264 Baseline Profile with AAC-LC audio up to 160 Kbps, 48 kHz, stereo audio in .m4v, .mp4, and .mov file formats
H.264 video, up to 768 Kbps, 320 by 240 pixels, 30 frames per second, Baseline Profile up to Level 1.3 with AAC-LC audio up to 160 Kbps, 48 kHz, stereo audio in .m4v, .mp4, and .mov file formats
MPEG-4 video, up to 2.5 Mbps, 640 by 480 pixels, 30 frames per second, Simple Profile with AAC-LC audio up to 160 Kbps, 48 kHz, stereo audio in .m4v, .mp4, and .mov file formats
希望能帮到你。
您应该在 Flash Media Server 上将其转码为 H.264 mp4 流并将该流提供给您的 flex 应用程序。如果您通过 Adobe Live Video Encoder 录制视频,则可以选择设置输出格式。几年前我做过。
我使用闪存媒体服务器从网络上录制视频。现在使用 flex 默认播放器,我尝试播放视频,但它不会播放 ipad。(ios 设备)
我检查了该视频编解码器,它类似于以下内容:
libxavs --enable-libxvid --enable-decklink --enable-zlib
libavutil 52. 92.100 / 52. 92.100
libavcodec 55. 69.100 / 55. 69.100
libavformat 55. 45.100 / 55. 45.100
libavdevice 55. 13.102 / 55. 13.102
libavfilter 4. 10.100 / 4. 10.100
libswscale 2. 6.100 / 2. 6.100
libswresample 0. 19.100 / 0. 19.100
libpostproc 52. 3.100 / 52. 3.100
[flv @ 0000000002b60220] Stream discovered after head already parsed
Input #0, flv, from 'C:\Users\Administrator\Desktop3654789.flv':
Metadata:
canSeekToEnd : false
createdby : FMS 4.5
creationdate : Tue Jun 30 16:27:22 2015
Duration: 00:00:15.25, start: 0.000000, bitrate: 52 kb/s
Stream #0:0: Video: flv1, yuv420p, 320x227, 1k tbr, 1k tbn, 1k tbc
Stream #0:1: Audio: speex, 16000 Hz, mono, s16, 20 kb/s
Stream #0:2: Data: none
我按照以下方式录制视频:
netstream.publish("FILENAME","record");
谢谢。
编辑:
我得到的另一个 flv 文件在 ios 中播放。但是当我检查它的编解码器时,它类似于以下内容:
r --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab -
-enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx
--enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-
libxavs --enable-libxvid --enable-decklink --enable-zlib
libavutil 52. 92.100 / 52. 92.100
libavcodec 55. 69.100 / 55. 69.100
libavformat 55. 45.100 / 55. 45.100
libavdevice 55. 13.102 / 55. 13.102
libavfilter 4. 10.100 / 4. 10.100
libswscale 2. 6.100 / 2. 6.100
libswresample 0. 19.100 / 0. 19.100
libpostproc 52. 3.100 / 52. 3.100
Input #0, flv, from 'C:\Users\Administrator\Desktop402.flv':
Metadata:
major_brand : 3gp4
minor_version : 0
compatible_brands: isom3gp4
encoder : Lavf55.45.100
Duration: 00:00:13.23, start: 0.000000, bitrate: 304 kb/s
Stream #0:0: Video: flv1, yuv420p, 320x240, 300 kb/s, 15 fps, 15 tbr, 1k tbn
, 1k tbc
Stream #0:1: Audio: mp3, 22050 Hz, mono, s16p, 0 kb/s
怎么样,我可以record/convert flv 像下面这样吗?
iPAD 没有播放您的 FLV 视频是正常现象,因为 iOS 不支持它,正如 Apple here 提到的那样:
iOS supports many industry-standard video formats and compression standards, including the following:
H.264 video, up to 1.5 Mbps, 640 by 480 pixels, 30 frames per second, Low-Complexity version of the H.264 Baseline Profile with AAC-LC audio up to 160 Kbps, 48 kHz, stereo audio in .m4v, .mp4, and .mov file formats
H.264 video, up to 768 Kbps, 320 by 240 pixels, 30 frames per second, Baseline Profile up to Level 1.3 with AAC-LC audio up to 160 Kbps, 48 kHz, stereo audio in .m4v, .mp4, and .mov file formats
MPEG-4 video, up to 2.5 Mbps, 640 by 480 pixels, 30 frames per second, Simple Profile with AAC-LC audio up to 160 Kbps, 48 kHz, stereo audio in .m4v, .mp4, and .mov file formats
希望能帮到你。
您应该在 Flash Media Server 上将其转码为 H.264 mp4 流并将该流提供给您的 flex 应用程序。如果您通过 Adobe Live Video Encoder 录制视频,则可以选择设置输出格式。几年前我做过。