問題タブ [muxer]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票する
1 に答える
2690 参照

ffmpeg - avcodec_encode_audio2()/avcodec_encode_video2() を avcodec_send_frame() および avcodec_receive_packet() に置き換える方法は?

リンクの多重化の例では、推奨されていない/の代わりにavcodec_send_frame()andを使用しようとしています。のavcodec_receive_packet()avcodec_encode_audio2()avcodec_encode_video2()

そして

関数と関数got_packetを使用するときに変数を割り当てるものと、その場合のコードの変更方法. 私はこれまでにこれを試しましたavcodec_send_frame()avcodec_receive_packet()

しかし、機能しておらず、機能させるのに苦労しています。