[FFmpeg-user] ffmpeg desktop streaming artifacts
Marien Frederic GSN
Frederic.Marien at snox.com
Wed Mar 26 23:35:33 CET 2014
We are trying to stream a PC desktop to a TV by using FFMPEG, Serviio and DLNA (Mainly to stream the UI of an application).
We managed to get the desktop on the television without any big issues but now we notice some artifacts during the streaming. It looks like the artifacts are delta frames which are misplaced on the television screen.
For example the UI of the app we are streaming contains 6 grey squares next to each other. When we notice artifacts it often happens that we see a part of those gray squares appearing in other sections of the screen.
To stream the desktop we are using the following command: ffmpeg -f dshow -r 5 -i video="UScreenCapture" -vf crop=1920:1080:0:0 -vcodec mpeg4 -q:v 1 -f mpegts udp://127.0.0.1:6666
We tried VLC before and we didn't experience any artifacts when use VLC but the program crashed often, that's why we want to use ffmpeg without vlc.
I'm using the 64 bit version of ffmpeg and uscreencapture. This stream is captured and passed through to the tv via the serviio media server.
My questions are:
Is there anything wrong with the command which could introduce the artifacts we are seeing?
When the receives a key frame it is ok for a few seconds. Is it possible to only use key frames instead of key and delta frames?
Thanks in advance!
SNOX Automation bvba, 2630 Aartselaar, Belgium
INTERNET CONFIDENTIALITY STATEMENTS
This electronic mail message, including attachments, is a confidential communication exclusively between SNOX Automation and the intended recipient(s) indicated as the addressee(s). It contains information that is private and may be proprietary or may be covered by legal professional privilege. If you receive this message in any form and you are not the intended recipient you must not review, use, discuss or disseminate it. We would be grateful if you could contact the sender upon receipt and in any event you should destroy this message without delay. Anything contained in this message that is not connected with the business of SNOX Automation or its affiliates is neither endorsed by nor is the liability of this company.
More information about the ffmpeg-user