Hi,

in the following output you can see in the metadata tag "Album", that the 
character '°' was printed as unknown encoding. This is, because here on Ubuntu the 
default system encoding is UTF-8, but ffmpeg and ffprobe output the data in ISO-8859-1 
encoding.

In terminal output this is not really a big problem, but if the output is 
processed with another program, e.g. Python script, which uses the system 
default encoding, an encoding exception occurs, which breaks the program.

To me this looks like a bug.

$ ffprobe 12-suzanne_vega-song_of_sand.flac
ffprobe version 6.1.1-3ubuntu5 Copyright (c) 2007-2023 the FFmpeg developers
  built with gcc 13 (Ubuntu 13.2.0-23ubuntu3)
  configuration: --prefix=/usr --extra-version=3ubuntu5 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --disable-omx --enable-gnutls --enable-libaom --enable-libass --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libglslang --enable-libgme --enable-libgsm --enable-libharfbuzz --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzimg --enable-openal --enable-opencl --enable-opengl --disable-sndio --enable-libvpl --disable-libmfx --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-ladspa --enable-libbluray --enable-libjack --enable-libpulse --enable-librabbitmq --enable-librist --enable-libsrt --enable-libssh --enable-libsvtav1 --enable-libx264 --enable-libzmq --enable-libzvbi --enable-lv2 --enable-sdl2 --enable-libplacebo --enable-librav1e --enable-pocketsphinx --enable-librsvg --enable-libjxl --enable-shared
  libavutil      58. 29.100 / 58. 29.100
  libavcodec     60. 31.102 / 60. 31.102
  libavformat    60. 16.100 / 60. 16.100
  libavdevice    60.  3.100 / 60.  3.100
  libavfilter     9. 12.100 /  9. 12.100
  libswscale      7.  5.100 /  7.  5.100
  libswresample   4. 12.100 /  4. 12.100
  libpostproc    57.  3.100 / 57.  3.100
Input #0, flac, from '12-suzanne_vega-song_of_sand.flac':
  Metadata:
    artist          : Suzanne Vega
    title           : Song Of Sand
    date            : 1992
    track           : 12
    genre           : Pop
    Language        : English
    Rip Date        : 2012-04-19
    Retail Date     : 1992-09-08
    Media           : CD
    Encoder         : FLAC 1.2.1
    Ripping Tool    : Exact Audio Copy (Secure Mode)
    Release Type    : Normal release
    ORGANIZATION    : A&M Records
    Album           : 99.9F� <== unknown character because of wrong encoding
  Duration: 00:03:04.93, start: 0.000000, bitrate: 600 kb/s
  Stream #0:0: Audio: flac, 44100 Hz, stereo, s16

-Ulf

_______________________________________________
ffmpeg-user mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to