Page 1 of 1

cvlc to create thumbnail from MPEG stream generates errors

Posted: 03 Jun 2012 22:47
by funa
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.

Re: cvlc to create thumbnail from MPEG stream generates erro

Posted: 03 Jun 2012 23:22
by Jean-Baptiste Kempf
--no-audio you could use and it should help.