Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
10th April 2004, 11:23 | #2 | Link |
Registered User
Join Date: Nov 2001
Posts: 9,770
|
thats the nullsoft format
i assume if there is a tool which handles it, than winamp
__________________
Between the weak and the strong one it is the freedom which oppresses and the law that liberates (Jean Jacques Rousseau) I know, that I know nothing (Socrates) MPEG-4 ASP FAQ | AVC/H.264 FAQ | AAC FAQ | MP4 FAQ | MP4Menu stores DVD Menus in MP4 (guide) Ogg Theora | Ogg Vorbis use WM9 today and get Micro$oft controlling the A/V market tomorrow for free |
11th April 2004, 07:51 | #3 | Link |
Registered User
Join Date: Mar 2002
Posts: 11
|
There is talk about tools but nobody is posting links. Are there winamp police??
I did find this about the format: http://home.pcisys.net/~melanson/codecs/nsv-format.txt And a couple of posts about making "almost" streams using vp3 and mp3 codecs with virtualdub. But they weren't quite right. There are also people using other codecs (Xvid) on the streams. |
12th April 2004, 23:06 | #5 | Link |
Registered User
Join Date: Mar 2002
Posts: 11
|
Those are "something to NVS" tools. Actually grabbed some of my webcam and capture card video with them. But I would like to go the other way.
I know the quality isn't all that great with these streams. I would like to share some of the strange stuff with a couple of my friends who are bandwidth challenged. VCDs are good enough. Thanks to those who posted replies. |
15th April 2004, 02:45 | #7 | Link |
Registered User
Join Date: Sep 2002
Location: France
Posts: 432
|
I wrote some time ago a tool to demux nsv files to say, avi+mp3 (I haven't tested with aac content). I tried to add transmuxing to matroska, but file was unplayable; the avi file, the mp3 file and the avi+mp3 file from VDubMod played fine if I recall well. I don't remember in what state I left the code but here it is. I suspect it to compile only with MS VC++ and maybe mingw/cygwin provided you have the proper headers. No binary included, no documentation.
Btw, the only win32 demux tool I found was only dumping the videostream without the slightest header. What is fine with MP3 stream isn't with a video codec, hence the need for an avi output. |
17th April 2004, 04:54 | #9 | Link |
Registered User
Join Date: Oct 2001
Location: Melbourne, Australia
Posts: 2,171
|
If you get stuck, here is a compiled version:
http://www.aziendeassociate.it/cd//Misc/NSVDemux.7z Not tested it though as I don't have any NSV files. Last edited by celtic_druid; 13th August 2005 at 09:43. |
17th April 2004, 14:29 | #10 | Link |
Registered User
Join Date: Dec 2003
Posts: 7
|
I've tested little bit NSVD.exe compiled by celtic_druid.
NSVD.exe -n input.nsv -a video.avi -w audio.ext will demux NSV stream.After that I can convert avi or mkv. some NSV work fine but some had problem VP61+mp3 tested with NTCast K-Pop at http://61.74.71.103:11900/;stream.nsv work fine.It can convert to VP6+mp3 AVI. VP31+mp3 tested with XRM at http://205.188.234.33:8048/;stream.nsv and OHMYTRANCE at http://211.39.130.125:8000/;stream.nsv It can convert to VP3+mp3 AVI.But It can't seek.If seek it will freeze frame. VP60+AAC tested with Bjork 1M at http://205.188.234.33:8010/;stream.nsv It have sync problem and can't seek. VP61+AAC tested with Saltwaterchimp.com at http://211.39.130.125:8000/;stream.nsv same problem as above. VP62+AAC tested with NSV file encoded by myself It can convert to VP6+AAC MKV.But can't seek. Last edited by yedo1; 17th April 2004 at 14:39. |
17th April 2004, 16:20 | #11 | Link |
Registered User
Join Date: Sep 2002
Location: France
Posts: 432
|
I had tested with an VP6.1 video with MP3 audio. In order to make it seekable, programs must identify keyframes and mark them as such in the avi output. Such information is AFAIK unavailable in NSV. I found a byte identifying VP61 keyframes, but I haven't searched for other codecs, ie XviD. And I won't most probably, as it may depends on bitstream version, and may be written on only 1 bit.
|
17th April 2004, 22:19 | #12 | Link |
Registered User
Join Date: Dec 2002
Location: Sydney, Australia
Posts: 252
|
When you remux an MPEG-4 bitstream into MP4 using the 3ivx DS Muxer, the keyframes are re-derived
ie NSV->AVI, AVI->MP4 (and then possible MP4->AVI) will accomplish what you want
__________________
http://www.3ivx.com |
18th April 2004, 09:09 | #13 | Link | |
Registered User
Join Date: Mar 2002
Posts: 11
|
Thanks celtic_druid for the compile, but I get a program too large for memory error.
Found an old VC++ 6 disk. I get an Quote:
It's late here. Will try again tomorrow.... |
|
18th April 2004, 13:43 | #15 | Link |
Registered User
Join Date: Sep 2002
Location: France
Posts: 432
|
I took enough time to check with the above streams. Option -k often solved the problem:
- when you start recording a stream, you can't be sure first frame recorded will be a keyframe - so, untill the stream has one, the previous frames should be discarded - a packet doesn't always start with a keyframe However, there were still some problems, and I corrected the keyframe detection. Some tests I couldn't make: - VP5 streams, as I don't have a proper decoder (I could try demuxing to avi+mp3, then remux to nsv, but that's too troublesome) - VP6.2, as I don't have any stream This detection is located in IsFrameKF function, InputFormat.cpp. You can add yourself detection this way: - first use ds option to dump files for each frame (you can abort the process once the program dumped enough frames) - use an hexa editor to check what common byte (or worse, bit) they have and then guess the 'keyframe proof' or - you already know from a standard like ISO MPEG-4 where this information is/how to extract it then - put in your own code once you know how to detect a keyframe Example: for VP6.1, the 2nd byte of a video keyframe seems to always be '6'. So, within the IsFrameKF function, such a case was added: Code:
case mmioFOURCC('V','P','6','1'): Type = *(((unsigned char *)videobuf) + 1); bIsKF = (Type == '6') ? true : false; break; Last but not least, I modified code+project so that: - matroska support can be disabled. If you need it, you have to:
Archive linked above was updated. Last edited by Kurosu; 19th April 2004 at 14:41. |
19th April 2004, 14:47 | #17 | Link |
Registered User
Join Date: Sep 2002
Location: France
Posts: 432
|
I think it's possible. However, I've got bad experience with Matroska (NSV to Matroska), and so it would be too much of a bother (time-wise) for me to extract streams from a Matroska file to a NSV file. AVI to NSV is more practical. Once the streams are available, it is possible to 'mux' to NSV, but I don't know what the requirements are (max packet size, bitrate, ...).
|
19th July 2005, 05:49 | #18 | Link |
mad computer-scientist
Join Date: Mar 2002
Posts: 1,375
|
is the source for nsvd still avaible somewhere or can someone post it again, please?
i'd like to add the vp62 keyframe detection thx for thos interested, these are the first bytes of some keyframes (the 7 biggest frames) : 72 47 0F 16 0F 16 3F 62 98 70 47 0F 16 0F 16 3F 62 97 72 47 0F 16 0F 16 3F 62 9C 70 47 0F 16 0F 16 3F 62 99 6A 47 0F 16 0F 16 3F 62 98 70 47 0F 16 0F 16 3F 62 98 6E 47 0F 16 0F 16 3F 62 A2 |
19th July 2005, 12:07 | #19 | Link |
Mr. Sandman
Join Date: Sep 2003
Location: Haddonfield, IL
Posts: 11,768
|
__________________
MPEG-4 ASP Custom Matrices: EQM V1(old), EQM AutoGK Sharpmatrix (aka EQM V2), EQM V3HR (updated 01/10/2004), EQM V3LR, EQM V3ULR (updated 04/02/2005), EQM V3UHR (updated 17/12/2004) and EQM V3EHR (updated 05/10/2004) Info about my ASP matrices. MPEG-4 AVC Custom Matrices: EQM AVC-HR Info about my AVC matrices My x264 builds. Mooo!!! |
Thread Tools | Search this Thread |
Display Modes | |
|
|