Edit : the other code used to run gstreamer works (quarktv) but the quality is lower... Could someone help me make the first one works?