Re: [FFmpeg-trac] #8621(undetermined:new): FFMPEG Audio decoding fails on audio packet (works using libfdk)

2020-08-29 Thread FFmpeg
#8621: FFMPEG Audio decoding fails on audio packet (works using libfdk)
-+-
 Reporter:  rayaudius|Owner:
 Type:  defect   |   Status:  new
 Priority:  normal   |Component:
 |  undetermined
  Version:  git-master   |   Resolution:
 Keywords:  aac  |   Blocked By:
 Blocking:   |  Reproduced by developer:  0
Analyzed by developer:  0|
-+-
Changes (by ricidina):

 * cc: brendon@… (added)


Comment:

 We seem to have encountered the same bug. We upgraded from ffmpeg 3.3 in
 Debian Stretch to a Docker container running Alpine Linux and ffmpeg 4.3.
 So far only one video that we know of has been affected thankfully.

 I have tested this with ffmpeg 3.3, 3.4, 4.0, 4.1, and 4.3. It seems the
 bug is present ONLY in 4.0+ using the built-in aac.

 Workaround is to use ffmpeg < 4.0 or libfdk_aac.

 Here is an example command line we are using:

 {{{
 /usr/bin/env ffmpeg -i /app/scratch/tomars_theme_song_remix.mp4 -y -c:v
 libx264 -s 640x360 -preset veryfast -crf 21 -maxrate 200 -bufsize
 250 -pix_fmt yuv420p -movflags +faststart -c:a aac -b:a 384000
 -profile:v baseline /app/scratch/tomars_theme_song_remix.360p.mp4
 }}}

 Here is the build info:

 {{{
 ffmpeg version 3.4.8 Copyright (c) 2000-2020 the FFmpeg developers
   built with gcc 9.3.0 (Alpine 9.3.0)
   configuration: --disable-debug --disable-doc --disable-ffplay --enable-
 shared --enable-avresample --enable-libopencore-amrnb --enable-
 libopencore-amrwb --enable-gpl --enable-libass --enable-fontconfig
 --enable-libfreetype --enable-libvidstab --enable-libmp3lame --enable-
 libopus --enable-libtheora --enable-libvorbis --enable-libvpx --enable-
 libwebp --enable-libxcb --enable-libx265 --enable-libxvid --enable-libx264
 --enable-nonfree --enable-openssl --enable-libfdk_aac --enable-postproc
 --enable-small --enable-version3 --enable-libbluray --enable-libzmq
 --extra-libs=-ldl --prefix=/opt/ffmpeg --enable-libopenjpeg --enable-
 libkvazaar --extra-cflags=-I/opt/ffmpeg/include --extra-
 ldflags=-L/opt/ffmpeg/lib
   libavutil  55. 78.100 / 55. 78.100
   libavcodec 57.107.100 / 57.107.100
   libavformat57. 83.100 / 57. 83.100
   libavdevice57. 10.100 / 57. 10.100
   libavfilter 6.107.100 /  6.107.100
   libavresample   3.  7.  0 /  3.  7.  0
   libswscale  4.  8.100 /  4.  8.100
   libswresample   2.  9.100 /  2.  9.100
   libpostproc54.  7.100 / 54.  7.100
 }}}


 {{{
 ffmpeg version 4.3.1 Copyright (c) 2000-2020 the FFmpeg developers
   built with gcc 9.3.0 (Alpine 9.3.0)
   configuration: --disable-debug --disable-doc --disable-ffplay --enable-
 shared --enable-avresample --enable-libopencore-amrnb --enable-
 libopencore-amrwb --enable-gpl --enable-libass --enable-fontconfig
 --enable-libfreetype --enable-libvidstab --
 enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis
 --enable-libvpx --enable-libwebp --enable-libxcb --enable-libx265
 --enable-libxvid --enable-libx264 --enable-nonfree --enable-openssl
 --enable-libfdk_aac --enable-postproc --enable-small --enable-version3
 --enable-libbluray --enable-libzmq --extra-libs=-ldl --prefix=/opt/ffmpeg
 --enable-libopenjpeg --enable-libkvazaar --enable-libaom --extra-
 libs=-lpthread --enable-libsrt --enable-libaribb24 --extra-
 cflags=-I/opt/ffmpeg/include --extra-ldflags=-L/opt/ffmpeg/lib
   libavutil  56. 51.100 / 56. 51.100
   libavcodec 58. 91.100 / 58. 91.100
   libavformat58. 45.100 / 58. 45.100
   libavdevice58. 10.100 / 58. 10.100
   libavfilter 7. 85.100 /  7. 85.100
   libavresample   4.  0.  0 /  4.  0.  0
   libswscale  5.  7.100 /  5.  7.100
   libswresample   3.  7.100 /  3.  7.100
   libpostproc55.  7.100 / 55.  7.100
 }}}

 [https://uploads.ungrounded.net/ffmpeg_bug/tomars_theme_song_remix.original.mp4
 Original video.]

 
[https://uploads.ungrounded.net/ffmpeg_bug/tomars_theme_song_remix.encoded_with_ffmpeg_4_3.mp4
 Video encoded with 4.3.1.] This freezes at around the 16 second mark in
 Chrome.

 ffmpeg reports:

 {{{
 ffmpeg -i ffmpeg_bug/tomars_theme_song_remix.encoded_with_ffmpeg_4_3.mp4
 -f null -

 ...
 [aac @ 0x560f2f6dfe00] error in spectral data, ESC overflow
 Error while decoding stream #0:1: Invalid data found when processing input
 }}}

 
[https://uploads.ungrounded.net/ffmpeg_bug/tomars_theme_song_remix.encoded_with_ffmpeg_3_4.mp4
 Video encoded with 3.4.8.] No issue with this one.

 [https://uploads.ungrounded.net/ffmpeg_bug/ffmpeg_log_3_4.txt Full encode
 log for 3.4.]

 [https://uploads.ungrounded.net/ffmpeg_bug/ffmpeg_log_4_3.txt Full encode
 log for 4.3.]

 These logs are the full debug log for the project so contain ffprobe
 

Re: [FFmpeg-trac] #8621(undetermined:new): FFMPEG Audio decoding fails on audio packet (works using libfdk)

2020-05-21 Thread FFmpeg
#8621: FFMPEG Audio decoding fails on audio packet (works using libfdk)
-+-
 Reporter:  rayaudius|Owner:
 Type:  defect   |   Status:  new
 Priority:  normal   |Component:
 |  undetermined
  Version:  git-master   |   Resolution:
 Keywords:  aac  |   Blocked By:
 Blocking:   |  Reproduced by developer:  0
Analyzed by developer:  0|
-+-

Comment (by rayaudius):

 You can see the error in the probe.txt output:

 [aac @ 0x7fe73b802000] error in spectral data, ESC overflow
 Error while decoding stream #0:0: Invalid data found when processing input
 size=1120kB time=00:00:05.99 bitrate=1530.6kbits/s speed= 503x
 video:0kB audio:1120kB subtitle:0kB other streams:0kB global headers:0kB
 muxing overhead: 0.006801%

--
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] #8621(undetermined:new): FFMPEG Audio decoding fails on audio packet (works using libfdk)

2020-05-21 Thread FFmpeg
#8621: FFMPEG Audio decoding fails on audio packet (works using libfdk)
-+-
 Reporter:  rayaudius|Owner:
 Type:  defect   |   Status:  new
 Priority:  normal   |Component:
 |  undetermined
  Version:  git-master   |   Resolution:
 Keywords:  aac  |   Blocked By:
 Blocking:   |  Reproduced by developer:  0
Analyzed by developer:  0|
-+-
Changes (by rayaudius):

 * Attachment "encode.txt" 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] #8621(undetermined:new): FFMPEG Audio decoding fails on audio packet (works using libfdk)

2020-05-21 Thread FFmpeg
#8621: FFMPEG Audio decoding fails on audio packet (works using libfdk)
-+-
 Reporter:  rayaudius|Owner:
 Type:  defect   |   Status:  new
 Priority:  normal   |Component:
 |  undetermined
  Version:  git-master   |   Resolution:
 Keywords:  aac  |   Blocked By:
 Blocking:   |  Reproduced by developer:  0
Analyzed by developer:  0|
-+-

Comment (by rayaudius):

 Thanks for the reply!

 Attached are the full logs from encoding and from probing.

 Source file
 
https://drive.google.com/file/d/1FziM3tAXvRzjA8XmxGUEan4Z0dtEPYez/view?usp=sharing

 Encoding command:

 > mkdir segments
 > ffmpeg -i graves-master-2.mp3 -ar 48000 -b:a 320k -hls_time 6
 -hls_list_size 0 -hls_base_url segments/ -hls_segment_filename
 segments/segment%03d.ts -vn out.m3u8
 OUTPUT: encode.txt


 Probing command:
 > ffmpeg -i segments/segment134.ts -vn -f wav -y /dev/null
 OUTPUT: probe.txt

--
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] #8621(undetermined:new): FFMPEG Audio decoding fails on audio packet (works using libfdk)

2020-05-21 Thread FFmpeg
#8621: FFMPEG Audio decoding fails on audio packet (works using libfdk)
-+-
 Reporter:  rayaudius|Owner:
 Type:  defect   |   Status:  new
 Priority:  normal   |Component:
 |  undetermined
  Version:  git-master   |   Resolution:
 Keywords:  aac  |   Blocked By:
 Blocking:   |  Reproduced by developer:  0
Analyzed by developer:  0|
-+-
Changes (by rayaudius):

 * Attachment "probe.txt" 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] #8621(undetermined:new): FFMPEG Audio decoding fails on audio packet (works using libfdk)

2020-05-21 Thread FFmpeg
#8621: FFMPEG Audio decoding fails on audio packet (works using libfdk)
-+-
 Reporter:  rayaudius|Owner:
 Type:  defect   |   Status:  new
 Priority:  normal   |Component:
 |  undetermined
  Version:  git-master   |   Resolution:
 Keywords:  aac  |   Blocked By:
 Blocking:   |  Reproduced by developer:  0
Analyzed by developer:  0|
-+-

Comment (by cehoyos):

 If you want to report an encoding issue, please provide the encoding
 command line that you tested together with the complete, uncut console
 output and an input file that allows to reproduce the issue to make this a
 valid ticket.

--
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] #8621(undetermined:new): FFMPEG Audio decoding fails on audio packet (works using libfdk)

2020-05-13 Thread FFmpeg
#8621: FFMPEG Audio decoding fails on audio packet (works using libfdk)
-+-
 Reporter:  rayaudius|Owner:
 Type:  defect   |   Status:  new
 Priority:  normal   |Component:
 |  undetermined
  Version:  git-master   |   Resolution:
 Keywords:  aac  |   Blocked By:
 Blocking:   |  Reproduced by developer:  0
Analyzed by developer:  0|
-+-

Comment (by rayaudius):

 This is an encoding issue.

 Here's the source file
 
https://drive.google.com/file/d/1FziM3tAXvRzjA8XmxGUEan4Z0dtEPYez/view?usp=sharing

 Here's the command

 ffmpeg -i graves-master-2.mp3 -ar 48000 -b:a 320k -hls_time 6
 -hls_list_size 0 -hls_base_url segments/ -hls_segment_filename
 segments/segment%03d.ts -vn out.m3u8


 Then run this:

 ffmpeg -i segments/segment134.ts -vn -f wav -y /dev/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] #8621(undetermined:new): FFMPEG Audio decoding fails on audio packet (works using libfdk)

2020-04-17 Thread FFmpeg
#8621: FFMPEG Audio decoding fails on audio packet (works using libfdk)
-+-
 Reporter:  rayaudius|Owner:
 Type:  defect   |   Status:  new
 Priority:  normal   |Component:
 |  undetermined
  Version:  git-master   |   Resolution:
 Keywords:  aac  |   Blocked By:
 Blocking:   |  Reproduced by developer:  0
Analyzed by developer:  0|
-+-
Changes (by cehoyos):

 * keywords:   => aac


Comment:

 Do you want to report an encoding or a decoding issue?
 If you want to report an encoding issue, please provide the encoding
 command line that you tested together with the complete, uncut console
 output and an input file that allows to reproduce the issue to make this a
 valid ticket.
 If you want to report a decoding issue: Is there an issue with the output
 wav file or are you reporting that an error is shown?

--
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] #8621(undetermined:new): FFMPEG Audio decoding fails on audio packet (works using libfdk)

2020-04-17 Thread FFmpeg
#8621: FFMPEG Audio decoding fails on audio packet (works using libfdk)
-+-
 Reporter:  rayaudius|Owner:
 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 rayaudius):

 * Attachment "QmUR6MeguuuvstqeK5q4q2EoroWQiY5d9bt1QqrzMEpQyd" added.

 Segment causing issues

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