设为首页收藏本站

ZMX - IT技术交流论坛 - 无限Perfect,追求梦想 - itzmx.com

 找回密码
 注册论坛

QQ登录

只需一步,快速开始

新浪微博账号登陆

只需一步,快速开始

用百度帐号登录

只需两步,快速登录

搜索
查看: 97|回复: 2

ffmpeg声音画面不同步报错分析,日本ts录制音频视频文件修复

[复制链接]
 成长值: 25095

签到天数: 3066 天

[LV.Master]伴坛终老

发表于 2020/4/30 07:58 | 显示全部楼层 |阅读模式 |Google Chrome 81.0.4044.129|Windows 10
天涯海角搜一下: 百度 谷歌 360 搜狗 有道 雅虎 必应 即刻
日志报错如下,修复方法等待补充

分析,其中一有段时间损坏报错,播放过程会产生卡顿暂停情况,此时播放器→一下就好了,转码后输出声音画面不同步和这个有关系


>> 编码开始时间: 2020/4/30 7:56:54

* 输入文件名: EastMovie.In.The.Name.Of.The.Shooting.Star.2008.HDTV.1080i.H264-CZW.ts

[h264 @ 0000021f6ba539c0] SPS unavailable in decode_picture_timing
[h264 @ 0000021f6ba539c0] non-existing PPS 0 referenced
[h264 @ 0000021f6ba539c0] SPS unavailable in decode_picture_timing
[h264 @ 0000021f6ba539c0] non-existing PPS 0 referenced
[h264 @ 0000021f6ba539c0] decode_slice_header error
[h264 @ 0000021f6ba539c0] no frame!
[h264 @ 0000021f6ba539c0] SPS unavailable in decode_picture_timing
[h264 @ 0000021f6ba539c0] non-existing PPS 0 referenced
[h264 @ 0000021f6ba539c0] SPS unavailable in decode_picture_timing
[h264 @ 0000021f6ba539c0] non-existing PPS 0 referenced
[h264 @ 0000021f6ba539c0] decode_slice_header error
[h264 @ 0000021f6ba539c0] no frame!
[mpegts @ 0000021f6ba2bc00] Invalid timestamps stream=0, pts=377996400, dts=378000000, size=1471
[h264 @ 0000021f6ba539c0] SPS unavailable in decode_picture_timing
[h264 @ 0000021f6ba539c0] non-existing PPS 0 referenced
[h264 @ 0000021f6ba539c0] SPS unavailable in decode_picture_timing
[h264 @ 0000021f6ba539c0] non-existing PPS 0 referenced
[h264 @ 0000021f6ba539c0] decode_slice_header error
[h264 @ 0000021f6ba539c0] no frame!
[mpegts @ 0000021f6ba2bc00] Invalid timestamps stream=0, pts=378000000, dts=378003600, size=1507
[h264 @ 0000021f6ba539c0] SPS unavailable in decode_picture_timing
[h264 @ 0000021f6ba539c0] non-existing PPS 0 referenced
[h264 @ 0000021f6ba539c0] SPS unavailable in decode_picture_timing
[h264 @ 0000021f6ba539c0] non-existing PPS 0 referenced
[h264 @ 0000021f6ba539c0] decode_slice_header error
[h264 @ 0000021f6ba539c0] no frame!
[h264 @ 0000021f6ba539c0] SPS unavailable in decode_picture_timing
[h264 @ 0000021f6ba539c0] non-existing PPS 0 referenced
[h264 @ 0000021f6ba539c0] SPS unavailable in decode_picture_timing
[h264 @ 0000021f6ba539c0] non-existing PPS 0 referenced
[h264 @ 0000021f6ba539c0] decode_slice_header error
[h264 @ 0000021f6ba539c0] no frame!
[h264 @ 0000021f6ba539c0] SPS unavailable in decode_picture_timing
[h264 @ 0000021f6ba539c0] non-existing PPS 0 referenced
[h264 @ 0000021f6ba539c0] SPS unavailable in decode_picture_timing
[h264 @ 0000021f6ba539c0] non-existing PPS 0 referenced
[h264 @ 0000021f6ba539c0] SPS unavailable in decode_picture_timing
[h264 @ 0000021f6ba539c0] non-existing PPS 0 referenced
[h264 @ 0000021f6ba539c0] decode_slice_header error
[h264 @ 0000021f6ba539c0] no frame!
[h264 @ 0000021f6ba539c0] SPS unavailable in decode_picture_timing
[h264 @ 0000021f6ba539c0] non-existing PPS 0 referenced
[h264 @ 0000021f6ba539c0] decode_slice_header error
[h264 @ 0000021f6ba539c0] no frame!
[mpegts @ 0000021f6ba2bc00] Invalid timestamps stream=0, pts=378021600, dts=378025200, size=15544
[h264 @ 0000021f6ba539c0] Increasing reorder buffer to 2
[mpegts @ 0000021f6ba2bc00] Invalid timestamps stream=0, pts=378032400, dts=378036000, size=21681
[mpegts @ 0000021f6ba2bc00] Invalid timestamps stream=0, pts=378057600, dts=378061200, size=18069
[mpegts @ 0000021f6ba2bc00] Invalid timestamps stream=0, pts=378075600, dts=378079200, size=10206
[mpegts @ 0000021f6ba2bc00] Invalid timestamps stream=0, pts=378079200, dts=378082800, size=10657
[mpegts @ 0000021f6ba2bc00] Invalid timestamps stream=0, pts=378097200, dts=378100800, size=6797
[mpegts @ 0000021f6ba2bc00] Invalid timestamps stream=0, pts=378100800, dts=378104400, size=10949
[mpegts @ 0000021f6ba2bc00] Invalid timestamps stream=0, pts=378115200, dts=378118800, size=9643
[mpegts @ 0000021f6ba2bc00] Invalid timestamps stream=0, pts=378118800, dts=378122400, size=9741
[mpegts @ 0000021f6ba2bc00] Invalid timestamps stream=0, pts=378136800, dts=378140400, size=7732
[mpegts @ 0000021f6ba2bc00] Invalid timestamps stream=0, pts=378140400, dts=378144000, size=7905
[mpegts @ 0000021f6ba2bc00] Invalid timestamps stream=0, pts=378154800, dts=378158400, size=8477
[mpegts @ 0000021f6ba2bc00] Invalid timestamps stream=0, pts=378158400, dts=378162000, size=4098
[mpegts @ 0000021f6ba2bc00] Invalid timestamps stream=0, pts=378169200, dts=378172800, size=6037
[mpegts @ 0000021f6ba2bc00] Invalid timestamps stream=0, pts=378187200, dts=378190800, size=6783
[mpegts @ 0000021f6ba2bc00] Invalid timestamps stream=0, pts=378190800, dts=378194400, size=6226
[mpegts @ 0000021f6ba2bc00] Invalid timestamps stream=0, pts=378208800, dts=378212400, size=4115
[mpegts @ 0000021f6ba2bc00] Invalid timestamps stream=0, pts=378212400, dts=378216000, size=4296
[mpegts @ 0000021f6ba2bc00] Invalid timestamps stream=0, pts=378230400, dts=378234000, size=4715
[mpegts @ 0000021f6ba2bc00] Invalid timestamps stream=0, pts=378234000, dts=378237600, size=7077
[mpegts @ 0000021f6ba2bc00] Invalid timestamps stream=0, pts=378252000, dts=378255600, size=5968
[mpegts @ 0000021f6ba2bc00] Invalid timestamps stream=0, pts=378255600, dts=378259200, size=5479
[mpegts @ 0000021f6ba2bc00] Invalid timestamps stream=0, pts=378273600, dts=378277200, size=7228
[mpegts @ 0000021f6ba2bc00] Invalid timestamps stream=0, pts=378277200, dts=378280800, size=4257
[mpegts @ 0000021f6ba2bc00] Invalid timestamps stream=0, pts=378295200, dts=378298800, size=5210
[mpegts @ 0000021f6ba2bc00] Invalid timestamps stream=0, pts=378298800, dts=378302400, size=4420
[mpegts @ 0000021f6ba2bc00] Invalid timestamps stream=0, pts=378316800, dts=378320400, size=7585
[mpegts @ 0000021f6ba2bc00] Invalid timestamps stream=0, pts=378320400, dts=378324000, size=10557
[mpegts @ 0000021f6ba2bc00] Invalid timestamps stream=0, pts=378338400, dts=378342000, size=3973
[mpegts @ 0000021f6ba2bc00] Invalid timestamps stream=0, pts=378352800, dts=378356400, size=4220
[mpegts @ 0000021f6ba2bc00] Invalid timestamps stream=0, pts=378356400, dts=378360000, size=4375
[mpegts @ 0000021f6ba2bc00] Invalid timestamps stream=0, pts=378367200, dts=378370800, size=7846
[mpegts @ 0000021f6ba2bc00] Invalid timestamps stream=0, pts=378370800, dts=378374400, size=10608
[mpegts @ 0000021f6ba2bc00] Invalid timestamps stream=0, pts=378388800, dts=378392400, size=4404
[mpegts @ 0000021f6ba2bc00] Invalid timestamps stream=0, pts=378392400, dts=378396000, size=4560
[mpegts @ 0000021f6ba2bc00] Invalid timestamps stream=0, pts=378410400, dts=378414000, size=6898
[mpegts @ 0000021f6ba2bc00] Invalid timestamps stream=0, pts=378414000, dts=378417600, size=8845
[mpegts @ 0000021f6ba2bc00] Invalid timestamps stream=0, pts=378432000, dts=378435600, size=3962
[mpegts @ 0000021f6ba2bc00] Invalid timestamps stream=0, pts=378435600, dts=378439200, size=4253
[mpegts @ 0000021f6ba2bc00] Invalid timestamps stream=0, pts=378453600, dts=378457200, size=4150
Only '-vf scale=640:360:flags=bicubic,pad=640:360:0:0,setsar=1/1' read, ignoring remaining -vf options: Use ',' to separate filters
Only '-af aresample=48000:resampler=soxr' read, ignoring remaining -af options: Use ',' to separate filters
Stream mapping:
  Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
  Stream #0:1 -> #0:1 (mp2 (native) -> aac (libfdk_aac))
[mpegts @ 0000021f6ba2bc00] Invalid timestamps stream=0, pts=377996400, dts=378000000, size=1471
[mpegts @ 0000021f6ba2bc00] Invalid timestamps stream=0, pts=378000000, dts=378003600, size=1507
[mpegts @ 0000021f6ba2bc00] Invalid timestamps stream=0, pts=378021600, dts=378025200, size=15544
[mpegts @ 0000021f6ba2bc00] Invalid timestamps stream=0, pts=378032400, dts=378036000, size=21681
[mpegts @ 0000021f6ba2bc00] Invalid timestamps stream=0, pts=378057600, dts=378061200, size=18069
[mpegts @ 0000021f6ba2bc00] Invalid timestamps stream=0, pts=378075600, dts=378079200, size=10206
[libx264 @ 0000021f6c930540] using SAR=1/1
[libx264 @ 0000021f6c930540] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
[libx264 @ 0000021f6c930540] profile Progressive High, level 3.0, 4:2:0, 8-bit
[libx264 @ 0000021f6c930540] 264 - core 157 r2969 d4099dd - H.264/MPEG-4 AVC codec - Copyleft 2003-2019 - http://www.videolan.org/x264.html - options: cabac=1 ref=1 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=2 psy=0 mixed_ref=0 me_range=16 chroma_me=1 trellis=0 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=0 threads=11 lookahead_threads=2 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=1 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=10 rc=crf mbtree=1 crf=21.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=2:1.00
    Side data:
      cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: N/A
[mpegts @ 0000021f6ba2bc00] Invalid timestamps stream=0, pts=378079200, dts=378082800, size=10657
[mpegts @ 0000021f6ba2bc00] Invalid timestamps stream=0, pts=378097200, dts=378100800, size=6797
[mpegts @ 0000021f6ba2bc00] Invalid timestamps stream=0, pts=378100800, dts=378104400, size=10949
………………………………
number of reference frames (0+5) exceeds max (4; probably corrupt input), discarding one
[发帖际遇]: 小樱 在网吧通宵,花了 6 樱币. 幸运榜 / 衰神榜
欢迎光临IT技术交流论坛:http://bbs.itzmx.com/
回复

使用道具 举报

签到天数: 2487 天

[LV.Master]伴坛终老

发表于 2020/4/30 19:59 | 显示全部楼层 |Firefox 70.0|Windows 10
看起来很不错哦,收藏之~~~
谢谢LZ啦!!!
欢迎光临IT技术交流论坛:http://bbs.itzmx.com/
回复 支持 反对

使用道具 举报

签到天数: 694 天

[LV.9]以坛为家II

发表于 2020/4/30 23:48 | 显示全部楼层 |Google Chrome 81.0.4044.129|Windows 10
欢迎光临IT技术交流论坛:http://bbs.itzmx.com/
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册论坛 新浪微博账号登陆用百度帐号登录

本版积分规则

手机版|Archiver|Mail me|网站地图|IT技术交流论坛 ( 闽ICP备13013206号-7 )

GMT+8, 2020/5/26 07:43 , Processed in 0.167658 second(s), 31 queries , Gzip On, MemCache On.

Powered by itzmx! X3.4

© 2011- sakura

快速回复 返回顶部 返回列表