[FFmpeg-devel] Protocol - Simple question!

Georgi Chorbadzhiyski gf
Wed Jan 19 22:48:37 CET 2011


On 1/19/11 10:13 PM, Fernando Pelliccioni wrote:
> I'm doing some tests.
> I am debugging the ffmpeg.exe code using the following arguments.
>
> ffmpeg.exe -vcodec mjpeg -i *.jpg works.flv
>
> Platform: Windows XP (32 bits) with MSVC
>
> Broadly speaking, this is the trace of the functions executed...
>
> ...
> opt_input_file
> av_open_input_file
> url_fopen
> url_open
> url_alloc                               -- set protocol to "file"
> url_connect
> file_open (file.c)
>
> fd = open(filename, access, 0666);   // with filename == "*.jpg"
>                                                       // return ... fd == -1
>
>
> I have a problem with
>
> fd = open(filename, access, 0666);   //with filename == "*.jpg"
>
> because the "open" returns an error when trying to open the file "*. jpg",
> which sounds logical
>
>
> It is right that input as "*. jpg" are handled by the File Protocol (file.c)
> ?

File protocol is used for single files, for multiple images see:

http://ffmpeg.org/faq.html#SEC14

-- 
Georgi Chorbadzhiyski
http://georgi.unixsol.org/



More information about the ffmpeg-devel mailing list