Opened 6 years ago

Last modified 20 months ago

#819 open defect

ffmpeg fails to read an image if the image filename contains an accent (win32)

Reported by: jemore Owned by:
Priority: normal Component: avformat
Version: git-master Keywords: image2 win32
Cc: mail@tim-hauke.de Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

When I want to convert a JPG file to a video, ffmpeg fail if the JPG filename contains an accent.
Plateform is Windows Vista (6.0.6002)
Command line :

xx:>dir
11/07/2009  11:15             7 536 Vidéo000-title.png

xx:>ffmpeg.exe -y -i Vidéo000-title.png -target pal-dvd -aspect 16/9 -loop 1 -r 25 -t 10 Vidéo000-title.mpg

ffmpeg version N-35966-g1d0ae92, Copyright (c) 2000-2011 the FFmpeg developers
  built on Dec 19 2011 13:01:15 with gcc 4.6.2
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-runtime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-libopenjpeg --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib
  libavutil    51. 32. 0 / 51. 32. 0
  libavcodec   53. 46. 1 / 53. 46. 1
  libavformat  53. 27. 0 / 53. 27. 0
  libavdevice  53.  4. 0 / 53.  4. 0
  libavfilter   2. 53. 0 /  2. 53. 0
  libswscale    2.  1. 0 /  2.  1. 0
  libpostproc  51.  2. 0 / 51.  2. 0
Vidéo000-title.png: No such file or directory

Same result with double-quote escaping, or fullpath to the file. If I remove the accentued char it works.

ffplay can play this image.

Attachments (1)

ffmpeg-20111222-165120.log (1.2 KB) - added by jemore 6 years ago.

Download all attachments as: .zip

Change History (12)

Changed 6 years ago by jemore

comment:1 Changed 6 years ago by jemore

I can convert video file containing accentued char, but the image decoder failed (for png and jpeg) if filename contains an accent.

comment:2 Changed 6 years ago by cehoyos

  • Component changed from FFmpeg to avformat
  • Keywords image2 added; accentued removed
  • Status changed from new to open
  • Version changed from unspecified to git-master

comment:3 Changed 6 years ago by llogan

  • Summary changed from ffmepg failed to convert a still image to video if the image filename is accentued (win32) to ffmpeg failed to convert a still image to video if the image filename is accentued (win32)

comment:4 Changed 6 years ago by compn

probably a bug, but you could try the 8.3 filename
use dir /x for the 8.3 filenames.

comment:5 Changed 6 years ago by cehoyos

  • Summary changed from ffmpeg failed to convert a still image to video if the image filename is accentued (win32) to ffmpeg fails to read an image if the image filename contains an accent (win32)

comment:6 Changed 5 years ago by michael

  • Keywords win32 added

comment:7 Changed 5 years ago by michael

  • Keywords changed from image2, win32 to image2 win32

comment:8 Changed 5 years ago by Tim

  • Cc mail@tim-hauke.de added

comment:9 Changed 20 months ago by cehoyos

This probably needs now -f image2 (or a pattern type) to reproduce.

comment:10 Changed 20 months ago by badbadboy

8.3 filenames work, but not with images that have 4-letter extensions (like "jpeg").

comment:11 Changed 20 months ago by badbadboy

Duplicate ticket #5256 includes stack trace, explanation of the cause and fix suggestion.

Note: See TracTickets for help on using tickets.