Re: [请问] 请问影片声音格式问题-PCM

楼主: andrew43 (讨厌有好心推文后删文者)   2018-06-04 15:13:34
机器似乎没有正确地把mp4档头写好(不确定)。
利用 ffmpeg 强制指定 audio codec 并且不重新编码转成 mkv:
ffmpeg -c:a pcm_s16le -i input.avi -c:a copy -c:v copy output.mkv
可以成功修复。
方便的话,把这家机器写出来大家避个雷。
※ 引述《kobashi (新世界)》之铭言:
: 小弟日前购入一台行车纪录器
: 但是下载纪录影像档之后 发现无法利用POTPLAYER拨放
: 使用其他的player (KMP, VLC, HPC) 可以播放但是没有声音
: 查了一下 好像是声音的问题
: 利用mediainfo 查了之后如下
: Duration : 5 min 0 s
: Overall bit rate : 899 kb/s
: Video
: ID : 0
: Format : AVC
: Format/Info : Advanced Video Codec
: Format profile : [email protected]
: Format settings : CABAC / 1 Ref Frames
: Format settings, CABAC : Yes
: Format settings, RefFrames : 1 frame
: Format settings, GOP : M=1, N=30
: Codec ID : H264
: Duration : 5 min 0 s
: Bit rate : 766 kb/s
: Width : 1 280 pixels
: Height : 720 pixels
: Display aspect ratio : 16:9
: Frame rate mode : Variable
: Frame rate : 15.000 FPS
: Color space : YUV
: Chroma subsampling : 4:2:0
: Bit depth : 8 bits
: Scan type : Progressive
: Bits/(Pixel*Frame) : 0.055
: Stream size : 27.4 MiB (85%)
: Audio
: ID : 1
: Format : PCM
: Format settings : Little / Signed
: Codec ID : 1
: Duration : 5 min 0 s
: Bit rate mode : Constant
: Bit rate : 128 kb/s
: Channel(s) : 1 channel
: Sampling rate : 8 000 Hz
: Bit depth : 16 bits
: Stream size : 4.59 MiB (14%)
: Alignment : Aligned on interleaves
: Interleave, duration : 50 ms (0.75 video frame)
: 好像有人说跟LAV编码器有关 所以我也下载了LAV Filter
: 安装之后POTPLAYER可以拨放 但是声音还是出不来
: 我把测试档案放在Google Drive上了
: 档案连结如下
: https://drive.google.com/open?id=12576Luxasx_98YYRX9T2X7EO8HU55Xiz
: 请问要如何解决这个问题呢?
: 感谢大家的协助
作者: kobashi (我是个劳工)   2018-06-04 20:39:00
是杂牌的机器 后来使用GOM PLAYER可以拨放了

Links booklink

Contact Us: admin [ a t ] ucptt.com