![]() |
#1 |
Major Dude
Join Date: Jan 2004
Posts: 1,141
|
New Vp8 coder. v-0.9.5
Hey guys, the camjo was re-released with a couple small updates and most importantly, a new build of the vp8 codec.
more info here. http://www.thebitstream.com/?p=250 Also, added the first round of icecast server mount support. If you use nsv output , name the mount '*.nsv' or winamp will not play it as nsv. The icecast module also outputs plain audio. No title change action yet. |
![]() |
![]() |
![]() |
#2 |
Member
Join Date: Jul 2006
Location: Italy
Posts: 93
|
Nice job Smelter
![]() |
![]() |
![]() |
![]() |
#3 |
Major Dude
Join Date: Jan 2004
Posts: 1,141
|
Hey, thx
btw streamer45, Your red5 app was rebuilt and works mucho better. hit me on skype. |
![]() |
![]() |
![]() |
#4 |
Member
|
Well, vp8 codec can be used with nsvcap thanks to nsv_coder_vp8.dll. I haven't tested yet but I think old nsvcap (from NSVtools_repack.exe) can broadcast via shoutcast without problems. I don't know what Vidcast.exe can do, looks to be a similar application like nsvcap. Unfortunately I don't have any camera in this PC to make some tests right now. The old vp62 encoder did his job several years, we hope that vp8 has a better image quality at the same video bitrate comparing with vp62. I'm using it since 2004 after I have discovered the solution here on winamp forums.
We are waiting also a brand new version of NSVTOOLS, that one i'm using is the last build ever made, pls correct me if I'm wrong. Also in these years I couldn't find a proper solution to put the streaming in a web page. As far as I know, the only one player is Rava's made by AOL who can connect to a shoutcast server which is broadcasting vp62 content but is working with IE only without support for firefox or other browsers. Somebody told me that there is also a flash solution, never found it, never saw a live stream example in a web page (swf) somewhere. I've read also about red5 but i don't understand exactly what it does and seems to run under linux only http://red5.org/wiki/Install Anyway I was curios about this new vp8 codec and for a solution to mount a shoutcast stream into a web page power by a flash solution (even for vp62 if it works will be outstanding). My previous post here was several years ago so if I'll make this post into a wrong section please accept my apologies. |
![]() |
![]() |
![]() |
#5 | |||||
Major Dude
Join Date: Jan 2004
Posts: 1,141
|
Quote:
Quote:
Quote:
Quote:
Quote:
http://thundersnow.thebitstream.com/player/ |
|||||
![]() |
![]() |
![]() |
#6 |
Member
|
Thanks so much. I've tried vp8 under nsvtools and is working very nice via shoutcast. Very interesting latest verion of camjo but is working only with icecast. After the transmission is started camjo can connect to icecast but unfortunately winamp client not. I wasn't able to connect to the stream with winamp using the standard url like http://server_ip:8000;stream.nsv, nothing happens.....is trying to connect for ~one second and suddenly gives up.
Any solutions? Thanks in advance! |
![]() |
![]() |
![]() |
#7 |
Major Dude
Join Date: Jan 2004
Posts: 1,141
|
sorry, My fault. I broke it.
Ill fix it soon, |
![]() |
![]() |
![]() |
#8 |
Member
|
We are waiting the new version, nice work Smelter!
|
![]() |
![]() |
![]() |
#9 |
Member
Join Date: May 2008
Posts: 94
|
Will your red5 app oder thundersnow support vp8?
|
![]() |
![]() |
![]() |
#10 |
Major Dude
Join Date: Jan 2004
Posts: 1,141
|
no until I get the alchemy version or create the alchemy version myself. cygwin anyone?
|
![]() |
![]() |
![]() |
#11 |
Member
Join Date: May 2008
Posts: 94
|
I do.
I tried also to create a vp8 coder dll by myself. Tried it with the samples from the nsv sdk, can you post the visual studio source from your coder dll? Played arround with your vp8 coder dll...found some "bugs": - VLC plays VP8 Stream but the picture is 180° inverted - ffmpeg can't decode an vp8 nsv stream, error messge: Invalid (unknown) pixel format Last edited by oLRi; 25th February 2011 at 12:29. |
![]() |
![]() |
![]() |
#12 |
Major Dude
Join Date: Jan 2004
Posts: 1,141
|
http://comserver.googlecode.com/svn/.../comDemo/coder
Extract the the codec source from http://www.webmproject.org/tools/vp8-sdk/ to the 'includes' directory. Configure the project settings to the correct includes. On your flipping.... So then, you'll have to flip/unflip the image output, which is unflipped I think, and set/unset the coder_dll flip flag. Winamp is not flipped at this time, so flip the output and toggle the flip flag. Winamp will still be right side up then. Also check versions. 'Flip' shouldn't change between versions, but output can look funny. This was 9.5 from january. |
![]() |
![]() |
![]() |
#13 | |
Member
Join Date: May 2008
Posts: 94
|
Sooooooo.....
I changed: code: to: code: the 1/0 is the toggle for flipping. When i use a coder.dll with this settings my VLC Stream is correct, but now my winamp stream is fliped. But i think i am missing this: Quote:
|
|
![]() |
![]() |
![]() |
#14 |
Major Dude
Join Date: Jan 2004
Posts: 1,141
|
Oh shit, you're right! the flip flag is in the decoder, and that is now built in to winamp core!
We can ask winamp team to flip nsv video for vp8 and It would probably be in the next release |
![]() |
![]() |
![]() |
#15 |
Member
Join Date: May 2008
Posts: 94
|
So there is no possibility to compile a coder.dll with vp8 which has a "normal" picture in vlc (and other clients) AND winamp at the same time?
So the only thing i can do is build a dll for "winamp viewers" and "other viewers"? ![]() |
![]() |
![]() |
![]() |
#16 |
Major Dude
Join Date: Jan 2004
Posts: 1,141
|
No, the winamp team is very cool about responding to this kind of thing.
It will just be till the next release likely. |
![]() |
![]() |
![]() |
#17 |
Member
Join Date: May 2008
Posts: 94
|
There is something other i'm playing with at this time:
watermarking. I thought i can't be that hard to implement a watermark with a custom dll. in this function RGBtoYUV420PSameSize you have 'rgb' which is the rgbpicture of each frame, right? So i must be easily possible to modify each frame...any ideas about that? |
![]() |
![]() |
![]() |
#18 |
Major Dude
Join Date: Jan 2004
Posts: 1,141
|
The easy way is to load the rgb bits of another and blend them.
code: The harder but easier way( ![]() code: |
![]() |
![]() |
![]() |
#19 |
Member
Join Date: May 2008
Posts: 94
|
Hmm..
And how do i parse a bmp file from filesystem to a rgbquad array? |
![]() |
![]() |
![]() |
#20 |
Major Dude
Join Date: Jan 2004
Posts: 1,141
|
code: |
![]() |
![]() |
![]() |
#21 |
Member
Join Date: May 2008
Posts: 94
|
Hmm
I've made a test file, i opens 2 bmp's and gets the bits. this works, but if i use your alphablend function my application crashes... here's the code: http://pastebin.com/VZrLhVm0 i think it has something todo with the pointers, i'm very new to c ![]() |
![]() |
![]() |
![]() |
#22 |
Major Dude
Join Date: Jan 2004
Posts: 1,141
|
probably not the same size as the movie.
|
![]() |
![]() |
![]() |
#23 | |
Member
Join Date: May 2008
Posts: 94
|
Quote:
http://msdn.microsoft.com/en-us/libr...=vs.85%29.aspx "rgbReserved" can only be 0? But this makes no sense because it would ALWAYS mean: (pSource->rgbRed * 0 / 256 + pCheckers->rgbRed * ( 256 - 0 ) / 256); which would be: (0 / 256 + pCheckers->rgbRed * 256 / 256); which is: (0 + pCheckers->rgbRed); which is: (pCheckers->rgbRed); |
|
![]() |
![]() |
![]() |
#24 |
Major Dude
Join Date: Jan 2004
Posts: 1,141
|
yes it is zero typically where the media type is 24 bits per pixel, and the whole frame work supports systems that can only access a full word. At the pixel level it is the 'quad'. at the pixel row level it is the 'image stride'.
'reserved' was 'reserved' for any 32bit pixel type even where the reserved byte data does not translate to visual 'alpha' The 'reserved' byte could hold any data related to the pixel. The 'must be zero' key 'must be zero' where you are only sending 24bits of color to a machine that it is unknown what Endian it is. Your RGBQuads are handled in the same system, and only to shuffle the pointed values. Clearly your render pipeline requests ARGB pixels, which are 32bits packed. You can create your own class handler to handle the pointers. You should also look at the 32bit alpha media type from the directshow samples. |
![]() |
![]() |
![]() |
#25 |
Major Dude
Join Date: Jan 2004
Posts: 1,141
|
If a PC sends 24bit pixels to a MAC, the 32bit word must have the reserved byte as zero so the MAC can determine what 8 bits is blue, then swap.
'must be zero' would not apply to 32 bit alpha image, and really only apply in an windows function that explicitly takes a RGBQuad as a parameter, and even then, 'must be zero' I think was auto inserted any time a developer left a parameter undocumented , as in the case of future media types. |
![]() |
![]() |
![]() |
#26 |
Senior Member
|
Hello
The VP8 v0.9.7 "Cayuga" is out since about one month ago (2011-08-02). The changelog sounds nice: http://www.webmproject.org/tools/vp8-sdk/changelog.html http://blog.webmproject.org/2011/08/...-released.html I hope we will see with this release more VP8 Shoutcast TV streams if Winamp supports it. |
![]() |
![]() |
![]() |
#27 |
Major Dude
Join Date: May 2003
Location: Denver, Colorado
Posts: 1,055
|
Your site seems to be under maintenance Smelter but this has me intrigued now.....
In fact, I just may take those videos that can't be streamed elsewhere (You know THOSE videos ![]() ![]() Cheers ![]() Pat Cook Englewood, CO |
![]() |
![]() |
![]() |
#28 |
Junior Member
Join Date: Apr 2008
Posts: 1
|
I have compiled a new "nsv_coder_vp8.dll" based on VP8 v0.9.7 "Cayuga". You can download it under http://bommels-technik-welt.de.
It works very fine on my NSV-Tools. Have fun and enjoy it ![]() cu Pythy |
![]() |
![]() |
![]() |
#29 |
Moderator
Join Date: Apr 2003
Location: www.ScenicTelevision.com
Posts: 2,976
|
Nice Job Pithy !
Scenic Television is your ambient window to the world - - www.ScenicTelevision.com |
![]() |
![]() |
![]() |
#30 |
Moderator
Join Date: Apr 2003
Location: www.ScenicTelevision.com
Posts: 2,976
|
It is a shame that NSV encoding cant be added to VLC. That would take care of any update for NSV tools.
There is actually an NSV module that some one created a few years ago, I still wonder why it could not be added to VLC. Scenic Television is your ambient window to the world - - www.ScenicTelevision.com |
![]() |
![]() |
![]() |
#31 |
Banned
Join Date: Jun 2004
Location: Oregon
Posts: 11,002
|
Shoutcast needs to stream webm. The best current tool for making webm (VP8/vorbis) files is ffmpeg. FFmpeg is now suitable for making webm in a production environment. It is about half speed vs. h264 in the encode direction. That's a lot better than it was last year. Mostly it's not really well threaded.
VLC (and I think it's almost on purpose) is a terrible encoder. |
![]() |
![]() |
![]() |
#32 |
Senior Member
|
VP8 Codec SDK v1.0.0 "Duclair" Released (Friday, January 27, 2012)
"performance improvements up to ~10,5%" :-) Update: libvpx 1.0.0 Duclair: VP8 Video Encoding Benchmarked |
![]() |
![]() |
![]() |
#33 |
Moderator
Join Date: Apr 2003
Location: www.ScenicTelevision.com
Posts: 2,976
|
Good catch !
Dirac has updated their encoder as well. http://diracvideo.org/2012/01/schroedinger-1-0-11/ Scenic Television is your ambient window to the world - - www.ScenicTelevision.com |
![]() |
![]() |
![]() |
#34 |
Senior Member
|
VP8 Codec SDK (libvpx) before 1.0.0 "Duclair" allows remote attackers to cause a denial of service (application crash)...
http://web.nvd.nist.gov/view/vuln/de...=CVE-2012-0823 |
![]() |
![]() |
![]() |
#35 |
Junior Member
Join Date: Mar 2012
Posts: 42
|
Indeed, I've been using VP62. I just installed VP8 and everything so far looks good. I will find out shortly about the Quality. A copy of the VP8 Codec along with Install Instructions has been posted to my files area on my website. The German Webpage was a little painful to look at
![]() |
![]() |
![]() |
![]() |
#36 | |
Junior Member
Join Date: Mar 2012
Posts: 42
|
Quote:
|
|
![]() |
![]() |
![]() |
#37 |
Junior Member
Join Date: Mar 2012
Posts: 42
|
Ohh also, I noticed that whatever bitrate I use seems to be "halfed" when its done. I can set it to 256kb/sec but when I play it back in Winamp 5 it reports closer to 128. Ideas?
|
![]() |
![]() |
![]() |
#38 |
Major Dude
Join Date: Apr 2003
Location: kaimas Å¡alia AnykÅ¡Äių
Posts: 680
|
probably You encoding at 15 FPS, and wrapper didnt set correctly FPS for encoder.
Sample Xvid coder didnt handle FPS neither marked keyframes IIRC |
![]() |
![]() |
![]() |
#39 |
Junior Member
Join Date: Mar 2012
Posts: 42
|
Hahhaha, okay... Yeah, your right.. My FPS was set at 15, that does explain a few things.
|
![]() |
![]() |
![]() |
#40 |
Major Dude
Join Date: Apr 2003
Location: kaimas Å¡alia AnykÅ¡Äių
Posts: 680
|
yeah just tested myself, that's the case
|
![]() |
![]() |
![]() |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|