Giter Site home page Giter Site logo

dgmpgdec's People

Contributors

maki-rxrz avatar mike2718 avatar videoh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dgmpgdec's Issues

DGIndex: Crash issue by VS2017 build

VS2017でビルドしたDGIndexが正常動作しない。
(VS2015までは一切発生していない問題)

この辺で、ざっと書いておいたヤツです。
https://mevius.5ch.net/test/read.cgi/avi/1485415675/118

【概要】
VS2017でビルドしたDGIndexがMPEG-2 Videoデコード時に異常終了する。
・GOP先頭のピクチャーがフィールド構造ピクチャー(field structure picture)な場合
・「再生(F5)」を実行時 (フレーム/フィールドのピクチャータイプ問わず)

【条件】
WholeProgramOptimization ('/GL'、'/LTCG') を有効にし、VS2017でビルドしたバイナリ。
※ 既存のプロジェクトファイルの設定ではReleaseビルドが対象

【状況】
src/dgindex/getpic.cpp の void Decode_Picture() において、
1(フィールドorフレーム)ピクチャー目のデコードを完了し該当関数を抜けた後に、クラッシュが発生。

DGIndex上でのプレビュー時は、
フレームピクチャー :1ピクチャー目をデコードを完了すると Decode_Picture() の処理を途中中断し、問題個所の処理が実行されない
フィールドピクチャー:1フレーム取得に2ピクチャーを必要とする為、Decode_Picture() を途中中断せずに実行し、クラッシュする

「再生(F5)」動作はピクチャーを順次デコードする為、ピクチャータイプを問わず即クラッシュする。

【暫定対応】
・__try 例外エラー検出そのものを削除
・__try の適応範囲を変更

後者を暫定対応としてworkaroundブランチにpush、一時的にデフォルトのブランチとしておく。
https://github.com/maki-rxrz/DGMPGDec/tree/workaround

<補足>
DGDecodeの同等コードではそもそも例外エラー検出を使用していない。(見直しを図るべき要因)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.