[Bug 685030] New: playback of mkv requires excessive amount of ram

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Fri Sep 28 01:58:45 PDT 2012


https://bugzilla.gnome.org/show_bug.cgi?id=685030
  GStreamer | gst-plugins-good | 1.x

           Summary: playback of mkv requires excessive amount of ram
    Classification: Platform
           Product: GStreamer
           Version: 1.x
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-good
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: fraxinas at opendreambox.org
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


Created an attachment (id=225322)
 --> (https://bugzilla.gnome.org/attachment.cgi?id=225322)
G_SLICE=always-malloc valgrind --tool=massif --detailed-freq=20 gst-launch-1.0
playbin uri=file:///net/media/Videos/HD/The_Avengers.mkv flags=1

when playing a certain mkv file with 1.0 playbin, memory consumption will
steadily increase
i've filed this under gst-plugins-good because matroskademux maybe the source
of the problems.
ran it through valgrind with the massif tool and attached the report

[fraxinas at fox /net/media/Videos/HD]$ mediainfo The_Avengers.mkv 
General
Unique ID                                :
225534449172679614385049236561458313001 (0xA9AC5ADBB9E2CF238ED0281F23D33729)
Complete name                            : The_Avengers.mkv
Format                                   : Matroska
Format version                           : Version 2
File size                                : 5.52 GiB
Duration                                 : 2h 22mn
Overall bit rate                         : 5 529 Kbps
Encoded date                             : UTC 2012-08-28 19:32:42
Writing application                      : mkvmerge v5.5.0 ('Healer') built on
Apr  6 2012 21:43:24
Writing library                          : libebml v1.2.3 + libmatroska v1.3.0

Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : High at L4.1
Format settings, CABAC                   : Yes
Format settings, ReFrames                : 5 frames
Format settings, GOP                     : M=1, N=3
Codec ID                                 : V_MPEG4/ISO/AVC
Duration                                 : 2h 22mn
Bit rate                                 : 2 400 Kbps
Width                                    : 1 280 pixels
Height                                   : 720 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Constant
Frame rate                               : 23.976 fps
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.109
Stream size                              : 2.40 GiB (43%)
Title                                    : sons-the_avengers-720p
Writing library                          : x264 core 125 r2208 d9d2288
Encoding settings                        : cabac=1 / ref=5 / deblock=1:0:0 /
analyse=0x3:0x113 / me=umh / subme=7 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 /
me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 /
fast_pskip=0 / chroma_qp_offset=-2 / threads=12 / lookahead_threads=2 /
sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 /
constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=1
/ weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=23 / scenecut=40
/ intra_refresh=0 / rc_lookahead=40 / rc=crf / mbtree=1 / crf=20.0 / qcomp=0.60
/ qpmin=0 / qpmax=69 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00                     
Default                                  : Yes                                  
Forced                                   : No                                   

Audio #1                                                                        
ID                                       : 2                                    
Format                                   : DTS                                  
Format/Info                              : Digital Theater Systems              
Codec ID                                 : A_DTS                                
Duration                                 : 2h 22mn                              
Bit rate mode                            : Constant                             
Bit rate                                 : 1 510 Kbps
Channel(s)                               : 6 channels
Channel positions                        : Front: L C R, Side: L R, LFE
Sampling rate                            : 48.0 KHz
Bit depth                                : 24 bits
Compression mode                         : Lossy
Stream size                              : 1.51 GiB (27%)
Title                                    : 1510kbps_dts
Language                                 : German
Default                                  : Yes
Forced                                   : No

Audio #2
ID                                       : 3
Format                                   : DTS
Format/Info                              : Digital Theater Systems
Codec ID                                 : A_DTS
Duration                                 : 2h 22mn
Bit rate mode                            : Constant
Bit rate                                 : 1 510 Kbps
Channel(s)                               : 6 channels
Channel positions                        : Front: L C R, Side: L R, LFE
Sampling rate                            : 48.0 KHz
Bit depth                                : 24 bits
Compression mode                         : Lossy
Stream size                              : 1.51 GiB (27%)
Title                                    : 1510kbps_dts
Language                                 : English
Default                                  : No
Forced                                   : No

Text #1
ID                                       : 4
Format                                   : UTF-8
Codec ID                                 : S_TEXT/UTF8
Codec ID/Info                            : UTF-8 Plain Text
Title                                    : sons-the_avengers-720p-forced
Language                                 : German
Default                                  : Yes
Forced                                   : No

Text #2
ID                                       : 5
Format                                   : UTF-8
Codec ID                                 : S_TEXT/UTF8
Codec ID/Info                            : UTF-8 Plain Text
Title                                    : sons-the_avengers-720p-eng-forced
Language                                 : English
Default                                  : No
Forced                                   : No

running gst-launch-1.0 filesrc location="The_Avengers.mkv" ! matroskademux !
video/x-h264 ! fakesink doesn't show any excessive memory usage though

i'm trying it with playbin video-sink=fakesink now

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list