[Bug 777984] isomp4: initial ftyp/moov streamheader missing

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon Feb 13 14:12:01 UTC 2017


https://bugzilla.gnome.org/show_bug.cgi?id=777984

--- Comment #19 from Andreas Frisch <gnome-bugzilla at dreambox.guru> ---
i've noticed that when checking the directly saved file with mediainfo

General
Complete name                            :
smpte-min-max-keyint-30-fragment-duration-1000-direct.mp4
Format                                   : iso5
Codec ID                                 : iso5 (iso5/iso2/dash)
File size                                : 160 KiB
Duration                                 : 33 s 333 ms
Overall bit rate                         : 39.4 kb/s
Encoded date                             : UTC 2017-02-13 13:12:20
Tagged date                              : UTC 2017-02-13 13:12:20

Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : Main at L3.1
Format settings, CABAC                   : Yes
Format settings, ReFrames                : 1 frame
Format settings, GOP                     : M=1, N=30
Codec ID                                 : avc1
Codec ID/Info                            : Advanced Video Coding
Duration                                 : 33 s 333 ms
Bit rate                                 : 37.2 kb/s
Nominal bit rate                         : 2 048 kb/s
Width                                    : 1 280 pixels
Height                                   : 720 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Constant
Frame rate                               : 30.000 FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.001
Stream size                              : 151 KiB (94%)
Writing library                          : x264 core 148 r2708 86b7198
Encoding settings                        : cabac=1 / ref=1 / deblock=1:0:0 /
analyse=0x1:0x1 / me=dia / subme=1 / psy=1 / psy_rd=1,00:0,00 / mixed_ref=0 /
me_range=16 / chroma_me=1 / trellis=0 / 8x8dct=0 / cqm=0 / deadzone=21,11 /
fast_pskip=1 / chroma_qp_offset=0 / threads=4 / lookahead_threads=4 /
sliced_threads=1 / slices=4 / nr=0 / decimate=1 / interlaced=0 /
bluray_compat=0 / constrained_intra=0 / bframes=0 / weightp=1 / keyint=30 /
keyint_min=16 / scenecut=0 / intra_refresh=0 / rc_lookahead=0 / rc=cbr /
mbtree=0 / bitrate=2048 / ratetol=1,0 / qcomp=0,60 / qpmin=0 / qpmax=69 /
qpstep=4 / vbv_maxrate=2048 / vbv_bufsize=1228 / nal_hrd=none / filler=0 /
ip_ratio=1,40 / aq=1:1,00
Language                                 : English
Encoded date                             : UTC 2017-02-13 13:12:20
Tagged date                              : UTC 2017-02-13 13:12:20
Color range                              : Limited
Color primaries                          : BT.709
Transfer characteristics                 : BT.709
Matrix coefficients                      : BT.709

against the stream from tcpserversink
General                                                                         
Complete name                            :
min-max-keyint-30-fragment-duration-1000-entry-0.mp4                            
Format                                   : iso5                                 
Codec ID                                 : iso5 (iso5/iso2/dash)                
File size                                : 32.9 KiB                             
Duration                                 : 7 s 0 ms                             
Overall bit rate                         : 38.5 kb/s                            
Encoded date                             : UTC 2017-02-13 13:13:31              
Tagged date                              : UTC 2017-02-13 13:13:31

Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : Main at L3.1
Format settings, CABAC                   : Yes
Format settings, ReFrames                : 1 frame
Format settings, GOP                     : M=1, N=30
Codec ID                                 : avc1
Codec ID/Info                            : Advanced Video Coding
Duration                                 : 7 s 0 ms
Bit rate                                 : 35.5 kb/s
Width                                    : 1 280 pixels
Height                                   : 720 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Constant
Frame rate                               : 30.000 FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.001
Stream size                              : 30.4 KiB (92%)
Language                                 : English
Encoded date                             : UTC 2017-02-13 13:13:31
Tagged date                              : UTC 2017-02-13 13:13:31
Color range                              : Limited
Color primaries                          : BT.709
Transfer characteristics                 : BT.709
Matrix coefficients                      : BT.709


that the Writing library and the Encoding settings are missing in the latter
case. that's what i had meant above when looking at the hexdump. apparently
x264enc writes that only once at the beginning of the stream.
could it be that the browser wants to know about that, or some other
initialization sequence from the h264 stream before starting to render?

-- 
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