Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
libavformat [2018/06/09 21:13]
beandog
libavformat [2018/06/09 21:14]
beandog
Line 5: Line 5:
 On a DVD, because you're not opening a file, you would tell the demuxer what you're going to send it in the stream -- video size, pixel format, and maybe more. See [[https://​www.ffmpeg.org/​doxygen/​3.4/​group__lavu__dict.html#​ga8d9c2de72b310cef8e6a28c9cd3acbbe|av_dict_set()]] for setting attributes in an [[https://​www.ffmpeg.org/​doxygen/​3.4/​structAVDictionary.html|AVDictionary]] struct. On a DVD, because you're not opening a file, you would tell the demuxer what you're going to send it in the stream -- video size, pixel format, and maybe more. See [[https://​www.ffmpeg.org/​doxygen/​3.4/​group__lavu__dict.html#​ga8d9c2de72b310cef8e6a28c9cd3acbbe|av_dict_set()]] for setting attributes in an [[https://​www.ffmpeg.org/​doxygen/​3.4/​structAVDictionary.html|AVDictionary]] struct.
  
-[[https://​www.ffmpeg.org/​doxygen/​3.4/​group__lavf__decoding.html#​ga31d601155e9035d5b0e7efedc894ee49|avformat_open_input()]] will scan the input until it finds out what it is.+[[https://​www.ffmpeg.org/​doxygen/​3.4/​group__lavf__decoding.html#​ga31d601155e9035d5b0e7efedc894ee49|avformat_open_input()]] will scan the input until it finds out what it is. I think setting dict options would only apply though if you were passing rawvideo, and not something that was muxed already and had data about the stream.

Navigation