Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add analyse level full#291

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
valnoel merged 19 commits intoavTranscoder:developfromcchampet:addAnalyseLevelFull
Nov 23, 2016

Conversation

cchampet
Copy link
Member

@cchampetcchampet commentedNov 21, 2016
edited
Loading

I compiled ffmpeg-2.7.7 and avTranscoder in release mode without any specific options, and I get 1min of process to decode and compute all the properties (bitrate, duration, nbFrames) of an AVC stream of 3min (stored in local).

Clement Champetier added13 commitsNovember 21, 2016 11:58
Use the number of decoded frames in analyseGopStructure method.
The current frame is already decoded when we call the callback.
@coveralls
Copy link

coveralls commentedNov 21, 2016
edited
Loading

Coverage Status

Coverage increased (+0.1%) to 78.273% when pullingd853c8c on cchampet:addAnalyseLevelFull intocbb248b on avTranscoder:develop.

2 similar comments
@coveralls
Copy link

Coverage Status

Coverage increased (+0.1%) to 78.273% when pullingd853c8c on cchampet:addAnalyseLevelFull intocbb248b on avTranscoder:develop.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.1%) to 78.273% when pullingd853c8c on cchampet:addAnalyseLevelFull intocbb248b on avTranscoder:develop.

@coveralls
Copy link

coveralls commentedNov 21, 2016
edited
Loading

Coverage Status

Coverage increased (+0.1%) to 78.273% when pulling7f1077f on cchampet:addAnalyseLevelFull intocbb248b on avTranscoder:develop.

2 similar comments
@coveralls
Copy link

Coverage Status

Coverage increased (+0.1%) to 78.273% when pulling7f1077f on cchampet:addAnalyseLevelFull intocbb248b on avTranscoder:develop.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.1%) to 78.273% when pulling7f1077f on cchampet:addAnalyseLevelFull intocbb248b on avTranscoder:develop.

@cchampetcchampet changed the title[WIP] Add analyse level fullAdd analyse level fullNov 22, 2016
@coveralls
Copy link

coveralls commentedNov 22, 2016
edited
Loading

Coverage Status

Coverage increased (+0.1%) to 78.273% when pulling84fc4bf on cchampet:addAnalyseLevelFull intocbb248b on avTranscoder:develop.

2 similar comments
@coveralls
Copy link

Coverage Status

Coverage increased (+0.1%) to 78.273% when pulling84fc4bf on cchampet:addAnalyseLevelFull intocbb248b on avTranscoder:develop.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.1%) to 78.273% when pulling84fc4bf on cchampet:addAnalyseLevelFull intocbb248b on avTranscoder:develop.

VideoFrame frame(VideoFrameDesc(getWidth(), getHeight(), getPixelFormatName(getPixelProperties().getAVPixelFormat())), false);

_nbFrames = nbDecodedFrames;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Does this have a real sense to set the number of images with the GOP image number?


// Returns at the beginning of the stream
const_cast<InputFile&>(_fileProperties->getInputFile()).seekAtFrame(0, AVSEEK_FLAG_BYTE);
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Shouldn't we use a switch statement here? We might have thisconst_cast<InputFile&>(_fileProperties->getInputFile()).seekAtFrame(0, AVSEEK_FLAG_BYTE); line twice, but it could be clearer, don't you think?

Copy link
MemberAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Something like that?ad44be7

LOG_INFO("Need a deeper analysis: see eAnalyseLevelFirstGop.")
return 0;
}
else
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Not necessary! :)

Copy link
MemberAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Humm... I think it is ;)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

I think it is not!

Copy link
MemberAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Well, you changed it into thegetDuration() method, but not into thisgetNbFrames()!

Copy link
MemberAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

"Et voilà"0f7508f :)

LOG_INFO("Need a deeper analysis: see eAnalyseLevelFirstGop.")
return 0;
}
else
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Not necessary too!

Use a switch statement instead of several if.
Else statement was not necessary!
@coveralls
Copy link

coveralls commentedNov 23, 2016
edited
Loading

Coverage Status

Coverage increased (+0.1%) to 78.267% when pullinga61d95f on cchampet:addAnalyseLevelFull intocbb248b on avTranscoder:develop.

5 similar comments
@coveralls
Copy link

Coverage Status

Coverage increased (+0.1%) to 78.267% when pullinga61d95f on cchampet:addAnalyseLevelFull intocbb248b on avTranscoder:develop.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.1%) to 78.267% when pullinga61d95f on cchampet:addAnalyseLevelFull intocbb248b on avTranscoder:develop.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.1%) to 78.267% when pullinga61d95f on cchampet:addAnalyseLevelFull intocbb248b on avTranscoder:develop.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.1%) to 78.267% when pullinga61d95f on cchampet:addAnalyseLevelFull intocbb248b on avTranscoder:develop.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.1%) to 78.267% when pullinga61d95f on cchampet:addAnalyseLevelFull intocbb248b on avTranscoder:develop.

@coveralls
Copy link

coveralls commentedNov 23, 2016
edited
Loading

Coverage Status

Coverage increased (+0.1%) to 78.267% when pullinga61d95f on cchampet:addAnalyseLevelFull intocbb248b on avTranscoder:develop.

2 similar comments
@coveralls
Copy link

Coverage Status

Coverage increased (+0.1%) to 78.267% when pullinga61d95f on cchampet:addAnalyseLevelFull intocbb248b on avTranscoder:develop.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.1%) to 78.267% when pullinga61d95f on cchampet:addAnalyseLevelFull intocbb248b on avTranscoder:develop.

Else statement was not necessary!
@coveralls
Copy link

Coverage Status

Coverage increased (+0.1%) to 78.267% when pulling0f7508f on cchampet:addAnalyseLevelFull intocbb248b on avTranscoder:develop.

4 similar comments
@coveralls
Copy link

Coverage Status

Coverage increased (+0.1%) to 78.267% when pulling0f7508f on cchampet:addAnalyseLevelFull intocbb248b on avTranscoder:develop.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.1%) to 78.267% when pulling0f7508f on cchampet:addAnalyseLevelFull intocbb248b on avTranscoder:develop.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.1%) to 78.267% when pulling0f7508f on cchampet:addAnalyseLevelFull intocbb248b on avTranscoder:develop.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.1%) to 78.267% when pulling0f7508f on cchampet:addAnalyseLevelFull intocbb248b on avTranscoder:develop.

@valnoelvalnoel merged commit244f417 intoavTranscoder:developNov 23, 2016
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@valnoelvalnoelvalnoel left review comments

Assignees

@valnoelvalnoel

Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

3 participants
@cchampet@coveralls@valnoel

[8]ページ先頭

©2009-2025 Movatter.jp