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
 [mov,mp4,m4a,3gp,

Re: [FFmpeg-trac] #10710(avcodec:closed): Audio cracklings when decoding WAV PCM files with avcodec_receive_frame

2023-11-30 Thread FFmpeg
#10710: Audio cracklings when decoding WAV PCM files with avcodec_receive_frame
---+---
 Reporter:  fabi78 |Owner:  (none)
 Type:  defect |   Status:  closed
 Priority:  important  |Component:  avcodec
  Version:  6.0|   Resolution:  invalid
 Keywords: |   Blocked By:
 Blocking: |  Reproduced by developer:  0
Analyzed by developer:  0  |
---+---
Changes (by Elon Musk):

 * status:  new => closed
 * resolution:   => invalid

Comment:

 To read samples you need to use data[0] for packed sample formats.
 And for planar sample formats use extended_data[X] where X is channel
 number.
-- 
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] #10642(avcodec:new): [hwaccel] AV1 hardware decoding for Apple M3

2023-11-30 Thread FFmpeg
#10642: [hwaccel] AV1 hardware decoding for Apple M3
-+-
 Reporter:  Nomis101 |Owner:  (none)
 Type:  enhancement  |   Status:  new
 Priority:  normal   |Component:  avcodec
  Version:  git-master   |   Resolution:
 Keywords:  hwaccel  |   Blocked By:
  videotoolbox av1   |
 Blocking:   |  Reproduced by developer:  0
Analyzed by developer:  0|
-+-
Comment (by Arkelic):

 I was able to set up this branch on my M3 MacBook pro and here is the
 output when using
 
[https://github.com/SPBTV/video_av1_samples/blob/master/spbtv_sample_bipbop_av1_960x540_25fps.mp4/
 this sample] file:


 {{{
 ffmpeg -v verbose -hwaccel videotoolbox -i
 /Users/arkelic/Downloads/spbtv_sample_bipbop_av1_960x540_25fps.mp4  -map
 0:v -f null -
 ffmpeg version N-112731-g8d79cdeccb Copyright (c) 2000-2023 the FFmpeg
 developers
   built with Apple clang version 15.0.0 (clang-1500.1.0.2.2)
   configuration:
   libavutil  58. 32.100 / 58. 32.100
   libavcodec 60. 33.100 / 60. 33.100
   libavformat60. 17.100 / 60. 17.100
   libavdevice60.  4.100 / 60.  4.100
   libavfilter 9. 13.100 /  9. 13.100
   libswscale  7.  6.100 /  7.  6.100
   libswresample   4. 13.100 /  4. 13.100
 Selecting decoder 'av1' because of requested hwaccel method videotoolbox
 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from
 '/Users/arkelic/Downloads/spbtv_sample_bipbop_av1_960x540_25fps.mp4':
   Metadata:
 major_brand : mp42
 minor_version   : 0
 compatible_brands: avc1isommp42avc1
 creation_time   : 2018-10-05T14:40:45.00Z
   Duration: 00:00:15.04, start: 0.00, bitrate: 130 kb/s
   Stream #0:0[0x1](und): Audio: aac (LC) (mp4a / 0x6134706D), 32000 Hz,
 mono, fltp, 8 kb/s (default)
 Metadata:
   handler_name: snd
   vendor_id   : [0][0][0][0]
   Stream #0:1[0x2](und): Video: av1 (Main), 1 reference frame (av01 /
 0x31307661), yuv420p(tv), 960x540, 116 kb/s, 25 fps, 25 tbr, 90k tbn
 (default)
 Metadata:
   handler_name: vid
   vendor_id   : [0][0][0][0]
 [out#0/null @ 0x638506c0] Adding streams from explicit maps...
 [vost#0:0/wrapped_avframe @ 0x12e605db0] Created video stream from input
 stream 0:1
 Stream mapping:
   Stream #0:1 -> #0:0 (av1 (native) -> wrapped_avframe (native))
 Press [q] to stop, [?] for help
 [av1 @ 0x12e609fb0] avc1C: size: 17, first bytes: 81 04 0c 00
 [av1 @ 0x12e609fb0] vt decoder cb: output image buffer is null: -12911
 [av1 @ 0x12e609fb0] HW accel end frame fail.
 [vist#0:1/av1 @ 0x12e609e60] Error submitting packet to decoder: Unknown
 error occurred
 [av1 @ 0x12e609fb0] VideoToolbox decoder needs reconfig, restarting..
 [av1 @ 0x12e609fb0] avc1C: size: 17, first bytes: 81 04 0c 00
 [av1 @ 0x12e609fb0] vt decoder cb: output image buffer is null: -12911
 [av1 @ 0x12e609fb0] HW accel end frame fail.
 [vist#0:1/av1 @ 0x12e609e60] Error submitting packet to decoder: Unknown
 error occurred
 [1]64153 segmentation fault  ffmpeg -v verbose -hwaccel videotoolbox
 -i  -map 0:v -f null -
 }}}
-- 
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] #10710(avcodec:new): Audio cracklings when decoding WAV PCM files with avcodec_receive_frame

2023-11-30 Thread FFmpeg
#10710: Audio cracklings when decoding WAV PCM files with avcodec_receive_frame
---+---
 Reporter:  fabi78 |Owner:  (none)
 Type:  defect |   Status:  new
 Priority:  important  |Component:  avcodec
  Version:  6.0|   Resolution:
 Keywords: |   Blocked By:
 Blocking: |  Reproduced by developer:  0
Analyzed by developer:  0  |
---+---
Changes (by fabi78):

 * Attachment "ffmpeg-decode_wav.c" 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] #10698(ffmpeg:closed): VOBsub overlay leaks memory after subtitle stream EOF

2023-11-30 Thread FFmpeg
#10698: VOBsub overlay leaks memory after subtitle stream EOF
-+-
 Reporter:  Leon |Owner:  (none)
 Type:  defect   |   Status:  closed
 Priority:  normal   |Component:  ffmpeg
  Version:  git-master   |   Resolution:  fixed
 Keywords:  overlay  |   Blocked By:
  framesync memleak memory vobsub|
 Blocking:   |  Reproduced by developer:  0
Analyzed by developer:  0|
-+-
Comment (by Leon):

 Yep, that works. Thanks for the fix!
-- 
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] #10650(undetermined:new): Subtitle problem in new ffmpeg version transcoding crashes with sume subtitles

2023-11-30 Thread FFmpeg
#10650: Subtitle problem in new ffmpeg version transcoding crashes with sume
subtitles
-+-
 Reporter:  Wkuf |Owner:  (none)
 Type:  defect   |   Status:  new
 Priority:  normal   |Component:
 |  undetermined
  Version:  unspecified  |   Resolution:
 Keywords:   |   Blocked By:
  dvb_subtitle subtitle compilation  |
 Blocking:   |  Reproduced by developer:  1
Analyzed by developer:  1|
-+-
Changes (by elenril):

 * analyzed:  0 => 1
 * cc: elenril (added)
 * reproduced:  0 => 1

Comment:

 Caused by 94968dbc1116e23cb658c09538e9bce52b63d654
-- 
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] #10698(ffmpeg:closed): VOBsub overlay leaks memory after subtitle stream EOF

2023-11-30 Thread FFmpeg
#10698: VOBsub overlay leaks memory after subtitle stream EOF
-+-
 Reporter:  Leon |Owner:  (none)
 Type:  defect   |   Status:  closed
 Priority:  normal   |Component:  ffmpeg
  Version:  git-master   |   Resolution:  fixed
 Keywords:  overlay  |   Blocked By:
  framesync memleak memory vobsub|
 Blocking:   |  Reproduced by developer:  0
Analyzed by developer:  0|
-+-
Changes (by Elon Musk):

 * status:  new => closed
 * resolution:   => fixed

Comment:

 Fixed in a30adf9f96254f4870066c98a6dbf13fc74515a3
-- 
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] #10709(avcodec:new): -c:v h264_cuvid -deint 2 does not work

2023-11-30 Thread FFmpeg
#10709: -c:v h264_cuvid -deint 2 does not work
+---
 Reporter:  aef |Owner:  (none)
 Type:  defect  |   Status:  new
 Priority:  important   |Component:  avcodec
  Version:  git-master  |   Resolution:
 Keywords:  |   Blocked By:
 Blocking:  |  Reproduced by developer:  0
Analyzed by developer:  0   |
+---
Comment (by Balling):

 Of course it does not work. Deint 2 (adaptive) is broken in recent
 drivers.

 https://forums.developer.nvidia.com/t/nvdec-quality-degradation-with-
 adaptive-deinterlace-since-535-drivers/273284
-- 
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".