Thanks to visit codestin.com
Credit goes to github.com

Skip to content

不支持在一个进程中同时编码多个视频 #25

@jason-deng

Description

@jason-deng

不支持在一个进程中同时编码多个视频

进程直接崩溃。

复现

例如:

ffmpeg -f lavfi -i testsrc2=duration=10 \
  -s 400x300 -c:v avs2 out1.avs \
  -s 200x150 -c:v avs2 out2.avs

输出:

Input #0, lavfi, from 'testsrc2=duration=10':
  Duration: N/A, start: 0.000000, bitrate: N/A
    Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 320x240 [SAR 1:1 DAR 4:3], 25 tbr, 25 tbn, 25 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (rawvideo (native) -> avs2 (libxavs2))
  Stream #0:0 -> #1:0 (rawvideo (native) -> avs2 (libxavs2))
Press [q] to stop, [?] for help
xavs2[e]:  deprecated parameter: FrameRate = 3
Output #0, avs2, to 'out1.avs':
  Metadata:
    encoder         : Lavf58.29.100
    Stream #0:0: Video: avs2 (libxavs2), yuv420p, 400x300 [SAR 1:1 DAR 4:3], q=2-31, 25 fps, 25 tbn, 25 tbc
    Metadata:
      encoder         : Lavc58.54.100 libxavs2
xavs2[e]:  deprecated parameter: FrameRate = 3
段错误 (核心已转储)

期望行为

支持在一个进程中同时编码多个视频。

运行环境

  • OS: Ubuntu 18.04
  • FFmpeg: 4.2.0
  • Compiler: GCC 8.3.0
  • Nasm: 2.13.02

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions