[FFmpeg-trac] #2385(undetermined:new): ffmpeg does not mark xsub language properly

FFmpeg trac at avcodec.org
Wed Mar 20 12:37:07 CET 2013


#2385: ffmpeg does not mark xsub language properly
-------------------------------------+-------------------------------------
             Reporter:  someuser     |                    Owner:
                 Type:  enhancement  |                   Status:  new
             Priority:  normal       |                Component:
              Version:  git-master   |  undetermined
             Keywords:  xsub         |               Resolution:
             Blocking:               |               Blocked By:
Analyzed by developer:  0            |  Reproduced by developer:  0
-------------------------------------+-------------------------------------

Comment (by someuser):

 Sorry, forgot the command line + output, here it is:

 {{{
 > ./ffmpeg-git-17c1881-win32-static.exe -i test.avi -i test-en.idx -acodec
 copy -vcodec copy -scodec xsub -map 0:0 -map 0:1 -map 1:0 testxsub.avi
 ffmpeg version N-51106-g17c1881 Copyright (c) 2000-2013 the FFmpeg
 developers
   built on Mar 19 2013 13:49:37 with gcc 4.7.2 (GCC)
   configuration: --enable-gpl --enable-version3 --disable-w32threads
 --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r
 --enable-gnutls --enable-libass --enable-libbluray --enable-libcaca
 --enable-libfreetype --enable-libgsm --enable-libilbc --enable-libmp3lame
 --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg
 --enable-libopus --enable-librtmp --enable-libschroedinger --enable-
 libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-
 libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx
 --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib
   libavutil      52. 19.101 / 52. 19.101
   libavcodec     55.  1.100 / 55.  1.100
   libavformat    55.  0.100 / 55.  0.100
   libavdevice    55.  0.100 / 55.  0.100
   libavfilter     3. 47.104 /  3. 47.104
   libswscale      2.  2.100 /  2.  2.100
   libswresample   0. 17.102 /  0. 17.102
   libpostproc    52.  2.100 / 52.  2.100
 Input #0, avi, from 'test.avi':
   Metadata:
     encoder         : Lavf54.59.106
   Duration: 00:00:10.03, start: 0.000000, bitrate: 1227 kb/s
     Stream #0:0: Video: mpeg4 (Advanced Simple Profile) (DIVX /
 0x58564944), yuv420p, 576x324 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr,
 23.98 tbn, 2997 tbc
     Stream #0:1: Audio: mp3 (U[0][0][0] / 0x0055), 48000 Hz, stereo, s16p,
 128 kb/s
 [vobsub @ 0259f3e0] Estimating duration from bitrate, this may be
 inaccurate
 Input #1, vobsub, from 'test-en.idx':
   Duration: N/A, bitrate: N/A
     Stream #1:0[0x0](en): Subtitle: dvd_subtitle (default)
 Output #0, avi, to 'testxsub.avi':
   Metadata:
     ISFT            : Lavf55.0.100
     Stream #0:0: Video: mpeg4 (DIVX / 0x58564944), yuv420p, 576x324 [SAR
 1:1 DAR 16:9], q=2-31, 23.98 fps, 23.98 tbn, 23.98 tbc
     Stream #0:1: Audio: mp3 (U[0][0][0] / 0x0055), 48000 Hz, stereo, 128
 kb/s
     Stream #0:2(en): Subtitle: xsub (DXSB / 0x42535844) (default)
 Stream mapping:
   Stream #0:0 -> #0:0 (copy)
   Stream #0:1 -> #0:1 (copy)
   Stream #1:0 -> #0:2 (dvdsub -> xsub)
 Press [q] to stop, [?] for help
 frame=  240 fps=0.0 q=-1.0 Lsize=    1511kB time=00:00:10.03
 bitrate=1233.7kbits/s
 video:1322kB audio:157kB subtitle:3 global headers:0kB muxing overhead
 2.000717%
 >
 }}}

 As said, this plays ok on PS3 and the subtitles can be manually selected
 but the language shown is "Other" and PS3 won't pick them up automatically
 (as it would happen if the language would have been detected and it would
 match PS3 settings).

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/2385#comment:4>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list