Saved stream skips and is choppy

*nix specific usage questions
mips12
New Cone
New Cone
Posts: 4
Joined: 01 Apr 2018 17:59

Saved stream skips and is choppy

Postby mips12 » 01 Apr 2018 18:08

Hi,

I'm automating saving of streams on my Pi2 B+ using cron.

The command I use is "cvlc stream.m3u8 --sout=file/ts:foo.mpg --run_time 3600"

This works correctly in that the resulting video file gets created and is playable (again through vlc). However, a few things are off..
  • Segments of the video are missing. I'll be watching it from start to beginning and then it'll just skip to another later part.
  • Forwarding and rewinding results in gray "blocks" for a sec until everything normalizes.
  • Scrolling through the video results in vlc not showing a time for the video anymore. It just says 0
Any ideas as to what may be causing this?

Does my command look right in that I'm saving an m3u8 ts stream to an mpeg?
Could this have anything to do with the processing power of my Pi2 B+?

Thanks!

mips12
New Cone
New Cone
Posts: 4
Joined: 01 Apr 2018 17:59

Re: Saved stream skips and is choppy

Postby mips12 » 01 Apr 2018 19:20

I should add that I'm saving the stream to an external HDD and that I'm playing the video back on a Macbook Air (upon downloading it from the Pi)

mips12
New Cone
New Cone
Posts: 4
Joined: 01 Apr 2018 17:59

Re: Saved stream skips and is choppy

Postby mips12 » 02 Apr 2018 16:57

SOLVED: This was due to me trying to capture a .m3u8. M3u8s are just text files for playlists containing actual links. Thus, vlc would miss some data causing the choppiness. I solved this by using ffmpeg and everything works great.


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 13 guests