前提・実現したいこと
ネットワークエンコーダがマルチキャスト配信しているH.264の映像データを、PCのFFmpegで受信して静止画を作成したいと考えています。
エンコーダの設定でコンテナをMPEG-2 TSにすると正常に作成できますが、MPEG-2 TTSにすると作成できません。
FFmpegのオプション等で作成可能なのでしょうか。ご教授お願い致します。
発生している問題・エラーメッセージ
> ffmpeg -i udp://@239.203.0.80:29000 -ss 1 -t 1 -r 5 -f image2 %02d.jpg [mpeg @ 0000000001c6eec0] Format mpeg detected only with low score of 25, misdetection possible! Input #0, mpeg, from 'udp://@239.203.0.80:29000': Duration: N/A, start: 23.63250, bitrate: 128kb/s Stream #0:0[0x1c0]: Audio: mp2, 48000 Hz, stereo, s16p, 128 kb/s Output #0, image2, to '%02d.jpg': Output file #0 does not contain any stream > ffmpeg -i udp://@239.203.0.80:29000 [mpeg @ 0000000001c6eec0] Format mpeg detected only with low score of 25, misdetection possible! Input #0, mpeg, from 'udp://@239.203.0.80:29000': Duration: N/A, start: 241.024500, bitrate: 128kb/s Stream #0:0[0x1c0]: Audio: mp2, 48000 Hz, stereo, s16p, 128 kb/s At least one output file must be specified
該当のソースコード
ffmpeg -i udp://@239.203.0.80:29000 -ss 1 -t 1 -r 5 -f image2 %02d.jpg
試したこと
公式で配布されているFFmpegの他、以下の記事を参考にビルドしたものでも試しましたが、結果は変わりませんでした。
FFMPEG全部入り一撃インストールスクリプト
補足情報(FW/ツールのバージョンなど)
映像情報
- エンコーダ = MNB780ENC(kubotek)
- 映像 = H.264
- コンテナ = MPEG-2 TTS
- ペイロードタイプ = 103(コンテナをTTSにすると自動で設定される)
- パック数 = 6(コンテナをTTSにすると自動で設定される)
動作環境
- Windows 8.1 Pro
- FFmpeg N-82092
あなたの回答
tips
プレビュー