如何确定正在使用哪个 FFmpeg 文件

如何确定正在使用哪个 FFmpeg 文件

我想研究 MJPEG 解码器的代码。我尝试通过使用解码器的运行命令然后尝试识别执行解码任务的文件来做到这一点。

我运行了以下命令:

ffmpeg -r 10 -i heli.mjpg -vcodec copy newheli.avi

它产生了以下输出:

[avi @ 0x1818040] Non-monotonous DTS in output stream 0:0; previous: 372, current: 149; changing to 373. This may result in incorrect timestamps in the output file.
[avi @ 0x1818040] Non-monotonous DTS in output stream 0:0; previous: 373, current: 150; changing to 374. This may result in incorrect timestamps in the output file.
....
....
....
....
....
....

[avi @ 0x1818040] Non-monotonous DTS in output stream 0:0; previous: 536, current: 215; changing to 537. This may result in incorrect timestamps in the output file.
[avi @ 0x1818040] Non-monotonous DTS in output stream 0:0; previous: 537, current: 215; changing to 538. This may result in incorrect timestamps in the output file.
[avi @ 0x1818040] Non-monotonous DTS in output stream 0:0; previous: 538, current: 216; changing to 539. This may result in incorrect timestamps in the output file.
[avi @ 0x1818040] Non-monotonous DTS in output stream 0:0; previous: 539, current: 216; changing to 540. This may result in incorrect timestamps in the output file.
[avi @ 0x1818040] Non-monotonous DTS in output stream 0:0; previous: 540, current: 216; changing to 541. This may result in incorrect timestamps in the output file.
frame=  542 fps=0.0 q=-1.0 Lsize=    2720kB time=00:00:54.20 bitrate= 411.1kbits/s    
video:2701kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.686601%

输出的开始部分不可见。如何找到哪个 .c 文件正在执行 MJPEG 解码?如何隔离它,对 .c 进行更改,然后运行它?

编辑:

理想情况下,我希望将 MJPEG 解码器的代码传输到 Qt 之类的 IDE 并在那里分析代码。我很难理解如何在那里运行 MJPEG 解码器。

相关内容