Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
Parser
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Anduin Xue
Parser
Commits
63e2e68c
There was an error fetching the commit references. Please try again later.
Commit
63e2e68c
authored
2 years ago
by
Anduin Xue
Browse files
Options
Downloads
Patches
Plain Diff
Parser videos with privacy info.
parent
a0fa2c85
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/Parser.FFmpeg/FFmpegEntry.cs
+2
-1
2 additions, 1 deletion
src/Parser.FFmpeg/FFmpegEntry.cs
with
2 additions
and
1 deletion
src/Parser.FFmpeg/FFmpegEntry.cs
+
2
−
1
View file @
63e2e68c
...
...
@@ -48,7 +48,8 @@ namespace Aiursoft.Parser.FFmpeg
(
!
baseFileInfo
.
Contains
(
"Video: hevc"
)
||
// Not HEVC
!
filePath
.
EndsWith
(
".mp4"
)
// Or not MP4
!
filePath
.
EndsWith
(
".mp4"
)
||
// Or not MP4
baseFileInfo
.
Contains
(
"creation_time"
)
// Or contains privacy info (Never parsed before)
);
var
bareName
=
Path
.
GetFileNameWithoutExtension
(
filePath
);
var
newFileName
=
$"
{
fileInfo
.
Directory
}{
Path
.
DirectorySeparatorChar
}{
bareName
}
_265.mp4"
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment