[FFmpeg-user] encode to RAW video

Reindl Harald h.reindl at thelounge.net
Mon Oct 24 19:08:07 EEST 2022



Am 24.10.22 um 17:50 schrieb Naveen.B:
>> C:\Naveen\projects\DMS\software\ffmpeg_full\ffmpeg\bin>ffmpeg -f rawvideo
>> -s 1600x1300 -r 30 -i CapturedImage-%03d.raw raw_video.raw
>> CapturedImage-%03d.raw: No such file or directory
> 
> These files are present in the directory, but still its throwing this
> error, No such file or directory

avoid special chars in filenames or escape them properly and in general 
use quotes - PEBCAK (problem exists between chair and keyboard)

https://ss64.com/nt/syntax-esc.html

Escaping Percents

     The % character has a special meaning for command line parameters 
and FOR parameters.
     To treat a percent as a regular character, double it:

     %%

     Many characters such as \ = ( ) do not need to be escaped when they 
are used within a "quoted string" typically these are characters you 
might find in a filename/path. The percent character is one exception to 
this rule, even though under NTFS % is a valid filename character.


More information about the ffmpeg-user mailing list