![]() So, my example of command I have "constructed" to mess with nvdec/nvenc on a nVidia GTX755M SLI: C:\soft\ffmpeg_cuda\media-autobuild_suite\local64\bin-video\ffmpeg.exe -y -vsync 0 -hwaccel cuvid -hwaccel_device 1 -c:V:0 h264_cuvid -i "C:\torrent\Video\Movies\Love's Enduring Promise (2004) WEB-DL 1080p. ’v’ matches all video streams, ’V’ only matches video streams which are not attached pictures, video thumbnails or cover arts. Another example is the setpts filter, which only sets timestamps and otherwise passes the frames unchanged.Īlso, there is a stream_type specifiers for video: v and uppercase V. the fps filter in the example above changes number of frames, but does not touch the frame contents. Note that some filters change frame properties but not frame contents. | input | -> | deinterlace | -> | scale | -> | output | A simple filtergraph for video can look for example like this: _ _ _ _ Simple filtergraphs are configured with the per-stream -filter option (with -vf and -af aliases for video and audio respectively). In the above diagram they can be represented by simply inserting an additional step between decoding and encoding: _ _ ![]() ![]() Simple filtergraphs are those that have exactly one input and output, both of the same type. I've played with nvdec also, and found that it's better to use -filter ( ffmpeg documentation says it's a "per-stream filtering option") instead of -vf or -af aliases as those aliases touch "all streams of video or audio". I've found that some options is not good. I'm here also playing with ffmpeg and nvdec/nvenc.
0 Comments
Leave a Reply. |