How to create a "ffalse lenght" for a video file?
- Inicie sesión ou rexístrese para enviar comentarios
Hey guys.
I want to create an empty file (preferably in MKV format) that has a false header so that if a media player opens it will think this is a 3 hour long file.
Is it possible??
I will have mplayer dumping content into the file but I need the time to already be estabilished.
Thanks
Here's something - https://stackoverflow.com/questions/11453082/how-to-generate-a-2hour-long-blank-video
From the link :
" You can use ffmpeg for this:
ffmpeg -t 7200 -s 640x480 -f rawvideo -pix_fmt rgb24 -r 25 -i /dev/zero empty.mpeg
-t: length of the video
-s: frame size
-f: video format
-pix_fmt: pixel format
-r: fps
-i: input "
Thanks!
I will take a look at that. Had been reading around but didn't find that one.
- Inicie sesión ou rexístrese para enviar comentarios