Skip to content

Conversation

@pirvudoru
Copy link

@pirvudoru pirvudoru commented Jan 11, 2017

This is to allow passing input option -re in front of the input path, otherwise ffmpeg will complain.

This is on top of #1

Must be checked out and force pushed to master since at some point they diverged

BuildTools and others added 30 commits October 27, 2015 15:30
Use yajl-ruby for JSON parsing
Additionally, refactor the Open3 stub methods to provide the corrected
stdout vs stderr. ffprobe provides its output on stdout instead of
stderr which is where it had been retreived previously.
Because ffprobe does not return a decimal frame per second and instead
returns a rational number there is no need for this test.

Also, the colorspace returned in its own field. Therefore, regular
expression gymnastics are no longer requred.
ffprobe returns its frame rate as a rational number as opposed to a
floating point (e.g., 24600/1469 instead of 16.75). This allows the
number to maintain a higher precision but is somewhat of a breaking
change for the specs and thus the API.

ffprobe's default units are bit/s instead of the old ffmpeg output being
in kb/s. Again, higher precision but a breaking change for the specs and
thus the API.

ffprobe does not provide a property like FFMPEG::Movie#video_stream or
FFMPEG::Movie#audio_stream. Therefore, an attempt to emulate it and
provide backwards compatibility is provided.
… up screenshot generation by a huge factor as it avoids repeated seeks through large files.
bikeath1337 and others added 29 commits August 23, 2016 14:24
…se of String options was removed in 2.1.0 when the

transcoder options were no longer passed through shell.
sudo is not recommended for gem install
require 'rubygems' is not needed anymore
consistent hash syntax
and a little bit more readability improvement
can be passed through to the remote host.
Just fix the typo in the Readme)
According to https://trac.ffmpeg.org/ticket/3798
ffprobe `might` return `0:1` as dar/sar, which they mean `invalid/unset`
Make sure we don’t trust that value, even on the rotated movie.

closes streamio#150, closes streamio#151
But keep the backwards compatibility.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.