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.

 

Go Back   Doom9's Forum > Video Encoding > New and alternative video codecs

Reply
 
Thread Tools Search this Thread Display Modes
Old 20th May 2010, 16:23   #221  |  Link
Jerry_Sm@rt
Registered User
 
Join Date: Dec 2003
Posts: 57
@TinTime
mediafire is blocked here,would you make a mirror download?
Jerry_Sm@rt is offline   Reply With Quote
Old 20th May 2010, 21:10   #222  |  Link
Biggiesized
Registered User
 
Biggiesized's Avatar
 
Join Date: Apr 2007
Location: Pittsburgh, PA
Posts: 225
Quote:
Originally Posted by Jerry_Sm@rt View Post
@TinTime
mediafire is blocked here,would you make a mirror download?
What mirrors aren't blocked?
Biggiesized is offline   Reply With Quote
Old 22nd May 2010, 12:14   #223  |  Link
TinTime
Registered User
 
Join Date: Jan 2009
Location: UK
Posts: 403
Quote:
Originally Posted by Jerry_Sm@rt View Post
@TinTime
mediafire is blocked here,would you make a mirror download?
Try this:

http://www.tintime.talktalk.net/AVS2ASF.zip
TinTime is offline   Reply With Quote
Old 25th May 2010, 05:16   #224  |  Link
Jerry_Sm@rt
Registered User
 
Join Date: Dec 2003
Posts: 57
thanx.
Jerry_Sm@rt is offline   Reply With Quote
Old 25th June 2012, 07:07   #225  |  Link
filler56789
SuperVirus
 
filler56789's Avatar
 
Join Date: Jun 2012
Location: Antarctic Japan
Posts: 1,351
Quote:
Originally Posted by NorthPole View Post
@comatose

Download this updated version. All the command line switches work with this fixed version.
The mediafire link is dead, does anybody have a copy of that file?
filler56789 is offline   Reply With Quote
Old 26th June 2012, 04:29   #226  |  Link
Reel.Deel
Registered User
 
Join Date: Mar 2012
Location: Texas
Posts: 1,664
Try this one.
Reel.Deel is offline   Reply With Quote
Old 26th June 2012, 13:09   #227  |  Link
filler56789
SuperVirus
 
filler56789's Avatar
 
Join Date: Jun 2012
Location: Antarctic Japan
Posts: 1,351
Quote:
Originally Posted by Reel.Deel View Post
Try this one.
Thanks for trying to help, but that's not what I am looking for (Tintime's AVS2ASF encodes to Advanced Profile only).

Last edited by filler56789; 27th June 2012 at 21:13. Reason: double-post
filler56789 is offline   Reply With Quote
Old 23rd March 2013, 05:15   #228  |  Link
filler56789
SuperVirus
 
filler56789's Avatar
 
Join Date: Jun 2012
Location: Antarctic Japan
Posts: 1,351
Quote:
Originally Posted by jq963152 View Post
has there ever been made a GUI for this in the meantime?
Yes, BUT...
Quote:
Originally Posted by DrBonzo View Post
Someone was asking for a GUI for this encoder - here's one:

http://extranet.spitzinc.com/downloa...misc/VC123.zip <= 404 ERROR

This is a Visual Studio '08 project that uses MFC. It's basically AVI2ASF plus a big dumb dialog for all the parameters. This is a work in progress on the way to becoming a fairly narrow-purpose in-house tool, but others might find it useful for experimenting with the VC-1 encoder. I've left a pre-built executable in the Release folder for anyone without an IDE.

Read UsageNotes.txt

I'd be happy to entertain suggestions for improvement, but can't promise to implement anything . . .
Anyway, Nic's AVS2ASF is the least usable one. TinTime's mod is quite usable, however it doesn't support Simple and Main profiles, and NorthPole's builds are not available anymore.

FWIW,
Quote:
TinTime
Registered User

Last Activity: 10th September 2011 23:28
Quote:
NorthPole
Registered User

Last Activity: 6th September 2011 21:29

Last edited by filler56789; 23rd March 2013 at 05:24.
filler56789 is offline   Reply With Quote
Old 20th May 2013, 19:56   #229  |  Link
DragonZord
Registered User
 
Join Date: May 2013
Posts: 6
I've been trying to get a VC-1 encoder set up for VirtualDub. It's proving difficult.

Benwaggoner over on Doom10 suggested the AVS2ASF solution, but all I can get is an Error -20. I have Expression Encoder v4 installed but no information on how to set-up AVS2ASF. I'd guess that it needs some DLLs from Expression Encoder? Is my version even compatible?

Is this an appropriate solution? If so, how do you set it up prior to encoding?

Unfortunately without stdin on any of the VC-1 encoders I'll have to use a temp file. VirtualDub's limited implementation of external encoders doesn't favour this approach, but I have it working, even if it makes a joke of the progress bar during the encode process.

Help very much appreciated. Thanks :-)
DragonZord is offline   Reply With Quote
Old 20th May 2013, 22:52   #230  |  Link
DragonZord
Registered User
 
Join Date: May 2013
Posts: 6
Quote:
Originally Posted by jq963152 View Post
Why? Just curious.
Because not every use for digital video is related to leisure viewing. At home I like my videos in mp4(x264+aac). At work, we use wmv(wvc1) for compatibility reasons. The sort of videos we produce are used in presentations and sent around the world. WMV is about the only thing that isn't routinely answered with complaints, and given that we use Expression Encoder, our stuff has historically been in VC-1 which actually does a great job. WMVs from ffmpeg do get returned sometimes which is why I'm keen to keep an official VC-1 implementation.

Part two of the story is that I like VirtualDub. It's not perfect and personally I think the way they've implemented external encoders is limited, awkward and badly integrated, but that's off topic. I've nothing against moving to AviSynth one day, except that I find with text-based interfaces you often forget how to do things unless you use them all the time. And that's very inefficient. Case and point, I could use AviSynth very well in 2004. All I can do now is DirectShowInput().

So the crux is that it'd be very nice if when I've finished my video I can just make it into a wmv(wvc1) by File > Export. I am obviously putting too much time into this, but I figured that I'd have solved it by now and in the process published a step-by-step solution online in a nice concise forum post. Something the Internet is missing at the moment.
DragonZord is offline   Reply With Quote
Old 20th May 2013, 23:58   #231  |  Link
DragonZord
Registered User
 
Join Date: May 2013
Posts: 6
Quote:
Originally Posted by jq963152 View Post
What do you mean by this? It reads like as if you already have solved it and already published such a post?
I didn't start here. I started about 10 days ago but couldn't find my old Doom9 login. And no it doesn't read like that: it's past conditional.

Quote:
Originally Posted by jq963152 View Post
In VirtualDub you probably could export your finished video in a lossless intermediate format and then import and encode that in Expression Encoder 4 SP2 with VC-1?
Yep, that's what I do. I figured the collective wit of mankind might be able to eliminate that step though.
DragonZord is offline   Reply With Quote
Old 21st May 2013, 20:05   #232  |  Link
benwaggoner
Moderator
 
Join Date: Jan 2006
Location: Portland, OR
Posts: 4,750
Quote:
Originally Posted by DragonZord View Post
Yep, that's what I do. I figured the collective wit of mankind might be able to eliminate that step though.
EEv4 supports live encoding. So if you could hack VirtualDub to output a frame server as a DirectShow video source, then that could work.

However, I'm having trouble coming up with a problem that would be a good way to solve. EEv4 SP2's internal preprocessing is generally as good as VirtualDub, and it can also read AVS directly as long as the per-frame render time isn't so slow that the encoder times out.

In those cases, I'll just dump to a LAGS 4:2:0 AVI, and EE will take that perfectly and pass on the pixels to the encoder as is.

More broadly, what do you need really good VC-1 for in 2013? I see its value today most in its being broadly compatible with old Windows managed desktops in enterprise environments.
__________________
Ben Waggoner
Principal Video Specialist, Amazon Prime Video

My Compression Book
benwaggoner is offline   Reply With Quote
Old 22nd May 2013, 10:29   #233  |  Link
DragonZord
Registered User
 
Join Date: May 2013
Posts: 6
Quote:
Originally Posted by benwaggoner View Post
...what do you need really good VC-1 for in 2013? I see its value today most in its being broadly compatible with old Windows managed desktops in enterprise environments.
Yep. I think I said that didn't I?
DragonZord is offline   Reply With Quote
Old 22nd May 2013, 21:24   #234  |  Link
benwaggoner
Moderator
 
Join Date: Jan 2006
Location: Portland, OR
Posts: 4,750
Quote:
Originally Posted by DragonZord View Post
Yep. I think I said that didn't I?
Okay. Could you just use Expression Encoder, then? It's a very nice tool for doing encoding for typical enterprise scenarios, and certainly takes a lot less time per file than anything involving VirtualDub or a command line.

You get nice features like parallel encode of multiple bitrates of a single source, automatic settings configuration based on interlaced/progressive source, aspect ratio, and frame rate, very nice scaling algorithms, a nice audio normalization filter, etcetera.

For most enterprise scenarios I can think of, EEv4 will give pretty much the optimal possible output for VC-1. And since it has the final Enterprise SDK version, it has the quality and speed improvements from that which were never added to the Professional version.
__________________
Ben Waggoner
Principal Video Specialist, Amazon Prime Video

My Compression Book
benwaggoner is offline   Reply With Quote
Old 4th June 2013, 12:23   #235  |  Link
DragonZord
Registered User
 
Join Date: May 2013
Posts: 6
Quote:
Originally Posted by benwaggoner View Post
Okay. Could you just use Expression Encoder, then? It's a very nice tool...
That's an option, yes. Personally I don't think it is a nice tool though. Just now it failed to encode something and now it won't import video anymore. Just another painful morning with this tool. I've deleted the user settings (etc) and re-installed and still it's broken. Joy.

Maybe I will focus my attention on wmcmd.vbs or see if I can bribe someone to add stdin. I'm not really bothered that it's out of date as it is at least reliable and can make decent videos.
DragonZord is offline   Reply With Quote
Old 5th June 2013, 17:19   #236  |  Link
benwaggoner
Moderator
 
Join Date: Jan 2006
Location: Portland, OR
Posts: 4,750
Quote:
Originally Posted by DragonZord View Post
That's an option, yes. Personally I don't think it is a nice tool though. Just now it failed to encode something and now it won't import video anymore. Just another painful morning with this tool. I've deleted the user settings (etc) and re-installed and still it's broken. Joy.
SP2 installed?

Also, by default EE will use DXVA to decode supported formats, which could possibly cause issues with funky bitstreams. You can control which decoder does what in

Quote:
Maybe I will focus my attention on wmcmd.vbs or see if I can bribe someone to add stdin. I'm not really bothered that it's out of date as it is at least reliable and can make decent videos.
If you're on at least Windows 7, you'll get the 8-way threading, 30% speedup improvement, and "swirly fix" from the final Enterprise release. Plus a better low bitrate DQuant. No Lookahead Rate Control, though. But on the whole that is probably as good or better as the existing Pro library for most scenarios.

An app that calls the OS Windows Media encoding functionality, using a PropertyBucket to control parameters, could be a lot easier to write. And getting stdin to work with DirectShow should be pretty trivial. You could probably prototype the whole thing in GraphEdit if you wanted.
__________________
Ben Waggoner
Principal Video Specialist, Amazon Prime Video

My Compression Book
benwaggoner is offline   Reply With Quote
Old 30th June 2013, 22:38   #237  |  Link
DarrellS
Registered User
 
Join Date: Mar 2013
Posts: 28
Hey DragonZord, did you get anything working in Virtualdub?

I've got WMA-STD, WMA-LSL and WMA-PRO working with WMAEncode_0.2.9b but I cannot get 5.1 with any encoder I've tried. The cscript/wmcmd.vbs option isn't working for me at all with audio or video. Any help would be appreciated.

Here are the commands for WMA using wmaencode.exe...

Code:
{
	"description": "VirtualDub external encoder profile collection",
	"externalEncoders": {
		"sets": {
			"WMA-STD": {
				"videoEncoder": "",
				"audioEncoder": "WMA-STD",
				"multiplexer": "",
				"description": "wma",
				"extension": "wma",
				"processPartial": true,
				"useOutputAsTemp": false
			},
			"WMA-PRO": {
				"videoEncoder": "",
				"audioEncoder": "WMA-PRO",
				"multiplexer": "",
				"description": "wma",
				"extension": "wma",
				"processPartial": false,
				"useOutputAsTemp": false
			},
			"WMA-LSL": {
				"videoEncoder": "",
				"audioEncoder": "WMA-LSL",
				"multiplexer": "",
				"description": "wma",
				"extension": "wma",
				"processPartial": false,
				"useOutputAsTemp": false
			},
		"profiles": {
			"ASFmux": {
				"name": "ASFmux",
				"program": "ffmpeg-20130624-git\\ffmpeg.exe",
				"commandArguments": "-i \"%(tempvideofile)\" -i \"%(tempaudiofile)\" -vcodec copy -acodec copy -f wmv -y \"%(outputname)\"",
				"outputFilename": "%(outputname).audio",
				"type": 2,
				"inputFormat": 0,
				"checkReturnCode": true,
				"logStdout": true,
				"logStderr": true,
				"bypassCompression": false,
				"predeleteOutputFile": true
			},
			"WMA-STD": {
				"name": "WMA-STD",
				"program": "WMAEncode.exe",
				"commandArguments": "-i \"-\" -c std -m cbr \"%(tempaudiofile)\"",
				"outputFilename": "%(outputname).wma",
				"type": 1,
				"inputFormat": 1,
				"checkReturnCode": true,
				"logStdout": true,
				"logStderr": true,
				"bypassCompression": true,
				"predeleteOutputFile": true
			},
			"WMA-PRO": {
				"name": "WMA-PRO",
				"program": "WMAEncode.exe",
				"commandArguments": "-i \"-\" -c pro -m cbr \"%(tempaudiofile)\"",
				"outputFilename": "%(outputname).wma",
				"type": 1,
				"inputFormat": 1,
				"checkReturnCode": true,
				"logStdout": true,
				"logStderr": true,
				"bypassCompression": true,
				"predeleteOutputFile": true
			},
			"WMA-LSL": {
				"name": "WMA-LSL",
				"program": "WMAEncode.exe",
				"commandArguments": "-i \"-\" -c lsl \"%(tempaudiofile)\"",
				"outputFilename": "%(outputname).wma",
				"type": 1,
				"inputFormat": 1,
				"checkReturnCode": true,
				"logStdout": true,
				"logStderr": true,
				"bypassCompression": true,
				"predeleteOutputFile": true
			},
			}
		}
	}
}
Not sure if ASFmux will work since I can't get any wmv encoders working. ffmpeg or wmcmd.
DarrellS is offline   Reply With Quote
Old 1st July 2013, 20:14   #238  |  Link
raffriff42
Retried Guesser
 
raffriff42's Avatar
 
Join Date: Jun 2012
Posts: 1,373
Quote:
Originally Posted by DragonZord View Post
>>In VirtualDub you probably could export your finished video in a
>>lossless intermediate format and then import and encode
>>that in Expression Encoder 4 SP2 with VC-1?

Yep, that's what I do. I figured the collective wit of mankind might be able to eliminate that step though.
You want to eliminate the intermediate file, or eliminate VirtualDub entirely? To eliminate VirtualDub, skip to step 4
  1. Frame serve from VirtualDub.
  2. Save signpost as .avi, not .vdr as documented.
    Do not open signpost .avi in MS Expression 4.
  3. Create Avisynth wrapper script.
  4. Open script in MS Expression 4.
  5. Encode. Share and enjoy.
Tested with VirtualDub 1.10.3, Avisynth 2.6, MS Expression Encoder 4 SP 1
raffriff42 is offline   Reply With Quote
Old 2nd July 2013, 18:16   #239  |  Link
DarrellS
Registered User
 
Join Date: Mar 2013
Posts: 28
I think the idea is to do it all in Virtualdub with the external encoder feature using command line encoders and multiplexer without having to use two or three other programs to do the job.

ffmpeg supports wmv1 and wmv2 but does not support wmv3 or vc-1 encoding.
cmdvbs doesn't support raw input from Virtualdub so we can't do audio or video
asfbin will not mux the wmv2 and wma2 audio from Virtualdub
ffmpeg will mux the files but the files won't play in wmp or mpc-hc (the files will seek but not play). They do play in VLC player.

If the guy that created wmaenc.exe would've created a wmvenc.exe then we'd be in business since we are able to create windows media audio files with his command line encoder. We just can't create 5.1 audio files (not sure why since it uses the pro codec).

I have no desire to encode wmv for myself but I am interested in getting as many command line encoders as possible working with the external encoder feature of Virtualdub. It looked like DragonZord was really close but as long as the cmdvbs option doesn't support stdin then I don't think it's possible and I don't think anyone is going to create a wmv command line encoder anytime soon (or ever). ffmpeg could implement a wmv9 encoder and make it easy for everyone since MS released wwv9vcm years ago but I guess they're afraid of a lawsuit. I know someone was working on a vc1 encoder for ffmpeg years ago but the project was dropped.
DarrellS is offline   Reply With Quote
Old 11th October 2014, 15:54   #240  |  Link
filler56789
SuperVirus
 
filler56789's Avatar
 
Join Date: Jun 2012
Location: Antarctic Japan
Posts: 1,351
I was bored, so I archived TinTime's mod of AVS2ASF @ GitHub:

Code:
https://github.com/filler56789/AVS2ASF-2
filler56789 is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 12:29.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.