Re: [FFmpeg-trac] #10711(undetermined:new): Parsing dash/vp9 chunk fails with "error reading header"

2023-12-11 Thread FFmpeg
#10711: Parsing dash/vp9 chunk fails with "error reading header"
-+-
 Reporter:  paul31415|Owner:  (none)
 Type:  defect   |   Status:  new
 Priority:  normal   |Component:
 |  undetermined
  Version:  git-master   |   Resolution:
 Keywords:   |   Blocked By:
 Blocking:   |  Reproduced by developer:  0
Analyzed by developer:  0|
-+-
Changes (by mig):

 * cc: mig (added)

-- 
Ticket URL: 
FFmpeg 
FFmpeg issue tracker___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-trac

To unsubscribe, visit link above, or email
ffmpeg-trac-requ...@ffmpeg.org with subject "unsubscribe".


Re: [FFmpeg-trac] #10711(undetermined:new): Parsing dash/vp9 chunk fails with "error reading header"

2023-11-30 Thread FFmpeg
#10711: Parsing dash/vp9 chunk fails with "error reading header"
-+-
 Reporter:  paul31415|Owner:  (none)
 Type:  defect   |   Status:  new
 Priority:  normal   |Component:
 |  undetermined
  Version:  git-master   |   Resolution:
 Keywords:   |   Blocked By:
 Blocking:   |  Reproduced by developer:  0
Analyzed by developer:  0|
-+-
Changes (by paul31415):

 * Attachment "out.ts" added.

-- 
Ticket URL: 
FFmpeg 
FFmpeg issue tracker___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-trac

To unsubscribe, visit link above, or email
ffmpeg-trac-requ...@ffmpeg.org with subject "unsubscribe".


[FFmpeg-trac] #10711(undetermined:new): Parsing dash/vp9 chunk fails with "error reading header"

2023-11-30 Thread FFmpeg
#10711: Parsing dash/vp9 chunk fails with "error reading header"
-+-
 Reporter:  paul31415| Type:  defect
   Status:  new  | Priority:  normal
Component:   |  Version:  git-
  undetermined   |  master
 Keywords:   |   Blocked By:
 Blocking:   |  Reproduced by developer:  0
Analyzed by developer:  0|
-+-
 Summary of the bug: ffprobe fails with "error reading header"

 How to reproduce:

 The data is small (800b), so I attached a base64 command line to generated
 the data (I also attache the binary if it's more convenient).

 {{{

 echo
 
GGZ0eXBkYXNoAGlzbzZtcDQxAAADEG1vb3YAAABsbXZoZADhjvKc4Y7yn+gAAAEAAAEBAQAAQAIobXZleCB0cmV4AAEBAAACdHRyYWsAAABcdGtoZAPhjvKc4Y7ynAEAAQEAAEAPCHAAAhBtZGlhIG1kaGQA4Y7ynOGO8pwAAAPoAFXEAABfaGRscgAAdmlkZQAAAElTTyBNZWRpYSBmaWxlIHByb2R1Y2VkIGJ5IEdvb2dsZSBJbmMuIENyZWF0ZWQgb246IDExLzMwLzIwMjMuAYltaW5mJGRpbmYcZHJlZgABDHVybCABAAABSXN0YmwAAADtc3RzZAAB3XZwMDkAAQAPAAhwAEgAAABIAAEY//8UdnBjQwECM6AJEAkAABNjb2xybmNseAAJABAACQAgbWRjdi/aiU4a9AoohGw+5D0TQEIAmJaAAQAAACRTbURtAD64s/cjUw1PrZFSblANVDkAA+gAAQxjbGxpBEwAtBBDb0xMAARMALQQc3R0cwAAEHN0c2MAABBzdGNvA
 
AAUc3RzegAAABBzdHNzAAAUdm1oZAEAAA==
 | base64 -d -o data

 }}}

 Calling ffprobe (or ffmpeg) on the data seems to fail with a reading
 header issue:

 {{{
 ffprobe -v 9 -loglevel 99 data

 ffprobe version N-112876-ga30adf9f96 Copyright (c) 2007-2023 the FFmpeg
 developers
   built with Apple clang version 15.0.0 (clang-1500.0.40.1)
   configuration: --extra-libs= --extra-ldflags= --extra-ldexeflags= --pkg-
 config-flags=--static --disable-autodetect --prefix=/Users/paul/git
 /ffmpeg-static-builder/dist/mac/arm64//ffmpeg --enable-version3 --pkg-
 config=pkg-config --enable-runtime-cpudetect --enable-pthreads --disable-
 w32threads --enable-libtheora --enable-libvpx --enable-libvorbis
 --disable-indev=sndio --disable-outdev=sndio --enable-neon --enable-
 libopenjpeg --enable-libopencore-amrnb --enable-libopencore-amrwb
 --enable-gpl --enable-openssl --enable-libvo-amrwbenc --enable-libopus
 --enable-libx264 --enable-libx265 --enable-libaom --enable-libwebp
 --enable-libxvid --enable-libmp3lame --enable-zlib --enable-ffprobe
 --enable-pic --disable-doc --enable-demuxer=dash --enable-libxml2
   libavutil  58. 32.100 / 58. 32.100
   libavcodec 60. 35.100 / 60. 35.100
   libavformat60. 18.100 / 60. 18.100
   libavdevice60.  4.100 / 60.  4.100
   libavfilter 9. 14.100 /  9. 14.100
   libswscale  7.  6.100 /  7.  6.100
   libswresample   4. 13.100 /  4. 13.100
   libpostproc57.  4.100 / 57.  4.100
 [AVFormatContext @ 0x12a605930] Opening 'bin' for reading
 [file @ 0x63990e00] Setting default whitelist 'file,crypto,data'
 Probing mov,mp4,m4a,3gp,3g2,mj2 score:100 size:808
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x12a605930] Format mov,mp4,m4a,3gp,3g2,mj2
 probed with size=2048 and score=100
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x12a605930] type:'ftyp' parent:'root' sz: 24 8
 808
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x12a605930] ISO: File Type Major Brand: dash
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x12a605930] type:'moov' parent:'root' sz: 784
 32 808
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x12a605930] type:'mvhd' parent:'moov' sz: 108
 8 776
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x12a605930] time scale = 1000
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x12a605930] type:'mvex' parent:'moov' sz: 40
 116 776
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x12a605930] type:'trex' parent:'mvex' sz: 32 8
 32
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x12a605930] type:'trak' parent:'moov' sz: 628
 156 776
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x12a605930] type:'tkhd' parent:'trak' sz: 92 8
 620
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x12a605930] type:'mdia' parent:'trak' sz: 528
 100 620
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x12a605930] type:'mdhd' parent:'mdia' sz: 32 8
 520
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x12a605930] type:'hdlr' parent:'mdia' sz: 95
 40 520
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x12a605930] ctype=[0][0][0][0]
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x12a605930] stype=vide
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x12a605930] type:'minf' parent:'mdia' sz: 393
 135 520
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x12a605930] type:'dinf' parent:'minf' sz: 36 8
 385
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x12a605930] type:'dref' parent:'dinf' sz: 28 8
 28