streaming stops, where interactive view works fine?

About encoding, codec settings, muxers and filter usage
tdemeyer
New Cone
New Cone
Posts: 2
Joined: 07 Jun 2016 09:15

streaming stops, where interactive view works fine?

Postby tdemeyer » 07 Jun 2016 09:57

Hi,

We need to stream max 5 mp4 videofiles to a broadcast appliance, that puts these streams on our internal cable network (I working in a hospital)

So I put these file in a folder, and made a small script that starts VLC in streaming mode for these files..

Code: Select all

start /min vlc.exe C:\Streaming\stream90.mp4 :sout=#udp{dst=239.255.255.1:50000} :sout-keep start /min vlc.exe C:\Streaming\stream91.mp4 :sout=#udp{dst=239.255.255.2:50000} :sout-keep start /min vlc.exe C:\Streaming\stream92.mp4 :sout=#udp{dst=239.255.255.3:50000} :sout-keep start /min vlc.exe C:\Streaming\stream93.mp4 :sout=#udp{dst=239.255.255.4:50000} :sout-keep start /min vlc.exe C:\Streaming\stream94.mp4 :sout=#udp{dst=239.255.255.5:50000} :sout-keep
The destination IP's an ports are what I got from the appliance guys

This does the job rather fine, except that when trying to stream certain files, VLC exits after a few seconds.
At first glance I thought there ws something wrong with the files themselves (codec issue?) but when I play them 'interactivly' (double click the file, and it opens in VLC) everything plays just fine

So what is the difference between playing 'live' and 'streaming'?? Any suggestion on how to get things working are welcome..

I have mediainfo :

This one plays fine:

Code: Select all

General Complete name : \\telenet\c$\Streaming\stream90.mp4 Format : MPEG-4 Format profile : QuickTime Codec ID : qt 0000.00 (qt ) File size : 279 MiB Duration : 2mn 34s Overall bit rate : 15.1 Mbps Movie name : edit 3 Album/Performer : admin Description : This video is about edit 3 Encoded date : UTC 2015-11-30 12:30:11 Tagged date : UTC 2015-11-30 12:39:52 Writing library : Apple QuickTime Keyword : Rushes,Edits,15. echografie,20a. man bloemen,14. zorro,09. prematuur,15b. kinderafdeling tedybeer,01. ochtendbeelden,17. ct scanner,18b. verpleegster + oude vrouw kamer,10. pillenkamer,2015-09-29,99. koffie,20. jonge vrouw bloemen,kaart 1,19. apparatuur operatiekwartier,18. oogarts,16. rugschool,11. rode neus,06. lockers,05. keuken,ronin,02. kamer ochtend,21. oudjes ,98. vrouw met kind com.apple.quicktime.author : admin com.apple.quicktime.keywords : Rushes,Edits,15. echografie,20a. man bloemen,14. zorro,09. prematuur,15b. kinderafdeling tedybeer,01. ochtendbeelden,17. ct scanner,18b. verpleegster + oude vrouw kamer,10. pillenkamer,2015-09-29,99. koffie,20. jonge vrouw bloemen,kaart 1,19. apparatuur operatiekwartier,18. oogarts,16. rugschool,11. rode neus,06. lockers,05. keuken,ronin,02. kamer ochtend,21. oudjes ,98. vrouw met kind com.apple.quicktime.title : edit 3 Video ID : 2 Format : AVC Format/Info : Advanced Video Codec Format profile : High@L4.2 Format settings, CABAC : Yes Format settings, ReFrames : 2 frames Format settings, GOP : M=2, N=29 Codec ID : avc1 Codec ID/Info : Advanced Video Coding Duration : 2mn 34s Bit rate : 15.0 Mbps Width : 1 920 pixels Height : 1 080 pixels Display aspect ratio : 16:9 Frame rate mode : Constant Frame rate : 50.000 fps Color space : YUV Chroma subsampling : 4:2:0 Bit depth : 8 bits Scan type : Progressive Bits/(Pixel*Frame) : 0.144 Stream size : 276 MiB (99%) Title : Core Media Video Encoded date : UTC 2015-11-30 12:30:11 Tagged date : UTC 2015-11-30 12:39:52 Color range : Limited Color primaries : BT.709 Transfer characteristics : BT.709 Matrix coefficients : BT.709 Audio ID : 1 Format : AAC Format/Info : Advanced Audio Codec Format profile : LC Codec ID : 40 Duration : 2mn 34s Source duration : 2mn 34s Bit rate mode : Constant Bit rate : 128 Kbps Channel(s) : 2 channels Channel positions : Front: L R Sampling rate : 48.0 KHz Frame rate : 46.875 fps (1024 spf) Compression mode : Lossy Stream size : 2.32 MiB (1%) Source stream size : 2.32 MiB (1%) Title : Core Media Audio Language : English Encoded date : UTC 2015-11-30 12:30:11 Tagged date : UTC 2015-11-30 12:39:52 Other ID : 3 Type : Time code Format : QuickTime TC Duration : 2mn 34s Time code of first frame : 00:00:00:00 Time code, striped : Yes Title : Core Media Time Code Encoded date : UTC 2015-11-30 12:30:11 Tagged date : UTC 2015-11-30 12:39:52
Another one that plays fine:

Code: Select all

General Complete name : \\telenet\c$\Streaming\Stream91.mp4 Format : MPEG-4 Format profile : Base Media / Version 2 Codec ID : mp42 (mp41/isom) File size : 52.1 MiB Duration : 3mn 37s Overall bit rate : 2 007 Kbps Encoded date : UTC 2016-01-14 11:22:45 Tagged date : UTC 2016-01-14 11:22:45 Video ID : 1 Format : AVC Format/Info : Advanced Video Codec Format profile : Baseline@L4 Format settings, CABAC : No Format settings, ReFrames : 2 frames Format settings, GOP : M=1, N=25 Codec ID : avc1 Codec ID/Info : Advanced Video Coding Duration : 3mn 37s Bit rate : 1 811 Kbps Width : 1 920 pixels Height : 1 080 pixels Display aspect ratio : 16:9 Frame rate mode : Variable Frame rate : 25.000 fps Minimum frame rate : 25.000 fps Maximum frame rate : 25.641 fps Color space : YUV Chroma subsampling : 4:2:0 Bit depth : 8 bits Scan type : Progressive Bits/(Pixel*Frame) : 0.035 Stream size : 47.0 MiB (90%) Encoded date : UTC 2016-01-14 11:22:45 Tagged date : UTC 2016-01-14 11:22:45 Audio ID : 2 Format : AAC Format/Info : Advanced Audio Codec Format profile : LC Codec ID : 40 Duration : 3mn 37s Bit rate mode : Constant Bit rate : 192 Kbps Channel(s) : 2 channels Channel positions : Front: L R Sampling rate : 44.1 KHz Frame rate : 43.066 fps (1024 spf) Compression mode : Lossy Stream size : 5.03 MiB (10%) Encoded date : UTC 2016-01-14 11:22:45 Tagged date : UTC 2016-01-14 11:22:45 mdhd_Duration : 217606
But this one doesn't :

Code: Select all

General Complete name : \\telenet\c$\Streaming\stream93.mp4 Format : MPEG-4 Format profile : Base Media Codec ID : isom (isom/iso2/avc1/mp41) File size : 14.5 MiB Duration : 2mn 7s Overall bit rate : 953 Kbps Writing application : Lavf55.19.102 Video ID : 1 Format : AVC Format/Info : Advanced Video Codec Format profile : High@L4 Format settings, CABAC : Yes Format settings, ReFrames : 3 frames Codec ID : avc1 Codec ID/Info : Advanced Video Coding Duration : 2mn 7s Bit rate : 821 Kbps Width : 1 920 pixels Height : 1 080 pixels Display aspect ratio : 16:9 Frame rate mode : Constant Frame rate : 25.000 fps Color space : YUV Chroma subsampling : 4:2:0 Bit depth : 8 bits Scan type : Progressive Bits/(Pixel*Frame) : 0.016 Stream size : 12.5 MiB (86%) Audio ID : 2 Format : AAC Format/Info : Advanced Audio Codec Format profile : LC Codec ID : 40 Duration : 2mn 7s Bit rate mode : Constant Bit rate : 126 Kbps Channel(s) : 2 channels Channel positions : Front: L R Sampling rate : 44.1 KHz Frame rate : 43.066 fps (1024 spf) Compression mode : Lossy Stream size : 1.91 MiB (13%) Default : Yes Alternate group : 1

Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 22 guests