Extracting mp4 from a disk image
I am attempting to extract all available mp4 files from an image of a drive which was created by a Hikvision DVR. If I use ffplay then it will start to play back recorded video, but can't do much with it (I expect about 60 hours of video). There's lots of errors on the console (illegal reordering etc) but it plays. I tried using ffmpeg -err_detect ignore_err -i image.img -c copy output.mp4 but this just generated a large file with many hours of blank h264 1920x1080 video. Is there some way to use ffmpeg to just extract all the video into a new file, or files ? thanks in advance John
2017-05-04 23:30 GMT+02:00 John P <john@evolutiondsl.net>:
I am attempting to extract all available mp4 files from an image of a drive which was created by a Hikvision DVR.
Sounds to me as if you need a diskimage tool first before using FFmpeg, no? Carl Eugen
On Thu, May 4, 2017 at 4:30 PM, John P <john@evolutiondsl.net> wrote:
I am attempting to extract all available mp4 files from an image of a drive which was created by a Hikvision DVR.
You might have better luck using a file carving utility, like photorec and search/recover just MP4 files or mounting the drive image and pulling MP4s out that way. I didn't think FFmpeg could read raw disk images and filesystems?
participants (3)
-
Carl Eugen Hoyos -
John P -
Steve Boyer