Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#3620 closed enhancement (wontfix)

-pattern_type glob -i '*' fails with " *: No such file or directory"

Reported by: dE_logics Owned by:
Priority: normal Component: undetermined
Version: unspecified Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

I'm trying to get input of all files (mix of jpg and png images) with
the following --

-pattern_type glob -i '*'

However I get --

*: No such file or directory

Change History (10)

comment:1 by Carl Eugen Hoyos, 10 years ago

To make this a valid ticket, please provide your failing command line together with the complete, uncut console output.

I have never used glob, is "*" a valid pattern with the usual meaning?

comment:2 by dE_logics, 10 years ago

ffmpeg -r 1/3 -pattern_type glob -i \* -q 0 -target pal-dvd picture_movie.vob
ffmpeg version 1.2.6 Copyright (c) 2000-2014 the FFmpeg developers

built on Mar 14 2014 10:54:21 with gcc 4.8.2 (Gentoo 4.8.2 p1.3r1, pie-0.5.8r1)
configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --mandir=/usr/share/man --enable-shared --cc=x86_64-pc-linux-gnu-gcc --cxx=x86_64-pc-linux-gnu-g++ --ar=x86_64-pc-linux-gnu-ar --optflags='-mtune=generic -O0 -pipe -ggdb' --extra-cflags='-mtune=generic -O0 -pipe -ggdb' --extra-cxxflags='-mtune=generic -O0 -pipe -ggdb' --disable-static --enable-gpl --enable-postproc --enable-avfilter --enable-avresample --disable-stripping --enable-version3 --enable-nonfree --disable-indev=oss --disable-indev=jack --disable-outdev=oss --enable-version3 --enable-bzlib --disable-runtime-cpudetect --enable-debug --disable-doc --disable-gnutls --enable-hardcoded-tables --enable-iconv --enable-network --disable-openssl --enable-ffplay --enable-vaapi --disable-vdpau --enable-zlib --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libmp3lame --disable-libfdk-aac --enable-libaacplus --disable-libfaac --enable-libtheora --enable-libtwolame --enable-libx264 --enable-libxvid --disable-libcdio --disable-libiec61 libavutil 52. 18.100 / 52. 18.100
libavcodec 54. 92.100 / 54. 92.100
libavformat 54. 63.104 / 54. 63.104
libavdevice 54. 3.103 / 54. 3.103
libavfilter 3. 42.103 / 3. 42.103
libswscale 2. 2.100 / 2. 2.100
libswresample 0. 17.102 / 0. 17.102
libpostproc 52. 2.100 / 52. 2.100

*: No such file or directory

comment:3 by dE_logics, 10 years ago

'*' is a valid glob.

in reply to:  2 comment:4 by Carl Eugen Hoyos, 10 years ago

Replying to dE_logics:

ffmpeg version 1.2.6

This looks quite outdated, is the problem also reproducible with current FFmpeg git head?

comment:5 by dE_logics, 10 years ago

ffmpeg -r 1/3 -pattern_type glob -i \* -q 0 -target ntsc-dvd picture_movie.vob
ffmpeg version N-63020-g134206c Copyright (c) 2000-2014 the FFmpeg developers

built on May 7 2014 13:57:50 with gcc 4.8.2 (Gentoo 4.8.2 p1.3r1, pie-0.5.8r1)
configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --mandir=/usr/share/man --enable-shared --cc=x86_64-pc-linux-gnu-gcc --cxx=x86_64-pc-linux-gnu-g++ --ar=x86_64-pc-linux-gnu-ar --optflags='-march=native -O2 -fomit-frame-pointer -pipe' --extra-cflags='-march=native -O2 -fomit-frame-pointer -pipe' --extra-cxxflags='-march=native -O2 -fomit-frame-pointer -pipe' --disable-static --enable-gpl --enable-postproc --enable-avfilter --enable-avresample --disable-stripping --enable-version3 --enable-nonfree --disable-indev=oss --disable-indev=jack --disable-outdev=oss --enable-version3 --enable-bzlib --disable-runtime-cpudetect --disable-debug --disable-doc --disable-gnutls --enable-hardcoded-tables --enable-iconv --enable-network --disable-openssl --enable-ffplay --enable-vaapi --disable-vdpau --enable-xlib --enable-zlib --enable-libvo-aacenc --disable-libvo-amrwbenc --enable-libmp3lame --enable-libaacplus --disable-libfaac --enable-libtheora --enable-libtwolame --enable-libwavpack --disable-libwebp --enable-libx264 --disable-libx265 --enable-libxvid --disable-libcdio --disable-libiec61883 --disable-libdc1394 --disable-libcaca --enable-openal --enable-opengl --disable-libv4l2 --disable-libpulse --enable-x11grab --disable-libflite --disable-frei0r --disable-fontconfig --enable-ladspa --disable-libass --enable-libfreetype --disable-libsoxr --enable-pthreads --enable-libopencore-amrwb --enable-libopencore-amrnb --disable-libfdk-aac --enable-libopenjpeg --disable-libbluray --disable-libcelt --disable-libgme --enable-libgsm --disable-libmodplug --disable-libopus --disable-libquvi --disable-librtmp --disable-libssh --enable-libschroedinger --enable-libspeex --enable-libvorbis --enable-libvpx --disable-libzvbi --disable-armv5te --disable-armv6 --disable-armv6t2 --disable-neon --disable-vfp --disable-mips32r2 --disable-mipsdspr1 --disable-mipsdspr2 --disable-mipsfpu --disable-altivec --disable-amd3dnow --disable-amd3dnowext --disable-avx --disable-avx2 --disable-fma3 --disable-fma4 --disable-sse42 --cpu=host
libavutil 52. 81.100 / 52. 81.100
libavcodec 55. 60.103 / 55. 60.103
libavformat 55. 37.102 / 55. 37.102
libavdevice 55. 13.101 / 55. 13.101
libavfilter 4. 5.100 / 4. 5.100
libavresample 1. 2. 0 / 1. 2. 0
libswscale 2. 6.100 / 2. 6.100
libswresample 0. 18.100 / 0. 18.100
libpostproc 52. 3.100 / 52. 3.100

*: No such file or directory

in reply to:  description ; comment:6 by Carl Eugen Hoyos, 10 years ago

Replying to dE_logics:

I'm trying to get input of all files (mix of jpg and png images)

This cannot (currently) work:
Changing codecs in a stream is not supported.

Generally, in your command line * does not indicate a demuxer (but glob only works for the image2 demuxer), so you have to specify it with -f image2. If you don't provide a suffix on the command line, the image2 demuxer doesn't know which codec to use (there is no image codec autodetection), so for * you have to specify the codec with something like -vcodec targa.

comment:7 by dE_logics, 10 years ago

Resolution: wontfix
Status: newclosed

comment:8 by dE_logics, 10 years ago

Type: defectenhancement

comment:9 by dE_logics, 10 years ago

Thanks for clarifying.

in reply to:  6 comment:10 by Carl Eugen Hoyos, 10 years ago

Replying to cehoyos:

If you don't provide a suffix on the command line, the image2 demuxer doesn't know which codec to use (there is no image codec autodetection), so for * you have to specify the codec with something like -vcodec targa.

Autodetection of image file codecs was implemented, it unfortunately does not work for jpeg.

Changing codecs in a stream is still not supported, see ticket #3661 or #655.

Last edited 10 years ago by Carl Eugen Hoyos (previous) (diff)
Note: See TracTickets for help on using tickets.