乐视会转换上传视频的长宽比吗?

这个问题有人提了出来。
所以做了这些测试。
结论:应该不会,但是flv自己不认一些比例。
 
详细数据:(乐意点开看的点开看。)

 
root@la2:/home/vnc# mediainfo 235.mp4
General
Complete name : 235.mp4
Format : MPEG-4
Format profile : Base Media
Codec ID : isom
File size : 18.6 MiB
Duration : 1mn 7s
Overall bit rate : 2 303 Kbps
Writing application : Lavf55.43.100
Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.0
Format settings, CABAC : Yes
Format settings, ReFrames : 3 frames
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 1mn 7s
Bit rate : 2 300 Kbps
Width : 1 920 pixels
Height : 878 pixels
Display aspect ratio : 2.2:1
Frame rate mode : Variable
Frame rate : 29.970 fps
Minimum frame rate : 29.970 fps
Maximum frame rate : 1 071.429 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.046
Stream size : 18.6 MiB (100%)
235.mp4,d3496281b9,视频正在转码中,请稍后再试。
root@la2:/home/vnc# mediainfo 254acori.flv
General
Complete name : 254acori.flv
Format : Flash Video
File size : 15.7 MiB
Duration : 1mn 7s
Overall bit rate : 1 948 Kbps
Tagging application : Yet Another Metadata Injector for FLV - Version 1.8
Video
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.0
Format settings, CABAC : Yes
Format settings, ReFrames : 4 frames
Codec ID : 7
Duration : 1mn 7s
Bit rate : 1 899 Kbps
Width : 1 920 pixels
Height : 878 pixels
Display aspect ratio : 2.2:1
Frame rate mode : Constant
Frame rate : 30.000 fps
Original frame rate : 29.970 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.038
Stream size : 15.7 MiB (100%)
Writing library : Provided by x264 :: H.264/MPEG-4 AVC codec -V 1.6.07
Color primaries : BT.709-5, BT.1361, IEC 61966-2-4, SMPTE RP177
Transfer characteristics : BT.709-5, BT.1361
Matrix coefficients : BT.709-5, BT.1361, IEC 61966-2-4 709, SMPTE RP177
{:local=>"235.mp4", :result=>:success, :vu=>"49d2f96f5e"}
 
root@la2:/home/vnc# mediainfo 235.mp4.upload.flv
General
Complete name : 235.mp4.upload.flv
Format : Flash Video
File size : 18.6 MiB
Duration : 2mn 38s
Overall bit rate : 989 Kbps
Writing application : Lavf55.43.100
COMPATIBLE_BRANDS : isomiso2avc1mp41
MINOR_VERSION : 512
MAJOR_BRAND : isom
Video
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.0
Format settings, CABAC : Yes
Format settings, ReFrames : 3 frames
Codec ID : 7
Duration : 2mn 38s
Bit rate : 943 Kbps
Width : 1 920 pixels
Height : 878 pixels
Display aspect ratio : 2.2:1
Frame rate mode : Constant
Frame rate : 30.303 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.018
Stream size : 17.8 MiB (95%)
235.mp4.upload.flv,d68839f308,视频正在转码中,请稍后再试。
root@la2:/home/vnc# mediainfo ac253blackori.flv
General
Complete name : ac253blackori.flv
Format : Flash Video
File size : 18.6 MiB
Duration : 2mn 38s
Overall bit rate : 989 Kbps
Tagging application : Yet Another Metadata Injector for FLV - Version 1.8
Video
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.0
Format settings, CABAC : Yes
Format settings, ReFrames : 3 frames
Codec ID : 7
Duration : 2mn 38s
Bit rate : 965 Kbps
Width : 1 920 pixels
Height : 878 pixels
Display aspect ratio : 2.2:1
Frame rate mode : Constant
Frame rate : 12.898 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.044
Stream size : 18.6 MiB (100%)
 
{:local=>"235.mp4.upload.flv", :result=>:success, :vu=>"5f76199286"}
#Blacker
root@la2:/home/vnc# mediainfo 235biliori.flv
General
Complete name : 235biliori.flv
Format : Flash Video
File size : 18.6 MiB
Duration : 2mn 38s
Overall bit rate : 989 Kbps
Tagging application : Yet Another Metadata Injector for FLV - Version 1.8
Video
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.0
Format settings, CABAC : Yes
Format settings, ReFrames : 3 frames
Codec ID : 7
Duration : 2mn 38s
Bit rate : 965 Kbps
Width : 1 920 pixels
Height : 878 pixels
Display aspect ratio : 2.2:1
Frame rate mode : Constant
Frame rate : 12.898 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.044
Stream size : 18.6 MiB (100%)
 
然而:
 
root@la2:/home/vnc# mediainfo 1440.mp4
General
Complete name : 1440.mp4
Format : MPEG-4
Format profile : Base Media
Codec ID : isom
File size : 6.01 MiB
Duration : 16s 850ms
Overall bit rate : 2 992 Kbps
Writing application : Lavf55.43.100
Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.0
Format settings, CABAC : Yes
Format settings, ReFrames : 2 frames
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 16s 850ms
Bit rate : 2 989 Kbps
Width : 1 440 pixels
Height : 1 080 pixels
Display aspect ratio : 4:3
Frame rate mode : Variable
Frame rate : 29.970 fps
Minimum frame rate : 29.970 fps
Maximum frame rate : 30.120 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.064
Stream size : 6.00 MiB (100%)
1440.mp4,d87d950d51,视频正在转码中,请稍后再试。
{:local=>"1440.mp4", :result=>:success, :vu=>"978b619af1"}
 
root@la2:/home/vnc# mediainfo 1440.mp4.upload.flv
General
Complete name : 1440.mp4.upload.flv
Format : Flash Video
File size : 6.11 MiB
Duration : 51s 916ms
Overall bit rate : 988 Kbps
Writing application : Lavf55.43.100
COMPATIBLE_BRANDS : isomiso2avc1mp41
MINOR_VERSION : 512
MAJOR_BRAND : isom
Video
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.0
Format settings, CABAC : Yes
Format settings, ReFrames : 2 frames
Codec ID : 7
Duration : 51s 916ms
Bit rate : 942 Kbps
Width : 1 440 pixels
Height : 1 080 pixels
Display aspect ratio : 4:3
Frame rate mode : Constant
Frame rate : 30.303 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.020
Stream size : 5.83 MiB (95%)
1440.mp4.upload.flv,0a4966930d,视频正在转码中,请稍后再试。
root@la2:/home/vnc# mediainfo 1440acblackerori.flv
General
Complete name : 1440acblackerori.flv
Format : Flash Video
File size : 6.11 MiB
Duration : 51s 916ms
Overall bit rate : 988 Kbps
Tagging application : Yet Another Metadata Injector for FLV - Version 1.8
Video
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.0
Format settings, CABAC : Yes
Format settings, ReFrames : 2 frames
Codec ID : 7
Duration : 51s 916ms
Bit rate : 964 Kbps
Width : 1 440 pixels
Height : 1 080 pixels
Display aspect ratio : 4:3
Frame rate mode : Constant
Frame rate : 9.830 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.063
Stream size : 6.11 MiB (100%)
{:local=>"1440.mp4.upload.flv", :result=>:success, :vu=>"785e47c57d"}
 

14 thoughts on “乐视会转换上传视频的长宽比吗?

  1. dant

    可以用ffmpeg -i xxxxxxx -aspect 16:9 -s 1440x1080 ... 压出来的视频测试一下。
    结果是本地播放器正常显示16:9,Flash显示为4:3

    Reply
  2. 2222222

    薯片2压是会切边或者拉伸的……尤其是流畅模式(原画模式偶尔会切黑边)。不2压就不会切了。

    Reply
      1. 22

        不过薯片现在那带宽……呵呵呵呵……
        话说北宁,你这blog怎么注册啊?每次都要填一次昵称跟邮件,好麻烦……

        Reply
  3. 板砖加身

    他喵的为什么b站又换解析方式了?而且追踪数据流量发现,对同一段视频,a站和b站的缓冲方式竟然不一样,估计又有大动作

    Reply
    1. Beining Post author

      我觉得这是因为,B站貌似用的是简单的解析地址-播放办法,A站用了letv的狗屎(抱歉,侮辱狗屎了)SDK,造成不大一样吧。
      但是具体。。。这可难说。。。

      Reply

Leave a Reply

Your email address will not be published. Required fields are marked *