Transcoding to a raw video format fails on newer VLC versions

About encoding, codec settings, muxers and filter usage
idoit
New Cone
New Cone
Posts: 4
Joined: 31 Oct 2016 13:09

Transcoding to a raw video format fails on newer VLC versions

Postby idoit » 31 Oct 2016 13:32

Hi all

I've been trying to use smem module to access raw frame data from the h264 encoded stream of c920 webcam, but the video callbacks were never called.

After some trials I realised that the problem is in transcoding to a raw format. For instance, the following command

Code: Select all

cvlc v4l2:///dev/video0:chroma="H264":width=1920:height=1080:fps=30 --live-caching=200 --swscale-mode=0 --avcodec-codec=h264 --avcodec-hw=vdpau --avcodec-threads=1 --sout='#transcode{vcodec=RV24}:std{access=file,mux=avi,dst=out.avi}'
produces a zero size out.avi file (300 bytes to be exact). I've tried many other raw formats such as I420, I444, RGBA, RV32 .. same result

However, if i use any compressed format, flv or h264 for instance, the output file is created and has valid data, Similarly, smem works properly in this case if used instead of std module.

Some stuff I tried and validated to help isolating the issue:
1- Capturing and displaying works fine (without --sout altogether)
2- Using vdpau or no hardware acceleration does not change the issue behaviour
3- Transcoding to raw format works fine in Lubuntu 14.04 using vlc version 2.1.6 and 2.2.2
4- Transcoding the raw format fails as explained on Lubuntu 16.04 using vlc versions 2.2.2 and 2.2.4

Any help is much appreciated.

Cheers,

Tee

Rémi Denis-Courmont
Developer
Developer
Posts: 15268
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Transcoding to a raw video format fails on newer VLC versions

Postby Rémi Denis-Courmont » 31 Oct 2016 14:18

Disable hardware decoding. It only makes things worse if you want to encode in software.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

idoit
New Cone
New Cone
Posts: 4
Joined: 31 Oct 2016 13:09

Re: Transcoding to a raw video format fails on newer VLC versions

Postby idoit » 31 Oct 2016 14:26

Hi Remi

Thank for your response. Actually I don't want to encode the stream. What I want is to decode the h264 in hardware and have the raw video passed to smem module (or a file for testing), hence the need for transcode.

I only used encoding to show that transcode to raw doesn't work while transcoding to another compressed format works.

What am i missing?

Cheers,

Rémi Denis-Courmont
Developer
Developer
Posts: 15268
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Transcoding to a raw video format fails on newer VLC versions

Postby Rémi Denis-Courmont » 31 Oct 2016 17:05

Hardware decoding is optimized for processing and rendering on GPU. Getting the data back to main CPU memory is either not supported or slow - by hardware design. So again, don't.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

idoit
New Cone
New Cone
Posts: 4
Joined: 31 Oct 2016 13:09

Re: Transcoding to a raw video format fails on newer VLC versions

Postby idoit » 31 Oct 2016 17:32

Thanks Remi for the info

I've cancelled the hardware decoding and I'm still getting no output in the file. The command I've executed is

Code: Select all

cvlc v4l2:///dev/video0:chroma="H264":width=1920:height=1080:fps=30 --live-caching=200 --swscale-mode=0 --avcodec-codec=h264 --avcodec-hw=none --sout='#transcode{vcodec=RV24}:std{access=file,mux=avi,dst=out.avi}'
and I checked the output that no hardware accelerator is being used. Is there anything wrong with the command or that operation is no longer supported?

Rémi Denis-Courmont
Developer
Developer
Posts: 15268
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Transcoding to a raw video format fails on newer VLC versions

Postby Rémi Denis-Courmont » 31 Oct 2016 17:45

Look at the logs; it should explain what's failing.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

idoit
New Cone
New Cone
Posts: 4
Joined: 31 Oct 2016 13:09

Re: Transcoding to a raw video format fails on newer VLC versions

Postby idoit » 31 Oct 2016 18:31

I did that before, but I went across the log more carefully once more. There is no clear indication of any error. There were only a repeated warning (plane is not aligned, disabling direct rendering, then enabling it), which has disappeared when I added --no-avcodec-dr

The only other thing that drew my attention is I've found "stream_out_transcode stream out debug: destination (after video filters) 1920x1090" in the log. I'm not sure how the 1080 became 1090. Other than this I'm afraid my experience with VLC and multimedia didn't help me any more.

This is the log

Code: Select all

[0000000001a16088] core libvlc debug: VLC media player - 2.2.4 Weatherwax [0000000001a16088] core libvlc debug: Copyright © 1996-2016 the VideoLAN team [0000000001a16088] core libvlc debug: revision 2.2.3-37-g888b7e89 [0000000001a16088] core libvlc debug: configured with ./configure '--build=x86_64-linux-gnu' '--prefix=/usr' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--sysconfdir=/etc' '--localstatedir=/var' '--disable-silent-rules' '--libdir=${prefix}/lib/x86_64-linux-gnu' '--libexecdir=${prefix}/lib/x86_64-linux-gnu' '--disable-maintainer-mode' '--disable-dependency-tracking' '--config-cache' '--disable-update-check' '--enable-fast-install' '--docdir=/usr/share/doc/vlc-data' '--libdir=/usr/lib' '--with-binary-version=2.2.4-6~ubuntu16.04.1~ppa1' '--enable-a52' '--enable-aa' '--enable-bluray' '--enable-bonjour' '--enable-caca' '--enable-chromaprint' '--enable-dbus' '--enable-dca' '--enable-directfb' '--enable-dvbpsi' '--enable-dvdnav' '--enable-faad' '--enable-flac' '--enable-fluidsynth' '--enable-freerdp' '--enable-freetype' '--enable-fribidi' '--enable-gles1' '--enable-gles2' '--enable-gnutls' '--enable-jack' '--enable-kate' '--enable-libass' '--enable-libmpeg2' '--enable-libxml2' '--enable-lirc' '--enable-live555' '--enable-mad' '--enable-mkv' '--enable-mod' '--enable-mpc' '--enable-mtp' '--enable-mux_ogg' '--enable-ncurses' '--enable-notify' '--enable-ogg' '--enable-opus' '--enable-pulse' '--enable-qt' '--enable-realrtsp' '--enable-samplerate' '--enable-schroedinger' '--enable-sdl' '--enable-sdl-image' '--enable-sftp' '--enable-shine' '--enable-shout' '--enable-skins2' '--enable-sndio' '--enable-speex' '--enable-svg' '--enable-svgdec' '--enable-taglib' '--enable-theora' '--enable-twolame' '--enable-upnp' '--enable-vcdx' '--enable-vdpau' '--enable-vnc' '--enable-vorbis' '--enable-x264' '--enable-x265' '--enable-zvbi' '--with-kde-solid=/usr/share/solid/actions/' '--disable-decklink' '--disable-dxva2' '--disable-fdkaac' '--disable-gnomevfs' '--disable-goom' '--disable-gst-decode' '--disable-libtar' '--disable-mfx' '--disable-opencv' '--disable-projectm' '--disable-telx' '--disable-vpx' '--disable-vsxu' '--disable-wasapi' '--enable-alsa' '--enable-atmo' '--enable-dc1394' '--enable-dv1394' '--enable-linsys' '--enable-omxil' '--enable-udev' '--enable-v4l2' '--enable-libva' '--enable-vcd' '--enable-smbclient' '--disable-oss' '--enable-crystalhd' '--enable-mmx' '--enable-sse' '--disable-neon' '--disable-altivec' '--enable-merge-ffmpeg' 'build_alias=x86_64-linux-gnu' 'CFLAGS=-g -O2 -fstack-protector-strong -Wformat -Werror=format-security ' 'LDFLAGS=-Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,--as-needed' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2' 'CXXFLAGS=-g -O2 -fstack-protector-strong -Wformat -Werror=format-security ' 'OBJCFLAGS=-g -O2 -fstack-protector-strong -Wformat -Werror=format-security' 'PKG_CONFIG_PATH=/build/vlc-Urq8kR/vlc-2.2.4/ffmpeg/install/lib/pkgconfig' [0000000001a16088] core libvlc debug: searching plug-in modules [0000000001a16088] core libvlc debug: loading plugins cache file /usr/lib/vlc/plugins/plugins.dat [0000000001a16088] core libvlc debug: recursively browsing `/usr/lib/vlc/plugins' [0000000001a16088] core libvlc debug: saving plugins cache /usr/lib/vlc/plugins/plugins.dat [0000000001a16088] core libvlc debug: plug-ins loaded: 461 modules [0000000001a16088] core libvlc debug: opening config file (/home/user/.config/vlc/vlcrc) [0000000001a16088] core libvlc debug: translation test: code is "C" [0000000001a16088] core libvlc debug: CPU has capabilities MMX MMXEXT SSE SSE2 SSE3 SSSE3 SSE4.1 SSE4.2 FPU [0000000001ae6308] core input debug: Creating an input for 'Media Library' [0000000001ae6308] core input debug: Input is a meta file: disabling unneeded options [0000000001ae6308] core input debug: using timeshift granularity of 50 MiB, in path '/tmp' [0000000001ae6308] core input debug: `file/xspf-open:///home/user/.local/share/vlc/ml.xspf' gives access `file' demux `xspf-open' path `/home/user/.local/share/vlc/ml.xspf' [0000000001ae6308] core input debug: creating demux: access='file' demux='xspf-open' location='/home/user/.local/share/vlc/ml.xspf' file='/home/user/.local/share/vlc/ml.xspf' [0000000001aeaf18] core demux debug: looking for access_demux module matching "file": 19 candidates [0000000001aeaf18] core demux debug: no access_demux modules matched [0000000001ae6308] core input debug: creating access 'file' location='/home/user/.local/share/vlc/ml.xspf', path='/home/user/.local/share/vlc/ml.xspf' [0000000001aeaf18] core access debug: looking for access module matching "file": 25 candidates [0000000001aeaf18] filesystem access debug: opening file `/home/user/.local/share/vlc/ml.xspf' [0000000001aeaf18] core access debug: using access module "filesystem" [0000000001af2e58] core stream debug: Using stream method for AStream* [0000000001af2e58] core stream debug: starting pre-buffering [0000000001af2e58] core stream debug: received first data after 0 ms [0000000001af2e58] core stream debug: pre-buffering done 296 bytes in 0s - 5899 KiB/s [0000000001af30b8] core stream debug: looking for stream_filter module matching "any": 9 candidates [0000000001af30b8] core stream debug: no stream_filter modules matched [0000000001af30b8] core stream debug: looking for stream_filter module matching "record": 9 candidates [0000000001af30b8] core stream debug: using stream_filter module "record" [0000000001ae6308] core input debug: creating demux: access='file' demux='xspf-open' location='/home/user/.local/share/vlc/ml.xspf' file='/home/user/.local/share/vlc/ml.xspf' [0000000001b14168] core demux debug: looking for demux module matching "xspf-open": 67 candidates [0000000001b14168] xspf demux debug: using XSPF playlist reader [0000000001b14168] core demux debug: using demux module "playlist" [0000000001b14b68] core demux meta debug: looking for meta reader module matching "any": 2 candidates [0000000001b14b68] lua demux meta debug: Trying Lua scripts in /home/user/.local/share/vlc/lua/meta/reader [0000000001b14b68] lua demux meta debug: Trying Lua scripts in /usr/lib/vlc/lua/meta/reader [0000000001b14b68] lua demux meta debug: Trying Lua playlist script /usr/lib/vlc/lua/meta/reader/filename.luac [0000000001b14b68] lua demux meta debug: Trying Lua scripts in /usr/share/vlc/lua/meta/reader [0000000001b14b68] core demux meta debug: no meta reader modules matched [0000000001ae6308] core input debug: `file/xspf-open:///home/user/.local/share/vlc/ml.xspf' successfully opened [0000000001b278c8] core xml reader debug: looking for xml reader module matching "any": 1 candidates [0000000001b278c8] core xml reader debug: using xml reader module "xml" [0000000001b14168] xspf demux debug: parsed 0 tracks successfully [0000000001ae6308] core input debug: EOF reached [0000000001b14168] core demux debug: removing module "playlist" [0000000001af30b8] core stream debug: removing module "record" [0000000001aeaf18] core access debug: removing module "filesystem" [0000000001afe588] core playlist debug: creating audio output [0000000001af2e58] core audio output debug: looking for audio output module matching "any": 6 candidates [0000000001af2e58] pulse audio output debug: using library version 8.0.0 [0000000001af2e58] pulse audio output debug: (compiled with version 8.0.0, protocol 30) [0000000001af2e58] pulse audio output error: PulseAudio server connection failure: Connection refused [0000000001af2e58] alsa audio output debug: Available ALSA PCM devices: [0000000001af2e58] alsa audio output debug: Discard all samples (playback) or generate zero samples (capture) (null) [0000000001af2e58] alsa audio output debug: HD Pro Webcam C920, USB Audio Default Audio Device (default:CARD=C920) [0000000001af2e58] alsa audio output debug: HD Pro Webcam C920, USB Audio Default Audio Device (sysdefault:CARD=C920) [0000000001af2e58] alsa audio output debug: HD Pro Webcam C920, USB Audio Front speakers (front:CARD=C920,DEV=0) [0000000001af2e58] alsa audio output debug: HD Pro Webcam C920, USB Audio 2.1 Surround output to Front and Subwoofer speakers (surround21:CARD=C920,DEV=0) [0000000001af2e58] alsa audio output debug: HD Pro Webcam C920, USB Audio 4.0 Surround output to Front and Rear speakers (surround40:CARD=C920,DEV=0) [0000000001af2e58] alsa audio output debug: HD Pro Webcam C920, USB Audio 4.1 Surround output to Front, Rear and Subwoofer speakers (surround41:CARD=C920,DEV=0) [0000000001af2e58] alsa audio output debug: HD Pro Webcam C920, USB Audio 5.0 Surround output to Front, Center and Rear speakers (surround50:CARD=C920,DEV=0) [0000000001af2e58] alsa audio output debug: HD Pro Webcam C920, USB Audio 5.1 Surround output to Front, Center, Rear and Subwoofer speakers (surround51:CARD=C920,DEV=0) [0000000001af2e58] alsa audio output debug: HD Pro Webcam C920, USB Audio 7.1 Surround output to Front, Center, Side, Rear and Woofer speakers (surround71:CARD=C920,DEV=0) [0000000001af2e58] alsa audio output debug: HD Pro Webcam C920, USB Audio IEC958 (S/PDIF) Digital Audio Output (iec958:CARD=C920,DEV=0) [0000000001af2e58] alsa audio output debug: HD Pro Webcam C920, USB Audio Direct sample mixing device (dmix:CARD=C920,DEV=0) [0000000001af2e58] alsa audio output debug: HD Pro Webcam C920, USB Audio Direct sample snooping device (dsnoop:CARD=C920,DEV=0) [0000000001af2e58] alsa audio output debug: HD Pro Webcam C920, USB Audio Direct hardware device without any conversions (hw:CARD=C920,DEV=0) [0000000001af2e58] alsa audio output debug: HD Pro Webcam C920, USB Audio Hardware device with all software conversions (plughw:CARD=C920,DEV=0) [0000000001af2e58] core audio output debug: using audio output module "alsa" [0000000001afe588] core playlist debug: keeping audio output [0000000001afe588] core playlist debug: adding item `v4l2:///dev/video0:chroma=H264:width=1920:height=1080:fps=30' ( v4l2:///dev/video0:chroma=H264:width=1920:height=1080:fps=30 ) [0000000001afe588] core playlist debug: meta ok for (null), need to fetch art [0000000001b40a98] core interface debug: looking for interface module matching "hotkeys,none": 19 candidates [00007f6c44000bb8] core art finder debug: looking for meta fetcher module matching "any": 1 candidates [0000000001b40a98] core interface debug: using interface module "hotkeys" [0000000001b2f138] core interface debug: looking for interface module matching "globalhotkeys,none": 19 candidates [0000000001b2f138] core interface debug: using interface module "xcb_hotkeys" [0000000001b211a8] core interface debug: looking for interface module matching "dbus,none": 19 candidates [0000000001b211a8] dbus interface debug: listening on dbus as: org.mpris.MediaPlayer2.vlc [00007f6c44000bb8] lua art finder debug: Trying Lua scripts in /home/user/.local/share/vlc/lua/meta/fetcher [0000000001b211a8] core interface debug: using interface module "dbus" [00007f6c44000bb8] lua art finder debug: Trying Lua scripts in /usr/lib/vlc/lua/meta/fetcher [00007f6c44000bb8] lua art finder debug: Trying Lua playlist script /usr/lib/vlc/lua/meta/fetcher/tvrage.luac [0000000001b86aa8] core interface debug: looking for interface module matching "dummy": 19 candidates [0000000001b86aa8] dummy interface: using the dummy interface module... [0000000001b86aa8] core interface debug: using interface module "dummy" [0000000001afe588] core playlist debug: processing request item: null, node: Playlist, skip: 0 [0000000001afe588] core playlist debug: rebuilding array of current - root Playlist [0000000001afe588] core playlist debug: rebuild done - 1 items, index -1 [0000000001afe588] core playlist debug: starting playback of the new playlist item [0000000001afe588] core playlist debug: resyncing on v4l2:///dev/video0:chroma=H264:width=1920:height=1080:fps=30 [0000000001afe588] core playlist debug: v4l2:///dev/video0:chroma=H264:width=1920:height=1080:fps=30 is at 0 [0000000001afe588] core playlist debug: creating new input thread [00007f6c3c0009b8] core input debug: Creating an input for 'v4l2:///dev/video0:chroma=H264:width=1920:height=1080:fps=30' [0000000001afe588] core playlist debug: requesting art for v4l2:///dev/video0:chroma=H264:width=1920:height=1080:fps=30 [00007f6c40000bb8] core stream output debug: using sout chain=`transcode{vcodec=RV24}:std{access=file,mux=avi,dst=out.avi}' [00007f6c40000bb8] core stream output debug: stream=`std' [00007f6c40001078] core stream out debug: looking for sout stream module matching "std": 22 candidates [00007f6c40001078] core stream out debug: set config option: sout-standard-access to file [00007f6c40001078] core stream out debug: set config option: sout-standard-mux to avi [00007f6c40001078] core stream out debug: set config option: sout-standard-dst to out.avi [00007f6c40001fe8] core access out debug: looking for sout access module matching "file": 8 candidates [00007f6c40001fe8] access_output_file access out debug: file access output opened (out.avi) [00007f6c40001fe8] core access out debug: using sout access module "access_output_file" [00007f6c40003348] core mux debug: looking for sout mux module matching "avi": 10 candidates [00007f6c38000958] core art finder debug: looking for meta fetcher module matching "any": 1 candidates [00007f6c40003348] mux_avi mux debug: AVI muxer opened [00007f6c40003348] core mux debug: using sout mux module "mux_avi" [00007f6c40001078] stream_out_standard stream out debug: using `file/avi://out.avi' [00007f6c40001078] core stream out debug: using sout stream module "stream_out_standard" [00007f6c40000bb8] core stream output debug: stream=`transcode' [00007f6c44000bb8] lua art finder debug: skipping script (unmatched scope) /usr/lib/vlc/lua/meta/fetcher/tvrage.luac [00007f6c44000bb8] lua art finder debug: Trying Lua scripts in /usr/share/vlc/lua/meta/fetcher [00007f6c44000bb8] core art finder debug: no meta fetcher modules matched [0000000001afe588] core playlist debug: searching art for v4l2:///dev/video0:chroma=H264:width=1920:height=1080:fps=30 [00007f6c44000bb8] core art finder debug: looking for art finder module matching "any": 2 candidates [00007f6c4002c1f8] core stream out debug: looking for sout stream module matching "transcode": 22 candidates [00007f6c4002c1f8] core stream out debug: set config option: sout-transcode-vcodec to RV24 [00007f6c4002c1f8] stream_out_transcode stream out debug: Checking video codec mapping for RV24 got RV24 [00007f6c4002c1f8] stream_out_transcode stream out debug: codec video=RV24 0x0 scaling: 0,000000 0kb/s [00007f6c4002c1f8] core stream out debug: using sout stream module "stream_out_transcode" [00007f6c3c0009b8] core input debug: using timeshift granularity of 50 MiB, in path '/tmp' [00007f6c3c0009b8] core input debug: `v4l2:///dev/video0:chroma=H264:width=1920:height=1080:fps=30' gives access `v4l2' demux `' path `/dev/video0:chroma=H264:width=1920:height=1080:fps=30' [00007f6c3c0009b8] core input debug: specified demux `any' [00007f6c3c0009b8] core input debug: creating demux: access='v4l2' demux='any' location='/dev/video0:chroma=H264:width=1920:height=1080:fps=30' file='/dev/video0:chroma=H264:width=1920:height=1080:fps=30' [00007f6c4002efa8] core demux debug: looking for access_demux module matching "v4l2": 19 candidates [00007f6c4002efa8] v4l2 demux debug: opening device '/dev/video0' [00007f6c44000bb8] lua art finder debug: Trying Lua scripts in /home/user/.local/share/vlc/lua/meta/art [00007f6c44000bb8] lua art finder debug: Trying Lua scripts in /usr/lib/vlc/lua/meta/art [00007f6c44000bb8] lua art finder debug: Trying Lua playlist script /usr/lib/vlc/lua/meta/art/00_musicbrainz.luac [00007f6c38000958] lua art finder debug: Trying Lua scripts in /home/user/.local/share/vlc/lua/meta/fetcher [00007f6c38000958] lua art finder debug: Trying Lua scripts in /usr/lib/vlc/lua/meta/fetcher [00007f6c38000958] lua art finder debug: Trying Lua playlist script /usr/lib/vlc/lua/meta/fetcher/tvrage.luac [00007f6c44000bb8] lua art finder debug: skipping script (unmatched scope) /usr/lib/vlc/lua/meta/art/00_musicbrainz.luac [00007f6c44000bb8] lua art finder debug: Trying Lua playlist script /usr/lib/vlc/lua/meta/art/01_googleimage.luac [00007f6c38000958] lua art finder debug: skipping script (unmatched scope) /usr/lib/vlc/lua/meta/fetcher/tvrage.luac [00007f6c38000958] lua art finder debug: Trying Lua scripts in /usr/share/vlc/lua/meta/fetcher [00007f6c38000958] core art finder debug: no meta fetcher modules matched [0000000001a16088] core libvlc debug: searching art for v4l2:///dev/video0:chroma=H264:width=1920:height=1080:fps=30 [00007f6c38000958] core art finder debug: looking for art finder module matching "any": 2 candidates [00007f6c44000bb8] lua art finder debug: skipping script (unmatched scope) /usr/lib/vlc/lua/meta/art/01_googleimage.luac [00007f6c44000bb8] lua art finder debug: Trying Lua playlist script /usr/lib/vlc/lua/meta/art/02_frenchtv.luac [00007f6c38000958] lua art finder debug: Trying Lua scripts in /home/user/.local/share/vlc/lua/meta/art [00007f6c38000958] lua art finder debug: Trying Lua scripts in /usr/lib/vlc/lua/meta/art [00007f6c38000958] lua art finder debug: Trying Lua playlist script /usr/lib/vlc/lua/meta/art/00_musicbrainz.luac [00007f6c44000bb8] lua art finder debug: skipping script (unmatched scope) /usr/lib/vlc/lua/meta/art/02_frenchtv.luac [00007f6c44000bb8] lua art finder debug: Trying Lua playlist script /usr/lib/vlc/lua/meta/art/03_lastfm.luac [00007f6c38000958] lua art finder debug: skipping script (unmatched scope) /usr/lib/vlc/lua/meta/art/00_musicbrainz.luac [00007f6c38000958] lua art finder debug: Trying Lua playlist script /usr/lib/vlc/lua/meta/art/01_googleimage.luac [00007f6c44000bb8] lua art finder debug: skipping script (unmatched scope) /usr/lib/vlc/lua/meta/art/03_lastfm.luac [00007f6c44000bb8] lua art finder debug: Trying Lua scripts in /usr/share/vlc/lua/meta/art [00007f6c44000bb8] core art finder debug: no art finder modules matched [0000000001afe588] core playlist debug: art not found for v4l2:///dev/video0:chroma=H264:width=1920:height=1080:fps=30 [00007f6c38000958] lua art finder debug: skipping script (unmatched scope) /usr/lib/vlc/lua/meta/art/01_googleimage.luac [00007f6c38000958] lua art finder debug: Trying Lua playlist script /usr/lib/vlc/lua/meta/art/02_frenchtv.luac [00007f6c38000958] lua art finder debug: skipping script (unmatched scope) /usr/lib/vlc/lua/meta/art/02_frenchtv.luac [00007f6c38000958] lua art finder debug: Trying Lua playlist script /usr/lib/vlc/lua/meta/art/03_lastfm.luac [00007f6c38000958] lua art finder debug: skipping script (unmatched scope) /usr/lib/vlc/lua/meta/art/03_lastfm.luac [00007f6c38000958] lua art finder debug: Trying Lua scripts in /usr/share/vlc/lua/meta/art [00007f6c38000958] core art finder debug: no art finder modules matched [0000000001a16088] core libvlc debug: art not found for v4l2:///dev/video0:chroma=H264:width=1920:height=1080:fps=30 [00007f6c4002efa8] v4l2 demux debug: device HD Pro Webcam C920 using driver uvcvideo (version 4.4.21) on usb-0000:00:14.0-3 [00007f6c4002efa8] v4l2 demux debug: with capabilities 0x05200001 (overall 0x85200001) [00007f6c4002efa8] v4l2 demux debug: video input Camera 1 (0) is camera [00007f6c4002efa8] v4l2 demux debug: selected input 0 [00007f6c4002efa8] v4l2 demux debug: no video standard selection [00007f6c4002efa8] v4l2 demux debug: no tuning required (analog baseband input) [00007f6c4002efa8] v4l2 demux debug: no audio input available [00007f6c4002efa8] v4l2 demux debug: supports raw format YUYV (YUY2): YUYV 4:2:2 [00007f6c4002efa8] v4l2 demux debug: supports compressed format H264 (h264): H.264 [00007f6c4002efa8] v4l2 demux debug: matches the requested format [00007f6c4002efa8] v4l2 demux debug: selected format H264 (h264) [00007f6c4002efa8] v4l2 demux debug: requested frame internal: 1/30 [00007f6c4002efa8] v4l2 demux debug: requested frame size: 1920x1080 [00007f6c4002efa8] v4l2 demux debug: discrete frame interval: 1/30 [00007f6c4002efa8] v4l2 demux warning: cannot reset cropping limits: Inappropriate ioctl for device [00007f6c4002efa8] v4l2 demux debug: 4147200 bytes maximum for complete image [00007f6c4002efa8] v4l2 demux debug: Interlacing setting: progressive [00007f6c4002efa8] v4l2 demux debug: added new video ES h264 1920x1080 (1920x1080) [00007f6c4002efa8] v4l2 demux debug: frame rate: 30/1 [00007f6c4002efa8] v4l2 demux debug: aspect ratio: 1/1 [00007f6c3c0009b8] core input debug: selecting program id=0 [00007f6c4002efa8] v4l2 demux debug: streaming with 4 memory-mapped buffers [00007f6c4002efa8] v4l2 demux debug: integer Brightness (00980900) [00007f6c4002efa8] v4l2 demux debug: current: 128, default: 128 [00007f6c4002efa8] v4l2 demux debug: integer Contrast (00980901) [00007f6c4002efa8] v4l2 demux debug: current: 128, default: 128 [00007f6c4002efa8] v4l2 demux debug: integer Saturation (00980902) [00007f6c4002efa8] v4l2 demux debug: current: 128, default: 128 [00007f6c4002efa8] v4l2 demux debug: boolean White Balance Temperature, Auto (0098090C) [00007f6c4002efa8] v4l2 demux debug: current: true, default: true [00007f6c4002efa8] v4l2 demux debug: integer Gain (00980913) [00007f6c4002efa8] v4l2 demux debug: current: 255, default: 0 [00007f6c4002efa8] v4l2 demux debug: menu Power Line Frequency (00980918) [00007f6c4002efa8] v4l2 demux debug: current: 2, default: 2 [00007f6c4002efa8] v4l2 demux debug: choice 0) Disabled [00007f6c4002efa8] v4l2 demux debug: choice 1) 50 Hz [00007f6c4002efa8] v4l2 demux debug: choice 2) 60 Hz [00007f6c4002efa8] v4l2 demux debug: integer White Balance Temperature (0098091A) [00007f6c4002efa8] v4l2 demux debug: current: 4660, default: 4000 [00007f6c4002efa8] v4l2 demux debug: integer Sharpness (0098091B) [00007f6c4002efa8] v4l2 demux debug: current: 128, default: 128 [00007f6c4002efa8] v4l2 demux debug: integer Backlight Compensation (0098091C) [00007f6c4002efa8] v4l2 demux debug: current: 0, default: 0 [00007f6c4002efa8] v4l2 demux debug: menu Exposure, Auto (009A0901) [00007f6c4002efa8] v4l2 demux debug: current: 3, default: 3 [00007f6c4002efa8] v4l2 demux debug: choice 1) Manual Mode [00007f6c4002efa8] v4l2 demux debug: choice 3) Aperture Priority Mode [00007f6c4002efa8] v4l2 demux debug: integer Exposure (Absolute) (009A0902) [00007f6c4002efa8] v4l2 demux debug: current: 333, default: 250 [00007f6c4002efa8] v4l2 demux debug: boolean Exposure, Auto Priority (009A0903) [00007f6c4002efa8] v4l2 demux debug: current: true, default: false [00007f6c4002efa8] v4l2 demux debug: integer Pan (Absolute) (009A0908) [00007f6c4002efa8] v4l2 demux debug: current: 0, default: 0 [00007f6c4002efa8] v4l2 demux debug: integer Tilt (Absolute) (009A0909) [00007f6c4002efa8] v4l2 demux debug: current: 0, default: 0 [00007f6c4002efa8] v4l2 demux debug: integer Focus (absolute) (009A090A) [00007f6c4002efa8] v4l2 demux debug: current: 0, default: 0 [00007f6c4002efa8] v4l2 demux debug: boolean Focus, Auto (009A090C) [00007f6c4002efa8] v4l2 demux debug: current: true, default: true [00007f6c4002efa8] v4l2 demux debug: integer Zoom, Absolute (009A090D) [00007f6c4002efa8] v4l2 demux debug: current: 100, default: 100 [00007f6c4002efa8] core demux debug: using access_demux module "v4l2" [00007f6c400375d8] core decoder debug: looking for packetizer module matching "any": 23 candidates [00007f6c400375d8] core decoder debug: using packetizer module "packetizer_h264" [00007f6c3c0009b8] core input debug: starting in sync mode [00007f6c40040928] core demux meta debug: looking for meta reader module matching "any": 2 candidates [00007f6c40040928] lua demux meta debug: Trying Lua scripts in /home/user/.local/share/vlc/lua/meta/reader [00007f6c40040928] lua demux meta debug: Trying Lua scripts in /usr/lib/vlc/lua/meta/reader [00007f6c40040928] lua demux meta debug: Trying Lua playlist script /usr/lib/vlc/lua/meta/reader/filename.luac [00007f6c40040928] lua demux meta debug: Trying Lua scripts in /usr/share/vlc/lua/meta/reader [00007f6c40040928] core demux meta debug: no meta reader modules matched [00007f6c3c0009b8] core input debug: `v4l2:///dev/video0:chroma=H264:width=1920:height=1080:fps=30' successfully opened [00007f6c3c0009b8] core input debug: Buffering 0% [00007f6c3c0009b8] core input debug: switching to async mode [00007f6c400375d8] packetizer_h264 decoder debug: found NAL_SPS (sps_id=0) [00007f6c400375d8] packetizer_h264 decoder debug: found NAL_PPS (pps_id=0 sps_id=0) [00007f6c3c0009b8] core input debug: Buffering 33% [00007f6c40000bb8] core stream output debug: adding a new sout input (sout_input:0x7f6c440008c0) [00007f6c4002c1f8] stream_out_transcode stream out debug: creating video transcoding from fcc=`h264' to fcc=`RV24' [00007f6c440015c8] core generic debug: looking for decoder module matching "any": 42 candidates [00007f6c3c0009b8] core input debug: Buffering 49% [00007f6c440015c8] avcodec generic debug: CPU flags: 0x010013db [00007f6c440015c8] avcodec generic debug: direct rendering is disabled [00007f6c440015c8] avcodec generic debug: allowing 4 thread(s) for decoding [00007f6c440015c8] avcodec generic debug: avcodec codec (H264 - MPEG-4 AVC (part 10)) started [00007f6c440015c8] avcodec generic debug: using frame thread mode with 4 threads [00007f6c440015c8] core generic debug: using decoder module "avcodec" [00007f6c44001a28] core encoder debug: looking for encoder module matching "any": 21 candidates [00007f6c44001a28] avcodec encoder debug: CPU flags: 0x010013db [00007f6c44001a28] avcodec encoder debug: Time base for probing setted to 1/1000000 [00007f6c44001a28] avcodec encoder debug: Time base set to 1/1000000 [00007f6c44001a28] avcodec encoder debug: found encoder Raw video [00007f6c44001a28] core encoder debug: using encoder module "avcodec" [00007f6c44001a28] core encoder debug: removing module "avcodec" [00007f6c3c0009b8] core input debug: Buffering 71% [00007f6c3c0009b8] core input debug: Buffering 91% [00007f6c3c0009b8] core input debug: Stream buffering done (224 ms in 191 ms) [00007f6c3c0009b8] core input debug: Decoder wait done in 0 ms [00007f6c440015c8] avcodec generic debug: available hardware decoder output format 109 (vdpau) [00007f6c440015c8] avcodec generic debug: available hardware decoder output format 53 (vaapi_vld) [00007f6c440015c8] avcodec generic debug: available software decoder output format 12 (yuvj420p) [00007f6c2004bc88] core generic debug: looking for hw decoder module matching "none": 4 candidates [00007f6c2004bc88] core generic debug: no hw decoder modules matched [00007f6c4002c1f8] stream_out_transcode stream out debug: decoder aspect is 1,761468:1 [00007f6c4002c1f8] stream_out_transcode stream out debug: source pixel aspect is 0,990826:1 [00007f6c4002c1f8] stream_out_transcode stream out debug: scaled pixel aspect is 0,990826:1 [00007f6c4002c1f8] stream_out_transcode stream out debug: source 1920x1080, destination 1920x1080 [00007f6c4002c1f8] stream_out_transcode stream out debug: source fps 30/1, destination 30/1 [00007f6c4002c1f8] stream_out_transcode stream out: input interval 33333 (base 1) [00007f6c4002c1f8] stream_out_transcode stream out: output interval 33333 (base 1) [00007f6c4002c1f8] stream_out_transcode stream out debug: encoder aspect is 1920:1090 [00007f6c4400ab58] core filter debug: looking for video filter2 module matching "any": 63 candidates [swscaler @ 0x7f6c446bd300] deprecated pixel format used, make sure you did set range correctly [00007f6c4400ab58] swscale filter debug: 1920x1080 (1920x1090) chroma: J420 -> 1920x1080 (1920x1090) chroma: RV24 with scaling using Bicubic (good quality) [00007f6c4400ab58] core filter debug: using video filter2 module "swscale" [00007f6c4002c1f8] core stream out debug: Filter 'Swscale' (0x7f6c4400ab58) appended to chain [00007f6c4002c1f8] stream_out_transcode stream out debug: destination (after video filters) 1920x1090 [00007f6c44001a28] core encoder debug: looking for encoder module matching "any": 21 candidates [00007f6c44001a28] avcodec encoder debug: CPU flags: 0x010013db [00007f6c44001a28] avcodec encoder debug: Time base for probing setted to 1/30 [00007f6c44001a28] avcodec encoder debug: Time base set to 1/30 [00007f6c44001a28] avcodec encoder debug: found encoder Raw video [00007f6c44001a28] core encoder debug: using encoder module "avcodec" [00007f6c40003348] core mux debug: adding a new input [00007f6c40003348] mux_avi mux debug: adding input [00007f6c4002c1f8] stream_out_transcode stream out warning: Reseting video sync [00007f6c4002c1f8] stream_out_transcode stream out warning: Reseting video sync [0000000001a16088] core libvlc debug: removing all interfaces [0000000001a16088] core libvlc debug: exiting [0000000001b86aa8] core interface debug: removing module "dummy" [0000000001b211a8] core interface debug: removing module "dbus" [0000000001b2f138] core interface debug: removing module "xcb_hotkeys" [0000000001b40a98] core interface debug: removing module "hotkeys" [0000000001afe588] core playlist debug: destroying [0000000001afe588] core playlist debug: deactivating the playlist [0000000001afe588] core playlist debug: incoming request - stopping current input [00007f6c3c0009b8] core input debug: control: stopping input [0000000001afe588] core playlist debug: incoming request - stopping current input [0000000001afe588] core playlist debug: finished input [00007f6c400375d8] core decoder debug: removing module "packetizer_h264" [00007f6c400375d8] core decoder debug: killing decoder fourcc `h264', 0 PES in FIFO [00007f6c40000bb8] core stream output debug: removing a sout input (sout_input:0x7f6c440008c0) [00007f6c440015c8] core generic debug: removing module "avcodec" [00007f6c440015c8] avcodec generic debug: ffmpeg codec (H264 - MPEG-4 AVC (part 10)) stopped [00007f6c44001a28] core encoder debug: removing module "avcodec" [00007f6c4002c1f8] core stream out debug: Filter 0x7f6c4400ab58 removed from chain [00007f6c4400ab58] core filter debug: removing module "swscale" [00007f6c40003348] mux_avi mux debug: removing input [00007f6c40003348] core mux warning: no more input streams for this mux [00007f6c4002efa8] core demux debug: removing module "v4l2" [00007f6c3c0009b8] core input debug: Program doesn't contain anymore ES [0000000001afe588] core playlist debug: incoming request - stopping current input [0000000001afe588] core playlist debug: dead input [00007f6c40000bb8] core stream output debug: destroying useless sout [00007f6c4002c1f8] core stream out debug: destroying chain... (name=transcode) [00007f6c4002c1f8] core stream out debug: removing module "stream_out_transcode" [00007f6c4002c1f8] core stream out debug: destroying chain done [00007f6c40001078] core stream out debug: destroying chain... (name=std) [00007f6c40001078] core stream out debug: removing module "stream_out_standard" [00007f6c40003348] core mux debug: removing module "mux_avi" [00007f6c40003348] mux_avi mux debug: AVI muxer closed [00007f6c40003348] mux_avi mux: stream[0] duration:0 totalsize:0 frames:0 fps:25,000000 KiB/s:128 [00007f6c40001fe8] core access out debug: removing module "access_output_file" [00007f6c40001fe8] access_output_file access out debug: file access output closed [00007f6c40001078] core stream out debug: destroying chain done [0000000001af2e58] core audio output debug: removing module "alsa" [0000000001b86708] core playlist export debug: saving Media Library to file /home/user/.local/share/vlc/ml.xspf.tmp32538 [0000000001b86708] core playlist export debug: looking for playlist export module matching "export-xspf": 4 candidates [0000000001b86708] core playlist export debug: using playlist export module "export" [0000000001b86708] core playlist export debug: removing module "export"
Any pointer is much appreciated

Cheers,


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 21 guests