Software Definition Networks (SDN) and Network Function Virtualization (NFV) make the applications of networks become flexible. This study proposes a mechanism, using SDN/NFV technologies, to transmit streaming video data in two different network conditions: (1) Transcoding is performed in a network with insufficient bandwidth; and (2) Network coding is performed in a network with sufficient bandwidth but with a high packet loss rate. Our experimental results showed that that the transmission of streaming video based on the proposed mechanism can be adapted to different network conditions so that the resulting video quality is improved and thus providing better quality of experience (QoE) for the users.