[FFmpeg-user] Problematic Hikvision video file for conversion ffmpeg

Carl Eugen Hoyos ceffmpeg at gmail.com
Tue Dec 12 16:47:59 EET 2017


2017-12-12 15:17 GMT+01:00 George Andguladze <gandguladze at hotmail.com>:

> I have also posted a question on Stackoverflow and replied with an answer
> describing the steps I took to resolve my specific issue.
> https://stackoverflow.com/questions/47759599/hikvision-nvr-video-conversion-ffmpeg/47771735#47771735

Your explanation looks wrong, using "-t " breaks audio here.

A better option is:
$ ffmpeg -i input -acodec copy -f mulaw out
$ ffmpeg -f mulaw -ar 8k -i out -i input -vcodec copy out.mp4

Carl Eugen


More information about the ffmpeg-user mailing list