Hey guys, I had pulled a video clip off of a security camera's DVR.. It is an H.264 DVR and the file contains video only..
I have tried running this through ffplay and I had success and was able to see the video (though the video was fast, it was there)..
Here is a screenshot of it working using ffplay:
https://lh6.googleusercontent.com/-FinULUoQs4Y/Thi3eq3zVhI/AAAAAAAAGB8/9HMmMAM7JN4/s720/video.jpg
I have been using Google to search ways to convert this file and a lot of places say that it should have came with software.. Well the company told me that if there was software, it's long gone.. (idiots >.<)
Anyway, I have some hope that it isn't completely proprietary seeing how I can play the file using ffplay..
I have tried using ffmpeg -i file.264 file.mp4 and it keeps telling me "file.264: Invalid data found when processing input"
Some forums have mentioned that it might be "Raw" .264..
The ideal destination Codec/Container for me would be: x264/mp4
Just sucks when you think the DVR is making clips in the format you want, and you pull of these raw files..
Anyway, thanks in advance for any insight and help you guys can provide!
-DizzyThermal
+ Reply to Thread
Results 1 to 10 of 10
-
Last edited by DizzyThermal; 11th Jul 2011 at 09:13.
-
The file won't even open in VirtualDub 1.9.11 (64 bit).. It says "The file "beach.264" is of an unknown or unsupported file type."
I wasn't sure how to run scripts in VirtualDub, I know you had mentioned running the AviSynth DirectShowSource/Bilinear script.. -
Alright, here is a screenshot of MediaInfo: https://lh4.googleusercontent.com/-LLnNUTY6wfo/ThsCl4a9zLI/AAAAAAAAGEo/FHsPY89sZN0/s512/Untitled.png
-
I called the company and they were able to give me a link to the AVIGenerator.. If anyone is interested in what software made this work, it seems like a pretty basic .exe (The icon is a blue MFC logo).. Let me know if you're interested, and thanks a ton for all the help guys!
-
Hi,
Just in case anyone else stumbles on this thread like I did, you can force ffmpeg to convert these .h264 security camera files like so:
Code:ffmpeg -f h264 -i in.h264 out.mp4
I also found the mpc-hd could play some of the .h264 files, but not all of them, and seek was disabled. -
Wow thanks for this - Had the same problem with ffmpeg - its far too strict and who knows about -f option?
Must have exact same chinese CCTV as you as I get avi files with missing codec metadata and all the ffmpeg errors.
another tip for CCTV is that you can concatinate the cctv files with ffmpeg:
concat demuxer
$ cat mylist.txt
file '/path/to/file1'
file '/path/to/file2'
file '/path/to/file3'
$ ffmpeg -f -safe 0 concat -i mylist.txt -c copy output.avi
Similar Threads
-
.264 file extension. Can't convert using h264 methods.
By firebirdude in forum Video ConversionReplies: 44Last Post: 19th Sep 2016, 08:02 -
Sound and video do not sync up when I convert avi to h.264 x 264.
By toddlava1 in forum ffmpegX general discussionReplies: 1Last Post: 8th Mar 2012, 02:15 -
Any hw accelerated h.264 encoder for windows like Elgato turbo.264 HD
By chicken264 in forum Video ConversionReplies: 3Last Post: 14th Apr 2011, 16:22 -
Empty audio files when converting MPEG2 with h.264 mencoder or h.264 x264
By doctormelodious in forum ffmpegX general discussionReplies: 3Last Post: 4th Jul 2010, 08:12 -
Converting .avi (Xvid) to .mp4 or .mkv (H.264 or x.264) w/ subs
By Tensai in forum Video ConversionReplies: 4Last Post: 18th Jul 2007, 09:25