Opened 3 years ago

Closed 3 years ago

#5532 closed defect (fixed)

[regression] Impossible to convert between the formats supported by the filter 'Parsed_null_0' and the filter 'auto-inserted scaler 0'

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

Description

Summary of the bug:
How to reproduce:

ffmpeg-head -v 9 -loglevel 99 -i test.ts test.mp4 -report
ffmpeg version N-79883-g38eeb85 Copyright (c) 2000-2016 the FFmpeg developers
  built with gcc 5 (SUSE Linux)
  configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --incdir=/usr/include/ffmpeg --extra-cflags='-fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g' --optflags='-fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g' --enable-pic --disable-stripping --disable-shared --enable-static --enable-runtime-cpudetect --enable-gpl --disable-openssl --enable-avresample --enable-libcdio --enable-libdc1394 --enable-gcrypt --enable-gmp --enable-gnutls --enable-libass --enable-libbluray --enable-libfreetype --enable-libfribidi --enable-libgsm --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-libsnappy --enable-libvorbis --enable-libvpx --enable-libwebp --enable-pic --enable-pthreads --enable-vaapi --enable-vdpau --enable-libmp3lame --enable-version3 --enable-libx264 --enable-libx265 --enable-x11grab
  libavutil      55. 24.100 / 55. 24.100
  libavcodec     57. 40.100 / 57. 40.100
  libavformat    57. 36.100 / 57. 36.100
  libavdevice    57.  0.101 / 57.  0.101
  libavfilter     6. 45.100 /  6. 45.100
  libavresample   3.  0.  0 /  3.  0.  0
  libswscale      4.  1.100 /  4.  1.100
  libswresample   2.  0.101 /  2.  0.101
  libpostproc    54.  0.100 / 54.  0.100
Splitting the commandline.
Reading option '-v' ... matched as option 'v' (set logging level) with argument '9'.
Reading option '-loglevel' ... matched as option 'loglevel' (set logging level) with argument '99'.
Reading option '-i' ... matched as input file with argument 'test.ts'.
Reading option 'test.mp4' ... matched as output file.
Reading option '-report' ... matched as option 'report' (generate a report) with argument '1'.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option v (set logging level) with argument 9.
Applying option loglevel (set logging level) with argument 99.
Applying option report (generate a report) with argument 1.
Successfully parsed a group of options.
Parsing a group of options: input file test.ts.
Successfully parsed a group of options.
Opening an input file: test.ts.
[file @ 0x1dac600] Setting default whitelist 'file,crypto'
[mpegts @ 0x1dabe20] Format mpegts probed with size=2048 and score=100
[mpegts @ 0x1dabe20] stream=0 stream_type=2 pid=100 prog_reg_desc=
[mpegts @ 0x1dabe20] stream=1 stream_type=3 pid=101 prog_reg_desc=
[mpegts @ 0x1dabe20] Before avformat_find_stream_info() pos: 0 bytes read:32768 seeks:0
[mpegts @ 0x1dabe20] After avformat_find_stream_info() pos: 0 bytes read:733912 seeks:2 frames:64
Input #0, mpegts, from 'test.ts':
  Duration: 00:00:01.01, start: 1.469978, bitrate: 3832 kb/s
  Program 1
    Metadata:
      service_name    : Service01
      service_provider: FFmpeg
    Stream #0:0[0x100], 24, 1/90000: Video: mpeg2video (Main), 1 reference frame ([2][0][0][0] / 0x0002), yuv420p(tv, left), 1920x1080 (0x0) [SAR 1:1 DAR 16:9], 0/1, 25 fps, 25 tbr, 90k tbn
    Stream #0:1[0x101](tur), 40, 1/90000: Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, s16p, 384 kb/s
Successfully opened the file.
Parsing a group of options: output file test.mp4.
Successfully parsed a group of options.
Opening an output file: test.mp4.
[file @ 0x1dda1e0] Setting default whitelist 'file,crypto'
Successfully opened the file.
detected 8 logical cores
[graph 0 input from stream 0:0 @ 0x1de4e80] Setting 'video_size' to value '1920x1080'
[graph 0 input from stream 0:0 @ 0x1de4e80] Setting 'pix_fmt' to value '0'
[graph 0 input from stream 0:0 @ 0x1de4e80] Setting 'time_base' to value '1/90000'
[graph 0 input from stream 0:0 @ 0x1de4e80] Setting 'pixel_aspect' to value '1/1'
[graph 0 input from stream 0:0 @ 0x1de4e80] Setting 'sws_param' to value 'flags=2'
[graph 0 input from stream 0:0 @ 0x1de4e80] Setting 'frame_rate' to value '25/1'
[graph 0 input from stream 0:0 @ 0x1de4e80] w:1920 h:1080 pixfmt:yuv420p tb:1/90000 fr:25/1 sar:1/1 sws_param:flags=2
[format @ 0x1de53e0] compat: called with args=[vaapi_vld]
[format @ 0x1de53e0] Setting 'pix_fmts' to value 'vaapi_vld'
[auto-inserted scaler 0 @ 0x1de5f40] Setting 'flags' to value 'bicubic'
[auto-inserted scaler 0 @ 0x1de5f40] w:iw h:ih flags:'bicubic' interl:0
[format @ 0x1de53e0] auto-inserting filter 'auto-inserted scaler 0' between the filter 'Parsed_null_0' and the filter 'format'
Impossible to convert between the formats supported by the filter 'Parsed_null_0' and the filter 'auto-inserted scaler 0'
Error opening filters!
[AVIOContext @ 0x1dda2c0] Statistics: 0 seeks, 0 writeouts
[AVIOContext @ 0x1db48a0] Statistics: 733912 bytes read, 2 seeks

This works fine with ffmpeg 3.0.2.

Attachments (1)

test.ts (472.6 KB) - added by donmez 3 years ago.
Test input file

Download all attachments as: .zip

Change History (6)

Changed 3 years ago by donmez

Test input file

comment:1 Changed 3 years ago by donmez

  • Version changed from unspecified to git-master

comment:2 follow-up: Changed 3 years ago by heleppkes

Try forcing a specific encoder, ie. libx264, this might becaused by the vaapi encoders having a too high priority (something scheduled to be fixed soon).

comment:3 in reply to: ↑ 2 Changed 3 years ago by donmez

Replying to heleppkes:

Try forcing a specific encoder, ie. libx264, this might becaused by the vaapi encoders having a too high priority (something scheduled to be fixed soon).

That indeed fixes the issue.

comment:4 Changed 3 years ago by cehoyos

  • Keywords regression added
  • Priority changed from normal to important

comment:5 Changed 3 years ago by michael

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

This has been fixed by Anton / Merged by Derek in ed8bacfb5ca888255e8e15e44fb25722d31cf565

Note: See TracTickets for help on using tickets.