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

George Andguladze gandguladze at hotmail.com
Tue Dec 12 16:51:57 EET 2017


My bad, forgot to remove that part, I do not actually use -t for the audio, when merging the two files, ffmpeg does the job of correcting the timestamps itself.

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
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

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


More information about the ffmpeg-user mailing list