[FFmpeg-user] ffprobe language codes (ISO 639)

Jacques Hugo jacques.hugo at threetwo.co.uk
Sat Jan 4 15:59:36 CET 2014


Hi guys,

I have a question about the 3 letter language codes (e.g.: eng, fre, spa) used by ffmpeg/ffprobe.

I have noticed that some .VOB or BLURAY media probed by ffprobe either via libbluray or as an input parameter do not show the language codes.  i.e.:

# ffprobe bluray:/app/cd
ffprobe version N-58857-ge8ac905 Copyright (c) 2007-2013 the FFmpeg developers
built on Dec  7 2013 15:04:09 with gcc 4.4.7 (GCC) 20120313 (Red Hat 4.4.7-3)
configuration: --prefix=/app/ffmpeg --enable-nonfree --enable-gpl --enable-version3 --enable-shared --enable-pthreads --enable-libx264 --enable-libxvid --enable-libmp3lame --enable-libvorbis --enable-protocol=bluray --enable-libbluray --extra-ldflags='-L/app/ffmpeg/lib -Wl,-rpath,/app/ffmpeg/lib' --extra-cflags=-I/app/ffmpeg/include
[snip]
Input #0, mpegts, from 'bluray:/app/cd':
Duration: 01:40:02.20, start: 11.650667, bitrate: 35755 kb/s
Program 1 
Stream #0:0[0x1011]: Video: h264 (High) (HDMV / 0x564D4448), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 90k tbn, 47.95 tbc
Stream #0:1[0x1100]: Audio: dts (DTS-HD MA) ([134][0][0][0] / 0x0086), 48000 Hz, 5.1(side), fltp, 1536 kb/s
Stream #0:2[0x1101]: Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, 5.1(side), fltp, 640 kb/s
Stream #0:3[0x1102]: Audio: dts (DTS-HD MA) ([134][0][0][0] / 0x0086), 48000 Hz, 5.1(side), fltp, 1536 kb/s
Stream #0:4[0x1103]: Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, 5.1(side), fltp, 448 kb/s
Stream #0:5[0x1104]: Audio: dts (DTS-HD MA) ([134][0][0][0] / 0x0086), 48000 Hz, 5.1(side), fltp, 1536 kb/s
[snip]


This is straight up reading from the Bluray disc.  I would expect ffmpeg to interpret streams like “0x80 = eng”, etc but it does not.  Is this a conjuration issue from my side?  Do I need to enable a particular option during compilation? (I didn’t see anything obvious).


OS: CentOS release 6.4 (Final)
ffmpeg: ffmpeg version N-58857-ge8ac905 Copyright (c) 2000-2013 the FFmpeg developers
built on Dec  7 2013 15:04:09 with gcc 4.4.7 (GCC) 20120313 (Red Hat 4.4.7-3)
configuration: --prefix=/app/ffmpeg --enable-nonfree --enable-gpl --enable-version3 --enable-shared --enable-pthreads --enable-libx264 --enable-libxvid --enable-libmp3lame --enable-libvorbis --enable-protocol=bluray --enable-libbluray --extra-ldflags='-L/app/ffmpeg/lib -Wl,-rpath,/app/ffmpeg/lib' --extra-cflags=-I/app/ffmpeg/include


Thanks for your help on this.

Regards,
Jacques



More information about the ffmpeg-user mailing list