VLC1.0.0 vs VLC 0.9.8 streaming

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
michaeldjcox
Blank Cone
Blank Cone
Posts: 61
Joined: 08 Dec 2008 13:06

VLC1.0.0 vs VLC 0.9.8 streaming

Postby michaeldjcox » 11 Sep 2009 10:05

I have an application that uses VLC to stream mpeg-2 to a file.

Another application - SageTV then starts playing the file.

This all works fine with version 0.9.8.

With version 1.0.0 and version 1.1.0 sageTV is unable to check the file size.

VLC seems to have exclusive use of the file.

is this a bug?

is there anyway to change this behaviour please as I'd love to able to say my plugin uses the latest VLC.

Many thanks,

Michael

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: VLC1.0.0 vs VLC 0.9.8 streaming

Postby Jean-Baptiste Kempf » 11 Sep 2009 10:29

Can you detail your command line and your message?
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.

michaeldjcox
Blank Cone
Blank Cone
Posts: 61
Joined: 08 Dec 2008 13:06

Re: VLC1.0.0 vs VLC 0.9.8 streaming

Postby michaeldjcox » 11 Sep 2009 10:42

vlc.exe <the url> --sout="#transcode{vcodec=mp2v,vb=4000,scale=1,width=720,height=576,acodec=mpga,ab=128,channels=2}
:duplicate{dst=std{access=file,mux=ts,dst='test.mpg'}}" --sout-transcode-audio-sync -I rc --rc-host=localhost:5001 --rc-quiet

I don't have some example URLs on me at the moment but will update later if needed.

Also not sure if its relevant but with 0.9.8 if I ran SageTv client playing the file on the same box as VLC was transcoding the video would stutter - SageTv said this was because another application was accessing the file using a particular call - will paste this later if relevant.

Thanks for your fast response.

Michael

michaeldjcox
Blank Cone
Blank Cone
Posts: 61
Joined: 08 Dec 2008 13:06

Re: VLC1.0.0 vs VLC 0.9.8 streaming

Postby michaeldjcox » 18 Sep 2009 18:36

Somebody please!

With VLC.1.0.0 and VLC1.1.0 an app cannot read a MPEG2 file produced by VLC while VLC is writing to it.

It worked fine in VLC 0.9.8 and VLC 0.9.9.

Does anybody out there know why and if the old behaviour can still be achieved?

michaeldjcox
Blank Cone
Blank Cone
Posts: 61
Joined: 08 Dec 2008 13:06

Re: VLC1.0.0 vs VLC 0.9.8 streaming

Postby michaeldjcox » 25 Sep 2009 00:55

I tried the above command line in 1.0.2 - I get audio but no video.

Any ideas pls - something in the command line is not working anymore.

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: VLC1.0.0 vs VLC 0.9.8 streaming

Postby Jean-Baptiste Kempf » 26 Sep 2009 16:59

Messages!
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.

michaeldjcox
Blank Cone
Blank Cone
Posts: 61
Joined: 08 Dec 2008 13:06

Re: VLC1.0.0 vs VLC 0.9.8 streaming

Postby michaeldjcox » 29 Sep 2009 00:02

Code: Select all

"C:\Program Files\VideoLAN\VLC\vlc.exe" "http://playlist.yahoo.com/makeplaylist.dll?id=1369080&segment=149773" --sout="#transcode{vcodec=mp2v,vb=4000,scale=1,width=720,height=576,acodec=mpga,ab=128,channels=2}:duplicate{dst=std{access=file,mux=ps,dst='C:\webfeedencoder\tmp\NASATV_test.mpg'}}" --sout-transcode-audio-sync -I rc --rc-host=localhost:5001 --rc-quiet --extraintf=logger --logfile="C:\webfeedencoder\logs\NASATV_streamtompg_test.log" -vvv
Only gives me a mpga audio stream numbered zero.

In earlier versions I get the video too.

Log messages posted here:

http://www.keepandshare.com/doc/view.ph ... 18293&da=y

Don't feel qualified to pick out the important lines!

Michael

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: VLC1.0.0 vs VLC 0.9.8 streaming

Postby Jean-Baptiste Kempf » 05 Oct 2009 20:14

paste the logs here I can't see anything on that --please stay polite-- website.
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.

michaeldjcox
Blank Cone
Blank Cone
Posts: 61
Joined: 08 Dec 2008 13:06

Re: VLC1.0.0 vs VLC 0.9.8 streaming

Postby michaeldjcox » 07 Oct 2009 18:36

I think the following messages are the key ones:

Code: Select all

main error: Streaming / Transcoding failed main error: VLC could not open the encoder. main debug: TIMER module_need() : 131.000 ms - Total 131.000 ms / 1 intvls (Avg 131.000 ms) stream_out_transcode error: cannot find video encoder (module:any fourcc:mp2v) avcodec debug: ffmpeg codec (Windows Media Video 3) stopped
I cannot paste the full log here - its too long - but you can find it at the (now public shared link)

http://www.keepandshare.com/doc/view.ph ... 18293&da=y

Thank you,

Michael

michaeldjcox
Blank Cone
Blank Cone
Posts: 61
Joined: 08 Dec 2008 13:06

Re: VLC1.0.0 vs VLC 0.9.8 streaming

Postby michaeldjcox » 08 Oct 2009 16:46

I think the answer may be the same as:

viewtopic.php?f=14&t=66101&p=220209&hil ... v+#p220209

I may need to specify fps.

Checking tonite.

michaeldjcox
Blank Cone
Blank Cone
Posts: 61
Joined: 08 Dec 2008 13:06

Re: VLC1.0.0 vs VLC 0.9.8 streaming

Postby michaeldjcox » 12 Oct 2009 11:13

Confirm - this was the problem.

fps=<framespersecond>

now needs to be added to the transcode command.

Michael


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 21 guests