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

George Andguladze gandguladze at hotmail.com
Tue Dec 12 16:52:55 EET 2017

I do use the -t option for the video though.

George A.

-----Original Message-----
From: ffmpeg-user [mailto:ffmpeg-user-bounces at ffmpeg.org] On Behalf Of Carl Eugen Hoyos
Sent: Tuesday, December 12, 2017 6:48 PM
To: FFmpeg user questions <ffmpeg-user at ffmpeg.org>
Subject: Re: [FFmpeg-user] Problematic Hikvision video file for conversion ffmpeg

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-conve
> rsion-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
ffmpeg-user mailing list
ffmpeg-user at ffmpeg.org

To unsubscribe, visit link above, or email ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".

More information about the ffmpeg-user mailing list