Como posso determinar qual arquivo FFmpeg está sendo usado

1

Eu quero estudar o código para o decodificador MJPEG. Eu estou tentando fazer isso usando comandos de execução para o decodificador e, em seguida, tentando identificar qual arquivo executar a tarefa de decodificação.

Eu corri o seguinte comando:

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

Produziu a seguinte saída:

[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%

A parte inicial da saída não é visível. Como posso encontrar qual arquivo .c está executando a decodificação MJPEG? Como posso isolá-lo, fazer alterações no arquivo .c e depois executá-lo?

EDITAR:

Idealmente, eu gostaria de transferir o código para o decodificador MJPEG para um IDE como o Qt e analisar o código lá. Eu estou lutando para entender como posso executar o decodificador MJPEG lá.

    
por a_sid 09.03.2017 / 03:22

0 respostas