Bad Video Quality while streaming RTP with vlc

macOS specific usage questions
kapoorsudhish
Blank Cone
Blank Cone
Posts: 17
Joined: 14 Aug 2013 14:15

Bad Video Quality while streaming RTP with vlc

Postby kapoorsudhish » 04 Sep 2013 10:07

Hi All,
I have written an application which does HD streaming using RTP on IPad1, but the quality of video is very bad. I have taken options from VLC player and applied the same on the media object as shown in bellow code:

Code: Select all

NSUserDefaults *defaults = [NSUserDefaults standardUserDefaults]; _mediaPlayer = [[VLCMediaPlayer alloc] initWithOptions:@[[NSString stringWithFormat:@"--%@=%@", kVLCSettingSubtitlesFont, [defaults objectForKey:kVLCSettingSubtitlesFont]], [NSString stringWithFormat:@"--%@=%@", kVLCSettingSubtitlesFontColor, [defaults objectForKey:kVLCSettingSubtitlesFontColor]], [NSString stringWithFormat:@"--%@=%@", kVLCSettingSubtitlesFontSize, [defaults objectForKey:kVLCSettingSubtitlesFontSize]], [NSString stringWithFormat:@"--%@=%@",kVLCSettingDeinterlace,[defaults objectForKey:kVLCSettingDeinterlace]]]]; VLCMedia *media; NSURL *url = [NSURL URLWithString:urlString]; media = [VLCMedia mediaWithURL:url]; [media addOptions:@{kVLCSettingStretchAudio :@(NO), kVLCSettingTextEncoding : kVLCSettingTextEncodingDefaultValue, kVLCSettingSkipLoopFilter : kVLCSettingSkipLoopFilter ,kVLCSettingStretchAudio : kVLCSettingStretchAudioOffValue}]; [_mediaPlayer setDeinterlaceFilter:@"blend"]; [_mediaPlayer setMedia:media]; [_mediaPlayer play];
After trying some options still the quality of video is very bad and the video is blocky and jerky. Can some information be shared as to how can the quality of video be improved??

Regards,
Sudhish Kapoor

fkuehne
Developer
Developer
Posts: 7262
Joined: 16 Mar 2004 19:37
VLC version: 0.4.6 - present
Operating System: Darwin
Location: Germany
Contact:

Re: Bad Video Quality while streaming RTP with vlc

Postby fkuehne » 04 Sep 2013 11:19

Try passing kVLCSettingSkipLoopFilter @(0) - does it help?
VideoLAN
Felix Paul Kühne
Medic. VLC developer for appleOS since before you were born.
Blog: https://www.feepk.net

kapoorsudhish
Blank Cone
Blank Cone
Posts: 17
Joined: 14 Aug 2013 14:15

Re: Bad Video Quality while streaming RTP with vlc

Postby kapoorsudhish » 04 Sep 2013 14:52

Thanks for the response Felix, the fix works fine for the static images, but as soon as a moving object is seen, the video becomes blocky and bad (i was unable to upload the picture of the blocky video). Is there some way i can reduce the blocky/jerkiness of the video?? Also is there a way to reduce the initial buffering??

Regards,
Sudhish


Return to “VLC media player for macOS Troubleshooting”

Who is online

Users browsing this forum: No registered users and 7 guests