cvlc to create thumbnail from MPEG stream generates errors

*nix specific usage questions
funa
New Cone
New Cone
Posts: 5
Joined: 03 Jun 2012 22:32
Operating System: Windows, Linux

cvlc to create thumbnail from MPEG stream generates errors

Postby funa » 03 Jun 2012 22:47

I'm using cvlc to create a thumbnail picture from MPEG2 stream. It runs on a Raspebrry Pi.

Code: Select all

cvlc thumbnails.ts --program=2 --intf dummy --vout=dummy --aout=dummy --input-fast-seek --video-filter=scene --scene-format=png --scene-ratio=100 --scene-path=/home/pi/dvb/ --scene-prefix=2_frame_ vlc://quit
It works, but I get many errors:

Code: Select all

VLC media player 1.1.3 The Luggage (revision exported) Warning: call to srand(1338754418) Warning: call to rand() Blocked: call to unsetenv("DBUS_ACTIVATION_ADDRESS") Blocked: call to unsetenv("DBUS_ACTIVATION_BUS_TYPE") [0xdd7b30] inhibit interface error: Failed to connect to the D-Bus session daemon: /usr/bin/dbus-launch terminated abnormally with the following error: Autolaunch error: X11 initialization failed. [0xdd7b30] main interface error: no suitable interface module [0xdda160] main interface error: no suitable interface module [0xd32900] main libvlc error: interface "globalhotkeys,none" initialization failed [0xdda160] dummy interface: using the dummy interface module... libdvbpsi error (PSI decoder): TS discontinuity (received 8, expected 0) for PID 17 libdvbpsi error (PSI decoder): TS discontinuity (received 3, expected 0) for PID 102 libdvbpsi error (PSI decoder): TS discontinuity (received 3, expected 0) for PID 109 libdvbpsi error (PSI decoder): TS discontinuity (received 3, expected 0) for PID 110 [0xe79630] main audio output error: couldn't find a filter for the conversion fi32 -> mpga [0xe79630] main audio output error: couldn't create audio output pipeline number of reference frames exceeds max (probably corrupt input), discarding one illegal short term buffer state detected [0xe39b70] dummy demux: command `quit'
I don't care about TS discontinuity errors, but for other error messages I can not explain nor fix.
Why X11 initialization since I'm using dummy interface?
Why audio output pipeline since I'm using dummy audio output?
A lot of warnings/errors:

Warning: call to srand(1338754418)
Warning: call to rand()
Blocked: call to unsetenv("DBUS_ACTIVATION_ADDRESS")
Blocked: call to unsetenv("DBUS_ACTIVATION_BUS_TYPE")
[0xdd7b30] inhibit interface error: Failed to connect to the D-Bus session daemon: /usr/bin/dbus-launch terminated abnormally with the following error: Autolaunch error: X11 initialization failed.
[0xdd7b30] main interface error: no suitable interface module
[0xd32900] main libvlc error: interface "globalhotkeys,none" initialization failed
[0xdda160] dummy interface: using the dummy interface module...
[0xe79630] main audio output error: couldn't find a filter for the conversion fi32 -> mpga
[0xe79630] main audio output error: couldn't create audio output pipeline
illegal short term buffer state detected
[0xe39b70] dummy demux: command `quit'

I need no video or audio output, just to create a simple image from the MPEG stream video.
Any idea how to solve problems or how to create a thumbnail without errors/warnings?

Thanks.
An online survey showed that 100% of people use the internet.

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: cvlc to create thumbnail from MPEG stream generates erro

Postby Jean-Baptiste Kempf » 03 Jun 2012 23:22

--no-audio you could use and it should help.
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 Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 19 guests