Bug #5192
MKV built-in muxer creates a file with an empty Codec private data in video track
100%
Description
Patch fixes this problem:
@ -101,7 +101,7
--- a/src/plumbing/globalheaders.c
+++ b/src/plumbing/globalheaders.c@
if(ssc->ssc_gh != NULL)
return;
.
- if(pkt->pkt_meta != NULL) {
+ if((pkt->pkt_meta != NULL) && ((SCT_ISVIDEO(pkt->pkt_type) && (pkt->v.pkt_frametype == PKT_I_FRAME)) || SCT_ISAUDIO(pkt->pkt_type))){
ssc->ssc_gh = pkt->pkt_meta;
pktbuf_ref_inc(ssc->ssc_gh);
return;
Files
History
Updated by Alexey Suhinin about 6 years ago
Jaroslav Kysela wrote:
What's in the meta data when frame is not I-frame ?
Unknown 8 bytes, which do not contain the necessary information to muxer (an empty sequence is generated 0x63A2, 0x80)
Updated by Jaroslav Kysela about 6 years ago
We should probably fix the meta data parser in src/parsers/parsers.c then. Please, attach the problematic input .TS stream - 30 seconds (grab the problematic service with the pass streaming profile - MPEG-TS format).
Updated by Jaroslav Kysela about 6 years ago
parser: h264 sps 43 parser: h264 pps 8 parser: h264 pps 8 parser: h264 pps 8 parser: h264 pps 8 parser: h264 pps 8 ...
Updated by Jaroslav Kysela about 6 years ago
- Status changed from New to Fixed
- % Done changed from 0 to 100
Applied in changeset commit:tvheadend|59b48c0f5c7b536270fe3e59fe42556abfb69cce.