joejoe 发表于 2013-10-8 18:29:39

FFMPEG转H264 不流畅怎么解决呢

为什么我用Adobe Media Encoder转出来的H264非常流畅。。导入一些视频软件 例如AE里面   拖动起来非常流畅

但是我试了用FFMPEG转 BASELINE的怎么弄 都感觉是卡的




joejoe 发表于 2013-10-8 18:32:28

我用ffprobe 打印了视频信息   你帮忙看看。。。 谢谢


<?xml version="1.0" encoding="UTF-8"?>
<ffprobe>
    <streams>
      <stream index="0" codec_name="h264" codec_long_name="H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10" profile="Main" codec_type="video" codec_time_base="1/120" codec_tag_string="avc1" codec_tag="0x31637661" width="1080" height="608" has_b_frames="0" sample_aspect_ratio="1:1" display_aspect_ratio="135:76" pix_fmt="yuv420p" level="40" r_frame_rate="60/1" avg_frame_rate="60/1" time_base="1/60" start_pts="0" start_time="0.000000" duration_ts="600" duration="10.000000" bit_rate="64010925" nb_frames="600">
            <disposition default="1" dub="0" original="0" comment="0" lyrics="0" karaoke="0" forced="0" hearing_impaired="0" visual_impaired="0" clean_effects="0" attached_pic="0"/>
            <tag key="creation_time" value="2013-06-14 19:23:42"/>
            <tag key="language" value="eng"/>
            <tag key="handler_name" value="Apple 替身数据处理程序"/>
            <tag key="timecode" value="00:00:00:00"/>
      </stream>
      <stream index="1" codec_type="data" codec_time_base="1/60" codec_tag_string="tmcd" codec_tag="0x64636d74" r_frame_rate="0/0" avg_frame_rate="0/0" time_base="1/60" start_pts="0" start_time="0.000000" duration_ts="600" duration="10.000000" bit_rate="3" nb_frames="1">
            <disposition default="1" dub="0" original="0" comment="0" lyrics="0" karaoke="0" forced="0" hearing_impaired="0" visual_impaired="0" clean_effects="0" attached_pic="0"/>
            <tag key="creation_time" value="2013-06-14 19:24:49"/>
            <tag key="language" value="eng"/>
            <tag key="handler_name" value="Apple 替身数据处理程序"/>
            <tag key="timecode" value="00:00:00:00"/>
      </stream>
    </streams>
</ffprobe>

joejoe 发表于 2013-10-8 18:41:11

继续上个对比图片。。。。。
怎么用FFMPEG 转成第一个图片的编码呢?

T-Bagwell 发表于 2013-10-8 19:24:07

ffmpeg -i /Users/StevenLiu/Movies/yedian.avi -vcodec libx264 -vprofile main -vlevel 3.1 -b:v 1280k -vf fps=fps=60 -map 0:0 -t 60 -movflags faststart -f mov a.mov这样试试

joejoe 发表于 2013-10-8 19:25:21

谢谢。。。。T-Bagwell。。。

宁静致远 发表于 2013-10-15 20:43:26

joejoe 发表于 2013-10-8 19:25
谢谢。。。。T-Bagwell。。。

搞定没?
页: [1]
查看完整版本: FFMPEG转H264 不流畅怎么解决呢