TwoFlower will not play streaming MPEG-4

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
fly135
Blank Cone
Blank Cone
Posts: 27
Joined: 26 Mar 2004 19:29

TwoFlower will not play streaming MPEG-4

Postby fly135 » 30 Apr 2012 19:09

We have been using VLC to play streaming MPEG-4 for years. With the release of 2.0.1 it no longer can decode the frames as indicated in the messages.

The MPEG-4 is in an RTP packet. Neither RTSP or SAP, which are both supported will work.

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: TwoFlower will not play streaming MPEG-4

Postby VLC_help » 30 Apr 2012 20:25

Can you share us the messages? And maybe a sample URL?

fly135
Blank Cone
Blank Cone
Posts: 27
Joined: 26 Mar 2004 19:29

Re: TwoFlower will not play streaming MPEG-4

Postby fly135 » 30 Apr 2012 20:42

I can't share a URL because this is multicasting from a hardware streaming MPEG-4 encoder. Here is a list of the messages when the stream is started. Never had a problem with any previous version.

main debug: adding item `rtsp://192.168.5.132' (URL deleted )
qt4 debug: Adding a new MRL to recent ones: rtsp://192.168.5.132
main debug: rebuilding array of current - root Playlist
main debug: rebuild done - 1 items, index -1
main debug: processing request item:(URL deleted ), node: null, skip: 0
main debug: resyncing on(URL deleted )
main debug:(URL deleted ) is at 0
main debug: starting playback of the new playlist item
main debug: creating new input thread
main debug: Creating an input for (URL deleted )
main debug: no fetch required for (null) (art currently (null))
main debug: using timeshift granularity of 50 MiB, in path 'C:\Users\John\AppData\Local\Temp'
main debug: (URL deleted )gives access `rtsp' demux `' path `192.168.5.132'
main debug: creating demux: access='rtsp' demux='' location='192.168.5.132' file='\\192.168.5.132'
main debug: looking for access_demux module: 1 candidate
live555 debug: version 2011.12.23
live555 debug: RTP subsession 'video/MP4V-ES'
main debug: selecting program id=0
live555 debug: setup start: 0.000000 stop:0.000000
live555 debug: play start: 0.000000 stop:0.000000
main debug: using access_demux module "live555"
main debug: TIMER module_need() : 33.768 ms - Total 33.768 ms / 1 intvls (Avg 33.768 ms)
main debug: looking for decoder module: 31 candidates
qt4 debug: IM: Setting an input
avcodec debug: libavcodec initialized (interface 0x360a64)
avcodec debug: trying to use direct rendering
avcodec debug: allowing 4 thread(s) for decoding
avcodec debug: ffmpeg codec (MPEG-4 Video) started
avcodec debug: using frame thread mode with 4 threads
main debug: using decoder module "avcodec"
main debug: TIMER module_need() : 19.221 ms - Total 19.221 ms / 1 intvls (Avg 19.221 ms)
main debug: looking for meta reader module: 2 candidates
lua debug: Trying Lua scripts in C:\Users\John\AppData\Roaming\vlc\lua\meta\reader
lua debug: Trying Lua scripts in C:\Program Files (x86)\VideoLAN\VLC\lua\meta\reader
lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\reader\filename.luac
main debug: no meta reader module matching "any" could be loaded
main debug: TIMER module_need() : 2.654 ms - Total 2.654 ms / 1 intvls (Avg 2.654 ms)
main debug: `rtsp://192.168.5.132' successfully opened
main debug: Buffering 0%
main debug: Buffering 3%
main debug: Buffering 6%
main debug: Buffering 10%
avcodec warning: cannot decode one frame (8475 bytes)
main debug: Buffering 13%
avcodec warning: cannot decode one frame (9048 bytes)
main debug: Buffering 16%
avcodec warning: cannot decode one frame (8718 bytes)
avcodec warning: cannot decode one frame (8301 bytes)
main debug: Buffering 20%
main debug: Buffering 23%
.
.
.
avcodec warning: cannot decode one frame (8833 bytes)
main debug: incoming request - stopping current input
main debug: dying input
main debug: control: stopping input
main debug: dying input
avcodec warning: cannot decode one frame (8720 bytes)
main debug: removing module "avcodec"
avcodec debug: ffmpeg codec (MPEG-4 Video) stopped
main debug: killing decoder fourcc `mp4v', 0 PES in FIFO
main debug: removing module "live555"
main debug: Program doesn't contain anymore ES
main debug: dead input
qt4 debug: IM: Deleting the input

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: TwoFlower will not play streaming MPEG-4

Postby VLC_help » 01 May 2012 19:35

Does it work any better if you limit FFmpeg threads to 1?
http://wiki.videolan.org/WindowsFAQ-2.0 ... r_laggy.29

fly135
Blank Cone
Blank Cone
Posts: 27
Joined: 26 Mar 2004 19:29

Re: TwoFlower will not play streaming MPEG-4

Postby fly135 » 04 May 2012 00:18

I will give that a try. I need to investigate more. On a different version of our streaming encoder it works. I am now suspecting that it has something to do with the SDP data. Will report back when I know more.

John A

Titanic
Blank Cone
Blank Cone
Posts: 33
Joined: 14 Sep 2010 10:12

Re: TwoFlower will not play streaming MPEG-4

Postby Titanic » 28 Aug 2012 09:10

Setting the FFMPEG thread count to 1 solved this issue for me.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: TwoFlower will not play streaming MPEG-4

Postby Jean-Baptiste Kempf » 28 Aug 2012 10:40

Known issue.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

Titanic
Blank Cone
Blank Cone
Posts: 33
Joined: 14 Sep 2010 10:12

Re: TwoFlower will not play streaming MPEG-4

Postby Titanic » 28 Aug 2012 10:53

Is there an automatic way to install VLC with the FFmpeg thread count setting set to 1? I'm asking because otherwise we do have to handle a lot of customer requests telling us that VLC can't play our mp4v/mp4a RTP stream when they only need to change this setting.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: TwoFlower will not play streaming MPEG-4

Postby Jean-Baptiste Kempf » 28 Aug 2012 17:23

Yes, deploy the vlcrc with the right tag. Or help us (finance) a fix for this issue.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 22 guests