Page 1 of 1

Packet size = 1316

Posted: 18 Oct 2013 03:56
by hislitermos
Hello,
Issue: VLC at client side stops after 40-60seconds.

Stream type : RTP/Mpeg- H264 (TS)
When stream get started, I open my TV and stops after 40-60 seconds.
I need to set "packet size" to 1316 but I do not know how I can change it.

VLC 2.0.8:
Tools -> preferences -> All -> Input/Codec -> Demuxers -> MPEG-TS -> Packet size in byte to decrypte = 1316

Is this correct or should I change somewhere else?

Thanks in advance
Ermos

Re: Packet size = 1316

Posted: 18 Oct 2013 07:19
by JSLover
I need to set "packet size" to 1316...
...how do you know that? Who told you that that will fix this problem?
Is this correct...
...I don't know: did you try it?
...or should I change somewhere else?
...that is for "Input/Codec"...so my guess would be No, that won't (shouldn't) help you stream out.

I would recommend...
  1. In VLC, click ToolsPreferences
  2. At the bottom left, for Show settings, click All
  3. At the top left, for Search, paste the string: packet size
  4. In the box below Search, under Stream output ► Muxers, click: MPEG-TS
  5. On the right-side, scroll to the bottom, for Packet size in bytes to encrypt, set it to 1316 (or whatever...note: the default {in VLC 2.0.5} is 188)
  6. Click Save
  7. Close VLC to commit the pref change (otherwise, if VLC crashes, this change {or some changes} might not be saved)
  8. Run VLC & see if that fixes the problem
...that is how I would change that setting, but I have no idea if it will fix this problem (of stopping after 40-60 secs).

Also, this setting name says "encrypt"...so I still don't know if it applies to the general "packet size" of a TS stream...or some other packet size that has to do with "encrypt"ing.

Aha, this setting sounds more promising...
  1. In VLC, click ToolsPreferences
  2. At the bottom left, for Show settings, click All
  3. At the top left, for Search, paste the string: rtp
  4. In the box below Search, under Stream output ► Sout stream, click: RTP
  5. On the right-side, scroll to the bottom, for RTSP session timeout (s), set it to 0 for no timeout, or set it to 10 if you wanna test to see if the TV stops working after 10 secs (it will make sure this setting is actually controlling your problem).
  6. Click Save
  7. Close VLC to commit the pref change (otherwise, if VLC crashes, this change {or some changes} might not be saved)
  8. Run VLC & see if that fixes the problem

Re: Packet size = 1316

Posted: 18 Oct 2013 14:42
by hislitermos
Hello,
I really appreciated your detailed reply.
Second one solved the problem.
Many thanks for your time

Regards
Ermos