Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 121548

Summary: ffmpeg fails to open files with a single word followed by a colon (followed by more words)
Product: Gentoo Linux Reporter: Gerry <trick>
Component: Current packagesAssignee: Gentoo Media-video project <media-video>
Status: RESOLVED UPSTREAM    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Gerry 2006-02-04 06:43:28 UTC
I'm converting some old Public Domain cartoons from archive.org's collection to PAL DVD format for a friend, using ffmpeg.  A couple of these files have a colon in their title, such as these two:

"Merrie Melodies: Falling Hare (1943).mpeg"
"Noveltoon: Casper The Friendly Ghost in There's Good Boos Tonight (1948).mpeg"

The first one works fine when giving it to ffmpeg (ffmpeg -i "Merrie Melodies: Falling Hare (1943).mpeg" ..).  The second one, however, fails with a "Could not open" message.  Renaming the file to either not contain a colon, or have a space before the colon, makes it work, so there's nothing wrong with the file.  Maybe the single word + colon makes ffmpeg thinks the filename is an url of some kind ?

This is using ffmpeg 0.4.9_p20051216 (latest available in portage).
--- 8< ---
ffmpeg version CVS, build 3342336, Copyright (c) 2000-2004 Fabrice Bellard
  configuration:  --prefix=/usr --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --build=x86_64-pc-linux-gnu --enable-shared-pp --enable-shared --disable-static --enable-mmx --disable-altivec --disable-debug --enable-mp3lame --enable-a52 --disable-a52bin --enable-audio-oss --disable-v4l --enable-dv1394 --enable-dc1394 --enable-pthreads --enable-xvid --enable-libogg --enable-vorbis --enable-theora --disable-dts --disable-network --enable-zlib --enable-ffplay --enable-faad --enable-faac --disable-faadbin --enable-gpl --enable-pp --disable-opts
  built on Jan 20 2006 00:07:35, gcc: 3.4.3 20041125 (Gentoo 3.4.3-r1, ssp-3.4.3-0, pie-8.7.7)
--- 8< ---

emerge --info:
--- 8< ---
Portage 2.0.54 (default-linux/amd64/2006.0, gcc-3.4.4, glibc-2.3.5-r2, 2.6.15-gentoo-r1 x86_64)
=================================================================
System uname: 2.6.15-gentoo-r1 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4200+
Gentoo Base System version 1.6.14
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.11
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib64/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=k8 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="ftp://trumpetti.atm.tut.fi/gentoo/ http://mirror.gentoo.no/"
LANG="nb_NO"
LC_ALL="nb_NO"
LINGUAS="nb no en"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="amd64 16bit 7zip S3TC X Xaw3d a52 aac aalib acl acpi alsa apache2 applet asf audiofile avi bash-completion berkdb bitmap-fonts browserplugin bzip2 cairo ccache cdparanoia cdr crypt css cups curl dbus dga dvd dvdr dvdread eds elf emboss encode exif expat fam fame fat ffmpeg flac flash foomaticdb fortran ftp gcj gd gdb gif gimp glitz glut glx gnome gpm graphviz gstreamer gtk gtk2 gtkhtml gzip h323 hal i8x0 idn ieee1394 imagemagick imap imlib imlib2 intl ipv6 jabber jack jack-tmpfs java javascript jpeg kde kdeenablefinal kqemu lame lcms linguas_nb logitech-mouse lua lzo lzw lzw-tiff mad matroska md5sum mikmod ming mjpeg mmap mng mod modplug mozilla mp3 mp4live mpeg mpeg2 mplayer music musicbrainz ncurses nforce2 nls nptl nsplugin ntfs nvidia nvram objc ocaml ogg oggvorbis openal opengl openssh openssl oss pam pcre pdflib perl physfs png pnp posix povray python qemu-fast qt quicktime rar readline real samba scanner sdk sdl sharedext sharedmem sid smp sms speex spell sse-filters ssl stencil-buffer subtitles subversion svg sysfs tcpd tga theora thesaurus threads tiff timidity transcode truetype truetype-fonts type1 type1-fonts udev usb userlocales videos vorbis wma wma123 wxwindows x264 xanim xine xml2 xmms xpm xrandr xscreensaver xv xvid yv12 zip zlib linguas_no linguas_en userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LDFLAGS, MAKEOPTS
--- 8< ---
Comment 1 Luca Barbato gentoo-dev 2006-02-04 12:18:30 UTC
upstream issue I think, please report in the ffmpeg devel ml.
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-04-17 08:29:13 UTC
As Luca said, report upstream.