LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 05-20-2010, 07:16 PM   #1
CoderMan
Member
 
Registered: Jan 2009
Location: Gemini Capsule 25164
Distribution: Gentoo
Posts: 375
Blog Entries: 24

Rep: Reputation: 43
Question vlc: transcode to vp6?


I've got this setup with vlc and WowzaMS2: I use vlc to capture camera output with v4l, transcode it to h264 with the x264 module, and stream it over to Wowza. Wowza streams it out to the web in RTP where it is viewed as Flash video at my project web site. Here's the vlc code:

Code:
    cvlc -vv --v4l-norm 1 --v4l-fps 60 v4l:///dev/video0:channel=0:adev=none:width=352:height:288 :sout="#transcode{vcodec=x264,venc=x264,vb=192,scale=1}:duplicate{dst=rtp{dst=XXXXXXXXXX,sdp="file:///usr/local/WowzaMediaServer/content/camera1.sdp",port=XXXX}}" >/dev/null 2>&1 &
    cvlc -vv --v4l-norm 1 --v4l-fps 60 v4l:///dev/video1:channel=0:adev=none:width=352:height:288 :sout="#transcode{vcodec=x264,venc=x264,vb=192,scale=1}:duplicate{dst=rtp{dst=XXXXXXXXXX,sdp="file:///usr/local/WowzaMediaServer/content/camera2.sdp",port=XXXX}}" >/dev/null 2>&1 &
I'm having a problem with too much latency on the client side (possibly related to JW Player), and someone suggested switching my codec to vp6. But I'm having trouble figuring out how to adjust my vlc code to transcode to vp6.

The scraps of documentation I've found on the vlc site indicate that ffmpeg is the encoder I should be using for that, and that vp6 is the command-line keyword I should be using, but if I try something like this

Code:
    cvlc -vv --v4l-norm 1 --v4l-fps 60 v4l:///dev/video0:channel=0:adev=none:width=352:height:288 :sout="#transcode{vcodec=vp6,venc=ffmpeg,vb=192,scale=1}:duplicate{dst=rtp{dst=XXXXXXXXXX,sdp="file:///usr/local/WowzaMediaServer/content/camera1.sdp",port=XXXX}}"
I get errors back like so:

Code:
0xa64a8b3f2c8] main encoder warning: no encoder module matching "ffmpeg" could be loaded
[0xa64a8b3f2c8] main encoder debug: TIMER module_need() : 0.051 ms - Total 0.051 ms / 1 intvls (Avg 0.051 ms)
[0xa64a8b52e08] stream_out_transcode stream out error: cannot find video encoder (module:ffmpeg fourcc:vp6 )
[0xa64a8b3ee78] main decoder debug: removing module "rawvideo"
[0xa64a8b52e08] stream_out_transcode stream out error: cannot create video chain
[0xa64a8b543e8] main packetizer error: cannot create packetizer output (RV24)
I am running everything on a amd64 Gentoo server, and I compiled with ffmpeg support and dependencies. The command

Code:
vlc -p ffmpeg --advanced --help-verbose | less
Gives pages of command line switches but I don't see any info on vp6.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Getting VLC to transcode a WMV video jroyce Linux - Software 2 06-17-2012 05:43 PM
VLC error: VLC could not open the file "/usr/share/vlc/skins2/text.bmp". brjoon1021 Ubuntu 1 01-14-2009 11:48 PM
vp6 codec in mkv container librano Linux - Software 0 10-19-2004 04:16 PM
Suse 7.0, 2.2.19 kernel and Abit VP6 compatibility? grobertsiii Linux - Software 0 01-21-2002 09:51 AM
Hey guys I have a problem with VP6 and Linux Stimm Linux - General 3 02-09-2001 05:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 03:12 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration