Image URLs not working

This is a special forum aimed at testing and reporting regressions that happens on VLC 1.0.0.

This IS just about REGRESSIONS AND TESTING, no feature requests or bug reporting for OLD issues.
WorkerBee
New Cone
New Cone
Posts: 4
Joined: 15 May 2009 21:52

Image URLs not working

Postby WorkerBee » 15 May 2009 22:11

If I try and view an image URL from my media server (Windows Media Sharing in this case) it results in a 0 - second clip of a black screen.

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: Image URLs not working

Postby Jean-Baptiste Kempf » 15 May 2009 23:20

Can you share the sample?
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.

WorkerBee
New Cone
New Cone
Posts: 4
Joined: 15 May 2009 21:52

Re: Image URLs not working

Postby WorkerBee » 15 May 2009 23:37

Well, I don't want to start spamming pictures of friends and co-workers across the internet. However it seems to be any image in my library, which are perfectly fine .jpg files. They open well if I navigate and open them via Media->Open File, although they have a 10 second play time then, instead of a static display. I can always pause. It's when I try and open them via Media->Open Network Stream that I get the 0 - second black screen.

erwan10
Developer
Developer
Posts: 415
Joined: 02 Nov 2008 23:16

Re: Image URLs not working

Postby erwan10 » 20 May 2009 23:37

You're right about images not being displayed properly when coming from a network.

Actually, the "fake" access module is needed to create a fake video out of a single image. And duration is set through the --fake-duration option (either a number of seconds or -1 for infinite time, default value is 10 sec)

For files on disk, vlc detects that they are still images and "fake" is the preferred access module in this case. So it works fine.

The thing is that for ressources coming from the network, an access module is already forced (either http, ftp, ...). And the image ends up being decoded as a regular video file. For jpg files, that means those are seen as mjpeg files with a single frame. So there is no error, just a fleeting image and a black screen.

For the time being, I 'm afraid the only solution is to first save images on a local disk and then view them with vlc.

Erwan10

The DJ
Cone Master
Cone Master
Posts: 5987
Joined: 22 Nov 2003 21:52
VLC version: git
Operating System: Mac OS X
Location: Enschede, Holland
Contact:

Re: Image URLs not working

Postby The DJ » 08 Jun 2009 13:59

Even then it hardly works. I have many problems with jpeg images atm. It looks as if it is trying to display the thumbnails of images instead of the images themselves and fails HARD. We had seen this before, and at that time i fixed it by making the mjpeg demux more clever, but it seems to be more difficult now.
Don't use PMs for support questions.

erwan10
Developer
Developer
Posts: 415
Joined: 02 Nov 2008 23:16

Re: Image URLs not working

Postby erwan10 » 08 Jun 2009 21:17

Hum, maybe an OS issue ? Are you on MacOS ?

The issue with jpg files is to make sure no "file://" is added to their mrl (It may unfortunately be added implicitly ... ).

For example, on WinXP (vlc1.0-rc2),
- drap&drop on the vlc qt4 gui => works fine
- Open them with the Open File menu => works fine
- Opening them with the Open Dir menu => **doesn't** work fine (Opening a dir creates a xspf file that forcibly adds file://)

Erwan10

The DJ
Cone Master
Cone Master
Posts: 5987
Joined: 22 Nov 2003 21:52
VLC version: git
Operating System: Mac OS X
Location: Enschede, Holland
Contact:

Re: Image URLs not working

Postby The DJ » 09 Jun 2009 15:36

No that's not the problem, it crashes in ff_mjpeg_decode_sos from ffmpeg.
Don't use PMs for support questions.

The DJ
Cone Master
Cone Master
Posts: 5987
Joined: 22 Nov 2003 21:52
VLC version: git
Operating System: Mac OS X
Location: Enschede, Holland
Contact:

Re: Image URLs not working

Postby The DJ » 19 Jun 2009 21:54

The issue with jpeg images crashing VLC Mac OS X was traced to the usage of the llvm compiler. We have switched ffmpeg back to normal gcc (since only vlc core requires llvm) and the issue now seems solved.
Don't use PMs for support questions.


Return to “VLC 1.0.0 testing”

Who is online

Users browsing this forum: No registered users and 7 guests