[libav-bugs] [Bug 729] New: failed to detect subtitle codec

bugzilla at libav.org bugzilla at libav.org
Sat Aug 16 10:14:07 CEST 2014


http://bugzilla.libav.org/show_bug.cgi?id=729

           Summary: failed to detect subtitle codec
           Product: Libav
           Version: 9
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: minor
          Priority: Normal
         Component: libavformat
        AssignedTo: bugzilla at libav.org
        ReportedBy: spam at zhukoff.net


tested on matroska containers.

ffprove:
    Stream #0:12(rus): Subtitle: subrip
    Stream #0:13(eng): Subtitle: subrip
    Stream #0:14(fre): Subtitle: subrip
    Stream #0:15(fre): Subtitle: hdmv_pgs_subtitle


avprobe:
    Stream #0.12(rus): Subtitle: [0][0][0][0] / 0x0000
    Stream #0.13(eng): Subtitle: [0][0][0][0] / 0x0000
    Stream #0.14(fre): Subtitle: [0][0][0][0] / 0x0000
    Stream #0.15(fre): Subtitle: pgssub


example code (attached) with ffmpeg:
$ ./bin/example ~/file.mkv 
Number of streams = 18 
Stream 0 :     Found codec h264 
Stream 1 :     Found codec ac3 
Stream 2 :     Found codec ac3 
Stream 3 :     Found codec ac3 
Stream 4 :     Found codec ac3 
Stream 5 :     Found codec flac 
Stream 6 :     Found codec ac3 
Stream 7 :     Found codec flac 
Stream 8 :     Found codec ac3 
Stream 9 :     Found codec ac3 
Stream 10 :     Found codec ac3 
Stream 11 :     Found codec flac 
Stream 12 :     Found codec subrip 
Stream 13 :     Found codec subrip 
Stream 14 :     Found codec subrip 
Stream 15 :     Found codec pgssub 
Stream 16 :     Found codec text 
Stream 17 :     Found codec mjpeg 


example code with libav:
Number of streams = 18 
Stream 0 :     Found codec h264
Stream 1 :     Found codec ac3
Stream 2 :     Found codec ac3
Stream 3 :     Found codec ac3
Stream 4 :     Found codec ac3
Stream 5 :     Found codec flac
Stream 6 :     Found codec ac3
Stream 7 :     Found codec flac
Stream 8 :     Found codec ac3
Stream 9 :     Found codec ac3
Stream 10 :     Found codec ac3
Stream 11 :     Found codec flac
Stream 12 :                           <= avcodec_find_decoder(ctx->codec_id)
returns NULL but   fmt_ctx->streams[i]->codec is not NULL
Stream 13 : 
Stream 14 : 
Stream 15 :     Found codec pgssub
Stream 16 : 
Stream 17 :     Found codec mjpeg

-- 
Configure bugmail: http://bugzilla.libav.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.


More information about the libav-bugs mailing list