Opened 8 months ago

Closed 4 months ago

Last modified 4 months ago

#7618 closed defect (worksforme)

ffmpeg 32 bit crashed on x64 Windows for av01 format

Reported by: sunxvogy Owned by:
Priority: important Component: undetermined
Version: git-master Keywords: libaom crash
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

I have tried to use ffmpeg to convert av01 videos to H264 on x64 Windows, and the ffmpeg 64bit worked very well. However when I try to use ffmpeg 32bit exe to convert av01 to H264 or any other video format on Win7/Win10 x64, the ffmpeg crashed immediately and the window throws "ffmpeg has stopped working".

My command line:

ffmpeg.exe -i av01.mkv av01.mp4

If I test this with ffmpeg 32 bit and Windows 7 32 bit, it could work.
And, I can convert all other formats to H264 on Win7/Win10 x64 with ffmpeg 32 bit, except av01 format.

ffmpeg 32 bit version: ffmpeg-20181215-011c911-win32-static

So, it seems ffmpeg 32bit could only not work on 64 bit Windows for av01 format. Is it a bug or the av01 decoder's issue?

Thanks a lot for your help.

Attachments (1)

d.mp4 (1.5 MB) - added by sunxvogy 8 months ago.
av01 format

Download all attachments as: .zip

Change History (19)

comment:1 follow-up: Changed 8 months ago by jamrial

Can you post the command line you used that crashes for you and the output it printed?
Also, upload the sample somewhere if you can share it, or at least a portion of it.

Changed 8 months ago by sunxvogy

av01 format

comment:2 Changed 8 months ago by sunxvogy

I have uploaded a AV01 format file, named d.mp4. simply rename it to d.mkv then convert it by ffmpeg 32 bit on Windows x64, you can see the error.

Following is what I got from the ffmpeg. It stopped at the converting start.

===========================

C:\Users\Administrator\Desktop>ffmpeg -i d.mkv d.mp4
ffmpeg version N-92712-g011c9112a0 Copyright (c) 2000-2018 the FFmpeg developers

built with gcc 8.2.1 (GCC) 20181201
configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfi

g --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-lib
freetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amr
wb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --
enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-l
ibwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --
enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --en
able-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --en
able-libxvid --enable-libaom --enable-libmfx --enable-amf --enable-ffnvcodec --e
nable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enab
le-avisynth --enable-libopenmpt

libavutil 56. 24.101 / 56. 24.101
libavcodec 58. 42.102 / 58. 42.102
libavformat 58. 24.101 / 58. 24.101
libavdevice 58. 6.101 / 58. 6.101
libavfilter 7. 46.101 / 7. 46.101
libswscale 5. 4.100 / 5. 4.100
libswresample 3. 4.100 / 3. 4.100
libpostproc 55. 4.100 / 55. 4.100

[libaom-av1 @ 00a744c0] 1.0.0-1001-gf5c9213e7
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'd.mkv':

Metadata:

major_brand : dash
minor_version : 0
compatible_brands: iso6av01mp41
creation_time : 2018-09-13T12:31:47.000000Z

Duration: 00:03:44.60, start: 0.000000, bitrate: 57 kb/s

Stream #0:0(und): Video: av1 (Main) (av01 / 0x31307661), yuv420p(tv, bt709),

1920x1080, 73 kb/s, 25 fps, 25 tbr, 12800 tbn, 12800 tbc (default)

Metadata:

creation_time : 2018-09-13T12:31:47.000000Z
handler_name : ISO Media file produced by Google Inc. Created on: 09/13

/2018.
[libaom-av1 @ 00a69180] 1.0.0-1001-gf5c9213e7
Stream mapping:

Stream #0:0 -> #0:0 (av1 (libaom-av1) -> h264 (libx264))

Press [q] to stop, ? for help

C:\Users\Administrator\Desktop>

Version 0, edited 8 months ago by sunxvogy (next)

comment:3 in reply to: ↑ 1 Changed 8 months ago by sunxvogy

Replying to jamrial:

Can you post the command line you used that crashes for you and the output it printed?
Also, upload the sample somewhere if you can share it, or at least a portion of it.

Hi I have added that into the new comment. Thanks for your help. :)

comment:4 Changed 8 months ago by sunxvogy

It shows "libaom-av1" as decoder

comment:5 follow-up: Changed 8 months ago by cehoyos

  • Keywords libaom crash added
  • Priority changed from normal to important
  • Version set to git-master

Please test if you can reproduce with ffmpeg -i d.mkv -f null -. I fear that there is not much we can do without backtrace, disassembly and registry dump as explained on https://ffmpeg.org/bugreports.html

comment:6 in reply to: ↑ 5 Changed 8 months ago by sunxvogy

Hi,

Yes I could reproduce the issue with this command. The window jumped out and said "ffmpeg.exe has stopped working".

Replying to cehoyos:

Please test if you can reproduce with ffmpeg -i d.mkv -f null -. I fear that there is not much we can do without backtrace, disassembly and registry dump as explained on https://ffmpeg.org/bugreports.html

comment:7 follow-up: Changed 8 months ago by sunxvogy

My testing environment:

Intel i7-6500U, 8 GB RAM

Windows 7 x64 with latest update.

Windows 10 x64 with latest update.

Please note that only the ffmpeg 32bit throws this error on Win x64. The ffmpeg 64bit works well.

If you need anything please let me know, I will send it to you. Thanks a lot for your help.

And the ffmpeg 64bit works well, and output the info:

Press [q] to stop, [?] for help
[libx264 @ 00000000060a0500] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2
AVX FMA3 BMI2 AVX2
[libx264 @ 00000000060a0500] profile High, level 4.0, 4:2:0, 8-bit
[libx264 @ 00000000060a0500] 264 - core 157 r2935 545de2f - H.264/MPEG-4 AVC cod
ec - Copyleft 2003-2018 - http://www.videolan.org/x264.html - options: cabac=1 r
ef=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed
_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pski
p=1 chroma_qp_offset=-2 threads=6 lookahead_threads=1 sliced_threads=0 nr=0 deci
mate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_
adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=2
5 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.6
0 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
Output #0, mp4, to 'd.mp4':
  Metadata:
    major_brand     : dash
    minor_version   : 0
    compatible_brands: iso6av01mp41
    encoder         : Lavf58.23.102
    Stream #0:0(und): Video: h264 (libx264) (avc1 / 0x31637661), yuv420p, 1920x1
080, q=-1--1, 25 fps, 12800 tbn, 25 tbc (default)
    Metadata:
      creation_time   : 2018-09-13T12:31:47.000000Z
      handler_name    : ISO Media file produced by Google Inc. Created on: 09/13
/2018.
      encoder         : Lavc58.41.101 libx264
    Side data:
      cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1
frame=   28 fps=0.0 q=0.0 size=       0kB time=00:00:00.00 bitrate=N/A speed=
frame=   47 fps= 38 q=0.0 size=       0kB time=00:00:00.00 bitrate=N/A speed=
Last edited 8 months ago by sunxvogy (previous) (diff)

comment:8 in reply to: ↑ 7 ; follow-ups: Changed 8 months ago by cehoyos

Replying to sunxvogy:

If you need anything please let me know, I will send it to you.

In this case, please send backtrace, disassembly and register dump as explained on https://ffmpeg.org/bugreports.html

comment:9 in reply to: ↑ 8 Changed 8 months ago by sunxvogy

Replying to cehoyos:

Replying to sunxvogy:

If you need anything please let me know, I will send it to you.

In this case, please send backtrace, disassembly and register dump as explained on https://ffmpeg.org/bugreports.html

Hi,

I have run the gdb and get this:

C:\Users\Administrator\Desktop>gdb ffmpeg.exe
GNU gdb (GDB) 8.2
Copyright (C) 2018 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-w64-mingw32".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from ffmpeg.exe...(no debugging symbols found)...done.
(gdb) r -i d.mkv d.mp4
Starting program: C:\Users\Administrator\Desktop\ffmpeg.exe -i d.mkv d.mp4
[New Thread 116784.0x1c29c]
warning: `C:\Windows\SYSTEM32\ntdll.dll': Shared library architecture i386:x86-6
4 is not compatible with target architecture i386.
warning: `C:\Windows\SYSTEM32\wow64.dll': Shared library architecture i386:x86-6
4 is not compatible with target architecture i386.
warning: `C:\Windows\SYSTEM32\wow64win.dll': Shared library architecture i386:x8
6-64 is not compatible with target architecture i386.
warning: `C:\Windows\SYSTEM32\wow64cpu.dll': Shared library architecture i386:x8
6-64 is not compatible with target architecture i386.
warning: Could not load shared library symbols for WOW64_IMAGE_SECTION.
Do you need "set solib-search-path" or "set sysroot"?
warning: Could not load shared library symbols for WOW64_IMAGE_SECTION.
Do you need "set solib-search-path" or "set sysroot"?
warning: Could not load shared library symbols for NOT_AN_IMAGE.
Do you need "set solib-search-path" or "set sysroot"?
warning: Could not load shared library symbols for NOT_AN_IMAGE.
Do you need "set solib-search-path" or "set sysroot"?
ffmpeg version N-92714-g436bffaca2 Copyright (c) 2000-2018 the FFmpeg developers

  built with gcc 8.2.1 (GCC) 20181201
  configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfi
g --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-lib
freetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amr
wb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --
enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-l
ibwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --
enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --en
able-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --en
able-libxvid --enable-libaom --enable-libmfx --enable-amf --enable-ffnvcodec --e
nable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enab
le-avisynth --enable-libopenmpt
  libavutil      56. 24.101 / 56. 24.101
  libavcodec     58. 42.102 / 58. 42.102
  libavformat    58. 24.101 / 58. 24.101
  libavdevice    58.  6.101 / 58.  6.101
  libavfilter     7. 46.101 /  7. 46.101
  libswscale      5.  4.100 /  5.  4.100
  libswresample   3.  4.100 /  3.  4.100
  libpostproc    55.  4.100 / 55.  4.100
[libaom-av1 @ 00256240] 1.0.0-1001-gf5c9213e7
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'd.mkv':
  Metadata:
    major_brand     : dash
    minor_version   : 0
    compatible_brands: iso6av01mp41
    creation_time   : 2018-09-13T12:31:47.000000Z
  Duration: 00:03:44.60, start: 0.000000, bitrate: 57 kb/s
    Stream #0:0(und): Video: av1 (Main) (av01 / 0x31307661), yuv420p(tv, bt709),
 1920x1080, 73 kb/s, 25 fps, 25 tbr, 12800 tbn, 12800 tbc (default)
    Metadata:
      creation_time   : 2018-09-13T12:31:47.000000Z
      handler_name    : ISO Media file produced by Google Inc. Created on: 09/13
/2018.
File 'd.mp4' already exists. Overwrite ? [y/N] y
[libaom-av1 @ 00328200] 1.0.0-1001-gf5c9213e7
Stream mapping:
  Stream #0:0 -> #0:0 (av1 (libaom-av1) -> h264 (libx264))
Press [q] to stop, [?] for help
[New Thread 116784.0x1bfe0]
[New Thread 116784.0x1c104]
[New Thread 116784.0x1c454]

Thread 3 received signal SIGSEGV, Segmentation fault.
[Switching to Thread 116784.0x1c104]
0x0000002b in ?? ()
(gdb) bt
#0  0x0000002b in ?? ()
#1  0x00800080 in ffmpeg_g!av_dirac_parse_sequence_header ()
#2  0x00800080 in ffmpeg_g!av_dirac_parse_sequence_header ()
#3  0x00800080 in ffmpeg_g!av_dirac_parse_sequence_header ()
#4  0x00800080 in ffmpeg_g!av_dirac_parse_sequence_header ()
#5  0x00800080 in ffmpeg_g!av_dirac_parse_sequence_header ()
#6  0x00800080 in ffmpeg_g!av_dirac_parse_sequence_header ()
#7  0x00800080 in ffmpeg_g!av_dirac_parse_sequence_header ()
#8  0x00800080 in ffmpeg_g!av_dirac_parse_sequence_header ()
#9  0x00800080 in ffmpeg_g!av_dirac_parse_sequence_header ()
#10 0x00800080 in ffmpeg_g!av_dirac_parse_sequence_header ()
#11 0x00800080 in ffmpeg_g!av_dirac_parse_sequence_header ()
#12 0x00800080 in ffmpeg_g!av_dirac_parse_sequence_header ()
#13 0x00800080 in ffmpeg_g!av_dirac_parse_sequence_header ()
#14 0x00800080 in ffmpeg_g!av_dirac_parse_sequence_header ()
#15 0x00800080 in ffmpeg_g!av_dirac_parse_sequence_header ()
#16 0x00800080 in ffmpeg_g!av_dirac_parse_sequence_header ()
#17 0x00100010 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
(gdb) disass $pc-32,$pc+32
Dump of assembler code from 0xb to 0x4b:
   0x0000000b:  Cannot access memory at address 0xb
(gdb) info all-registers
eax            0x90a1160           151654752
ecx            0x9                 9
edx            0x4e0               1248
ebx            0x9d1eb28           164752168
esp            0x9d1eb28           0x9d1eb28
ebp            0x90a1160           0x90a1160
esi            0x9d1e920           164751648
edi            0x9d1e920           164751648
eip            0x2b                0x2b
eflags         0x77e6f901          [ CF TF OF NT VM AC ID ]
cs             0x0                 0
ss             0x246               582
ds             0xfffd5000          -176128
es             0x79fd20            7994656
fs             0x79ec30            7990320
gs             0x737c2450          1937515600
st0            <invalid float value> (raw 0x027f00000000020db54c)
st1            2.40765429080837447497e-4946 (raw 0x00000000000000010202)
st2            1.06110217245861686148e-4933 (raw 0x0000040a2e1000000023)
st3            1.06110217245861689064e-4933 (raw 0x0000040a2e100000002b)
st4            1.06110217245861689064e-4933 (raw 0x0000040a2e100000002b)
st5            1.06110217245861689064e-4933 (raw 0x0000040a2e100000002b)
st6            1.06110217245861703645e-4933 (raw 0x0000040a2e1000000053)
st7            1.06110217245861689064e-4933 (raw 0x0000040a2e100000002b)
--Type <RET> for more, q to quit, c to continue without paging--c
fctrl          0x0                 0
fstat          0x0                 0
ftag           0x0                 0
fiseg          0x0                 0
fioff          0x0                 0
foseg          0x0                 0
fooff          0x0                 0
fop            0x0                 0
xmm0           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int
8 = {0x7f, 0x2, 0x0 <repeats 14 times>}, v8_int16 = {0x27f, 0x0, 0x0, 0x0, 0x0,
0x0, 0x0, 0x0}, v4_int32 = {0x27f, 0x0, 0x0, 0x0}, v2_int64 = {0x27f, 0x0}, uint
128 = 0x27f}
xmm1           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int
8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0
}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0}, uint128 = 0x0}
xmm2           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int
8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0
}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0}, uint128 = 0x0}
xmm3           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int
8 = {0x0 <repeats 12 times>, 0x80, 0x1f, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0
x0, 0x0, 0x0, 0x1f80, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x1f80}, v2_int64 = {0x0,
 0x1f8000000000}, uint128 = 0x1f80000000000000000000000000}
xmm4           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int
8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0
}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0}, uint128 = 0x0}
xmm5           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int
8 = {0x0, 0x0, 0x0, 0x0, 0x80, 0x1f, 0x0, 0x0, 0xff, 0xff, 0x0, 0x0, 0x0, 0x0, 0
x0, 0x0}, v8_int16 = {0x0, 0x0, 0x1f80, 0x0, 0xffff, 0x0, 0x0, 0x0}, v4_int32 =
{0x0, 0x1f80, 0xffff, 0x0}, v2_int64 = {0x1f8000000000, 0xffff}, uint128 = 0xfff
f00001f8000000000}
xmm6           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int
8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x80, 0x1f, 0x0, 0x0, 0xff, 0xff, 0
x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x1f80, 0x0, 0xffff, 0x0}, v4_int32 =
{0x0, 0x0, 0x1f80, 0xffff}, v2_int64 = {0x0, 0xffff00001f80}, uint128 = 0xffff00
001f800000000000000000}
xmm7           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int
8 = {0x0 <repeats 12 times>, 0x80, 0x1f, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0
x0, 0x0, 0x0, 0x1f80, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x1f80}, v2_int64 = {0x0,
 0x1f8000000000}, uint128 = 0x1f80000000000000000000000000}
mxcsr          0x0                 [ ]
mm0            {uint64 = 0x20db54c, v2_int32 = {0x20db54c, 0x0}, v4_int16 = {0xb
54c, 0x20d, 0x0, 0x0}, v8_int8 = {0x4c, 0xb5, 0xd, 0x2, 0x0, 0x0, 0x0, 0x0}}
mm1            {uint64 = 0x10202, v2_int32 = {0x10202, 0x0}, v4_int16 = {0x202,
0x1, 0x0, 0x0}, v8_int8 = {0x2, 0x2, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0}}
mm2            {uint64 = 0x40a2e1000000023, v2_int32 = {0x23, 0x40a2e10}, v4_int
16 = {0x23, 0x0, 0x2e10, 0x40a}, v8_int8 = {0x23, 0x0, 0x0, 0x0, 0x10, 0x2e, 0xa
, 0x4}}
mm3            {uint64 = 0x40a2e100000002b, v2_int32 = {0x2b, 0x40a2e10}, v4_int
16 = {0x2b, 0x0, 0x2e10, 0x40a}, v8_int8 = {0x2b, 0x0, 0x0, 0x0, 0x10, 0x2e, 0xa
, 0x4}}
mm4            {uint64 = 0x40a2e100000002b, v2_int32 = {0x2b, 0x40a2e10}, v4_int
16 = {0x2b, 0x0, 0x2e10, 0x40a}, v8_int8 = {0x2b, 0x0, 0x0, 0x0, 0x10, 0x2e, 0xa
, 0x4}}
mm5            {uint64 = 0x40a2e100000002b, v2_int32 = {0x2b, 0x40a2e10}, v4_int
16 = {0x2b, 0x0, 0x2e10, 0x40a}, v8_int8 = {0x2b, 0x0, 0x0, 0x0, 0x10, 0x2e, 0xa
, 0x4}}
mm6            {uint64 = 0x40a2e1000000053, v2_int32 = {0x53, 0x40a2e10}, v4_int
16 = {0x53, 0x0, 0x2e10, 0x40a}, v8_int8 = {0x53, 0x0, 0x0, 0x0, 0x10, 0x2e, 0xa
, 0x4}}
mm7            {uint64 = 0x40a2e100000002b, v2_int32 = {0x2b, 0x40a2e10}, v4_int
16 = {0x2b, 0x0, 0x2e10, 0x40a}, v8_int8 = {0x2b, 0x0, 0x0, 0x0, 0x10, 0x2e, 0xa
, 0x4}}

comment:10 in reply to: ↑ 8 Changed 8 months ago by sunxvogy

Replying to cehoyos:

Replying to sunxvogy:

If you need anything please let me know, I will send it to you.

In this case, please send backtrace, disassembly and register dump as explained on https://ffmpeg.org/bugreports.html

I finally found the solution:

I changed the command from

ffmpeg.exe -i d.mkv d.mp4

to

ffmpeg.exe -threads 1 -i d.mkv d.mp4

Now it works!

comment:11 Changed 8 months ago by sunxvogy

  • Resolution set to fixed
  • Status changed from new to closed

comment:12 Changed 8 months ago by cehoyos

  • Resolution fixed deleted
  • Status changed from closed to reopened

comment:13 Changed 8 months ago by heleppkes

The only logical place for a crash to be when using an external decoder and external encoder is in those external libraries, not in FFmpeg.

comment:14 Changed 8 months ago by cehoyos

Can you reproduce the issue?

comment:15 follow-up: Changed 4 months ago by cehoyos

  • Resolution set to worksforme
  • Status changed from reopened to closed

I cannot reproduce:

$ ffmpeg -i d.mp4 -f null -t 12 -
ffmpeg version N-93562-g3e10223385 Copyright (c) 2000-2019 the FFmpeg developers
  built with gcc 8 (Ubuntu 8.2.0-7ubuntu1)
  configuration: --cc='gcc -m32' --enable-libaom --extra-cflags=-I../libaom --extra-ldflags=-L../aom_build
  libavutil      56. 26.100 / 56. 26.100
  libavcodec     58. 50.100 / 58. 50.100
  libavformat    58. 27.102 / 58. 27.102
  libavdevice    58.  7.100 / 58.  7.100
  libavfilter     7. 48.100 /  7. 48.100
  libswscale      5.  4.100 /  5.  4.100
  libswresample   3.  4.100 /  3.  4.100
[libaom-av1 @ 0x59755d40] 1.0.0-1613-ga56032289
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'd.mp4':
  Metadata:
    major_brand     : dash
    minor_version   : 0
    compatible_brands: iso6av01mp41
    creation_time   : 2018-09-13T12:31:47.000000Z
  Duration: 00:03:44.60, start: 0.000000, bitrate: 57 kb/s
    Stream #0:0(und): Video: av1 (Main) (av01 / 0x31307661), yuv420p(tv, bt709), 1920x1080, 73 kb/s, 25 fps, 25 tbr, 12800 tbn, 12800 tbc (default)
    Metadata:
      creation_time   : 2018-09-13T12:31:47.000000Z
      handler_name    : ISO Media file produced by Google Inc. Created on: 09/13/2018.
[libaom-av1 @ 0x597da340] 1.0.0-1613-ga56032289
Stream mapping:
  Stream #0:0 -> #0:0 (av1 (libaom-av1) -> wrapped_avframe (native))
Press [q] to stop, [?] for help
Output #0, null, to 'pipe:':
  Metadata:
    major_brand     : dash
    minor_version   : 0
    compatible_brands: iso6av01mp41
    encoder         : Lavf58.27.102
    Stream #0:0(und): Video: wrapped_avframe, yuv420p, 1920x1080, q=2-31, 200 kb/s, 25 fps, 25 tbn, 25 tbc (default)
    Metadata:
      creation_time   : 2018-09-13T12:31:47.000000Z
      handler_name    : ISO Media file produced by Google Inc. Created on: 09/13/2018.
      encoder         : Lavc58.50.100 wrapped_avframe
frame=  300 fps= 40 q=-0.0 Lsize=N/A time=00:00:12.00 bitrate=N/A speed=1.58x
video:116kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown

comment:16 in reply to: ↑ 15 Changed 4 months ago by sunxvogy

Please try FFMPEG.exe 32bit on Windows 7/10 64bit

Replying to cehoyos:

I cannot reproduce:

$ ffmpeg -i d.mp4 -f null -t 12 -
ffmpeg version N-93562-g3e10223385 Copyright (c) 2000-2019 the FFmpeg developers
  built with gcc 8 (Ubuntu 8.2.0-7ubuntu1)
  configuration: --cc='gcc -m32' --enable-libaom --extra-cflags=-I../libaom --extra-ldflags=-L../aom_build
  libavutil      56. 26.100 / 56. 26.100
  libavcodec     58. 50.100 / 58. 50.100
  libavformat    58. 27.102 / 58. 27.102
  libavdevice    58.  7.100 / 58.  7.100
  libavfilter     7. 48.100 /  7. 48.100
  libswscale      5.  4.100 /  5.  4.100
  libswresample   3.  4.100 /  3.  4.100
[libaom-av1 @ 0x59755d40] 1.0.0-1613-ga56032289
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'd.mp4':
  Metadata:
    major_brand     : dash
    minor_version   : 0
    compatible_brands: iso6av01mp41
    creation_time   : 2018-09-13T12:31:47.000000Z
  Duration: 00:03:44.60, start: 0.000000, bitrate: 57 kb/s
    Stream #0:0(und): Video: av1 (Main) (av01 / 0x31307661), yuv420p(tv, bt709), 1920x1080, 73 kb/s, 25 fps, 25 tbr, 12800 tbn, 12800 tbc (default)
    Metadata:
      creation_time   : 2018-09-13T12:31:47.000000Z
      handler_name    : ISO Media file produced by Google Inc. Created on: 09/13/2018.
[libaom-av1 @ 0x597da340] 1.0.0-1613-ga56032289
Stream mapping:
  Stream #0:0 -> #0:0 (av1 (libaom-av1) -> wrapped_avframe (native))
Press [q] to stop, [?] for help
Output #0, null, to 'pipe:':
  Metadata:
    major_brand     : dash
    minor_version   : 0
    compatible_brands: iso6av01mp41
    encoder         : Lavf58.27.102
    Stream #0:0(und): Video: wrapped_avframe, yuv420p, 1920x1080, q=2-31, 200 kb/s, 25 fps, 25 tbn, 25 tbc (default)
    Metadata:
      creation_time   : 2018-09-13T12:31:47.000000Z
      handler_name    : ISO Media file produced by Google Inc. Created on: 09/13/2018.
      encoder         : Lavc58.50.100 wrapped_avframe
frame=  300 fps= 40 q=-0.0 Lsize=N/A time=00:00:12.00 bitrate=N/A speed=1.58x
video:116kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown

comment:17 Changed 4 months ago by cehoyos

Tested on Windows 10 64bit:

> ffmpeg.exe -i Desktop\d.mp4 -f null -t 12 -
ffmpeg version N-93583-g5ba769214f Copyright (c) 2000-2019 the FFmpeg developers
  built with gcc 7.3-win32 (GCC) 20180506
  configuration: --cross-prefix=i686-w64-mingw32- --target-os=win32 --arch=x86_32 --enable-gpl --enable-libaom
  libavutil      56. 26.100 / 56. 26.100
  libavcodec     58. 51.100 / 58. 51.100
  libavformat    58. 27.102 / 58. 27.102
  libavdevice    58.  7.100 / 58.  7.100
  libavfilter     7. 48.100 /  7. 48.100
  libswscale      5.  4.100 /  5.  4.100
  libswresample   3.  4.100 /  3.  4.100
  libpostproc    55.  4.100 / 55.  4.100
[libaom-av1 @ 04820100] 1.0.0-1613-ga56032289
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'Desktop\d.mp4':
  Metadata:
    major_brand     : dash
    minor_version   : 0
    compatible_brands: iso6av01mp41
    creation_time   : 2018-09-13T12:31:47.000000Z
  Duration: 00:03:44.60, start: 0.000000, bitrate: 57 kb/s
    Stream #0:0(und): Video: av1 (Main) (av01 / 0x31307661), yuv420p(tv, bt709), 1920x1080, 73 kb/s, 25 fps, 25 tbr, 12800 tbn, 12800 tbc (default)
    Metadata:
      creation_time   : 2018-09-13T12:31:47.000000Z
      handler_name    : ISO Media file produced by Google Inc. Created on: 09/13/2018.
[libaom-av1 @ 0480d180] 1.0.0-1613-ga56032289
Stream mapping:
  Stream #0:0 -> #0:0 (av1 (libaom-av1) -> wrapped_avframe (native))
Press [q] to stop, [?] for help
Output #0, null, to 'pipe:':
  Metadata:
    major_brand     : dash
    minor_version   : 0
    compatible_brands: iso6av01mp41
    encoder         : Lavf58.27.102
    Stream #0:0(und): Video: wrapped_avframe, yuv420p, 1920x1080, q=2-31, 200 kb/s, 25 fps, 25 tbn, 25 tbc (default)
    Metadata:
      creation_time   : 2018-09-13T12:31:47.000000Z
      handler_name    : ISO Media file produced by Google Inc. Created on: 09/13/2018.
      encoder         : Lavc58.51.100 wrapped_avframe
frame=  300 fps= 35 q=-0.0 Lsize=N/A time=00:00:12.00 bitrate=N/A speed=1.39x
video:120kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown

comment:18 Changed 4 months ago by sunxvogy

It seems the bug has been fixed.

I have used the version built on 2018-10-17. The latest version I downloaded works well.

Note: See TracTickets for help on using tickets.