Git Product home page Git Product logo

Comments (3)

walterav1984 avatar walterav1984 commented on September 18, 2024

Duplicate ticket?
#328
http://casparcg.com/forum/viewtopic.php?f=3&t=1631

Workaround:
Preconvert your 4:2:0 interlaced DV/Mpeg2/H264 footage in ffmpeg with the following parameter "-vf scale=interl=1" and choose a output videocodec that has 4:2:2 or higher chroma subsampling support for instance "prores" or raw "uyvy422". Two examples below:

"ffmpeg -i chromaerror.dv -vf scale=interl=1 -c:v prores chromafix422i.mov"
"ffmpeg -i chromaerror.dv -vf scale=interl=1 -vcodec rawvideo -pix_fmt uyvy422 -acodec copy -f avi chromafix422i.avi"

Native CasparCG Solution:
Since CasparCG ffmpeg producer can use ffmpeg parameters and or filters its possible to fix this in realtime with no hacks in CasparCG source code! Only tested file playback, streams IP/DV have not been tested yet! The following AMCP FILTER command fixes the chroma upsampling error:

play 1-1 chromaerrorfootage FILTER scale=interl=1,format=pix_fmts=uyvy422

Please update the CasparCG wiki "Chroma Subsampling" and "Producer > Filter" pages with these Workaround/Fixes for interlaced Chroma 4:2:0 based footage:

http://casparcg.com/wiki/Content_/_Media#Chroma_Subsampling
http://casparcg.com/wiki/CasparCG_Server#Producers_.28Input_Modules.29

Except from being GPU accelerated, and this FILTER preset can be added as a template to the CasparCG Client could this bug be closed?

from server.

HellGore avatar HellGore commented on September 18, 2024

No, this should be fixed in the CasparCG Server. No user/client intervention should be needed. And yes the bugs are duplicates.

Basically your workaround is exactly what would be done automatically in the server with the suggested solution by @ronag.

from server.

ronag avatar ronag commented on September 18, 2024

Fixed in 2.2.0

from server.

Related Issues (20)

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.