视频转码求助 (已解决)

Ma
mazochina
视频转码求助 (已解决)
为什么我用MediaCoder转码,将MKV转成FLV,转完后的文件总是在射手里播不了呢?这样的文件传上视频网也是音画不同步的,不知道毛病出在哪里了。



这是MKV文件
C:\123 (1)-001.mkv
   General
      Complete name : C:\123 (1)-001.mkv
      Format : Matroska
      File size : 100 MiB
      Duration : 7mn 3s
      Overall bit rate : 1 982 Kbps
      Movie name : 真救世主伝説 北斗の拳 ユリア伝
      Encoded date : UTC 2011-05-18 01:17:24
      Writing application : mkvmerge v4.3.0 ('Escape from the Island') 编译于 Sep  5 2010 10:30:51
      Writing library : libebml v1.0.0 + libmatroska v1.0.0
   Video #1
      ID : 1
      Format : AVC
      Format/Info : Advanced Video Codec
      Format profile : Main@L3.0
      Format settings, CABAC : Yes
      Format settings, ReFrames : 1 frame
      Format_Settings_GOP : M=1, N=3
      Muxing mode : Container profile=Unknown@3.0
      Codec ID : V_MPEG4/ISO/AVC
      Duration : 7mn 3s
      Bit rate : 1 561 Kbps
      Width : 864 pixels
      Height : 480 pixels
      Display aspect ratio : 16:9
      Frame rate : 23.976 fps
      Resolution : 8 bits
      Colorimetry : 4:2:0
      Scan type : Progressive
      Bits/(Pixel*Frame) : 0.157
      Stream size : 78.8 MiB (79%)
      Title : 真救世主伝説 北斗の拳 ユリア伝 [864x480_x264]
      Writing library : x264 core 67 r1128M 682b54d
      Encoding settings : cabac=1 / ref=1 / deblock=1:0:0 / analyse=0x1:0x111 / me=hex / subme=6 / psy_rd=1.0:0.0 / mixed_ref=0 / me_range=16 / chroma_me=1 / trellis=0 / 8x8dct=0 / cqm=0 / deadzone=21,11 / chroma_qp_offset=-2 / threads=3 / nr=0 / decimate=1 / mbaff=0 / bframes=0 / keyint=250 / keyint_min=25 / scenecut=40 / rc=2pass / bitrate=1561 / ratetol=1.0 / qcomp=0.60 / qpmin=10 / qpmax=51 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / ip_ratio=1.40 / aq=1:1.00
      Language : Japanese
   Audio #2
      ID : 2
      Format : AC-3
      Format/Info : Audio Coding 3
      Format_Settings_ModeExtension : CM (complete main)
      Codec ID : A_AC3
      Duration : 7mn 3s
      Bit rate mode : Constant
      Bit rate : 384 Kbps
      Channel(s) : 6 channels
      Channel positions : Front: L C R, Side: L R, LFE
      Sampling rate : 48.0 KHz
      Stream size : 19.4 MiB (19%)
      Title : 真救世主伝説 北斗の拳 ユリア伝 [AC3_5.1]
      Language : Japanese



这是FLV文件
C:\123 (1)-001.flv
   General
      Complete name : C:\123 (1)-001.flv
      Format : Flash Video
      File size : 42.4 MiB
      Duration : 7mn 3s
      Overall bit rate : 839 Kbps
      Encoded date : unknown
      Tagged date : UTC 2011-05-18 15:03:26
      Writing application : Lavf52.105.0
      Tagging application : Manitu Group FLV MetaData Injector 2
   Video
      Format : AVC
      Format/Info : Advanced Video Codec
      Format profile : High@L3.0
      Format settings, CABAC : Yes
      Format settings, ReFrames : 2 frames
      Muxing mode : Container profile=Unknown@3.0
      Duration : 7mn 3s
      Bit rate : 773 Kbps
      Nominal bit rate : 768 Kbps
      Width : 864 pixels
      Height : 480 pixels
      Display aspect ratio : 16:9
      Frame rate : 24.000 fps
      Original frame rate : 23.976 fps
      Resolution : 8 bits
      Colorimetry : 4:2:0
      Scan type : Progressive
      Bits/(Pixel*Frame) : 0.078
      Stream size : 39.0 MiB (92%)
      Writing library : x264 core 115 r1995 c1e60b9
      Encoding settings : cabac=1 / ref=2 / deblock=1:0:0 / analyse=0x3:0x113 / me=hex / subme=6 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=3 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=1 / b_pyramid=0 / b_adapt=1 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=25 / scenecut=40 / intra_refresh=0 / rc_lookahead=30 / rc=abr / mbtree=1 / bitrate=768 / ratetol=1.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00
   Audio
      Format : AAC
      Format/Info : Advanced Audio Codec
      Format version : Version 4
      Format profile : LC
      Format settings, SBR : Yes
      Format settings, PS : No
      Duration : 7mn 3s
      Bit rate : 61.7 Kbps
      Channel(s) : 2 channels
      Channel positions : Front: L R
      Sampling rate : 48.0 KHz
      Stream size : 3.35 MiB (8%)
10
10000
Re: 视频转码求助
换格式工厂试试
Ma
mazochina
Re: 视频转码求助
格式工厂转FLV根本没有H264,我就是看着那个特清晰才执著要转那个的。
10
10000
Re: 视频转码求助
MediaCoder很多问题的 兼容性不太好 我这里CUDA加速死活开不了 没优势了
10
10000
Re: 视频转码求助
射手放不了?其他播放器呢?也音画不同步?
10
10000
Re: 视频转码求助
老大试试转完后把flv 再用mkvmerge GUI混流一下,再封装回mkv看是不是能播放和音画同步了
Ma
mazochina
Re: 视频转码求助
MPC系播放器都不行,MPC-HC音画不同步,QQPlayer直接崩溃。KMPlayer正常播放。
因为我是想上传到新浪的,新浪貌似可以不二次转码。总之就是一定要封装为FLV(不然我就用MP4了)。
10
10000
Re: 视频转码求助
直接把拓展名改为flv试试.....
Ma
mazochina
Re: 视频转码求助
我摸索到一个邪门方法,还是用MediaCoder,先转成MP4,然后再把那个MP4再转,容器改为FLV,但视频和音频都直接复制流,然后编码出来的文件就可以顺利播放了。