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