[Libav-user] Challenge... create a black .TS file from NOTHING?

Stefano Sabatini stefasab at gmail.com
Fri May 18 01:18:01 CEST 2012


On date Wednesday 2012-05-16 06:17:37 +0000, Carl Eugen Hoyos encoded:
> Wagner Patriota <wagner.patriota at ...> writes:
> 
> > Is there a way in ffmpeg for me to create a .TS video only with 
> > 1 stream of video H.264 with black frames?
> 
> $ ffmpeg -f rawvideo -pix_fmt rgb24 -s 640x480 -i /dev/zero out.ts
> (This produces mpeg2video, but I am sure you will be able to 
> fill in the output options.)

Alternatively:
ffmpeg -f lavfi -i color=black:WxH:RATE out.ts 


More information about the Libav-user mailing list