|
|
| stephanV |
| Posted: Jun 3 2010, 10:11 AM |
 |
|
Spam killer ;)
  
Group: Moderators
Posts: 4348
Member No.: 8917
Joined: 18-February 04

|
Perhaps this is not the thread for x264 settings discussion...
I have done some more experimenting with the external encoder feature now and must say it is coming out really nice. I have some questions to ask and reports to make though:
1. The crash is fixed. Yay! 
2. To encode video-only a muxer still must be selected, otherwise the temp video file gets deleted and the result is a 0 byte file. I don't know if you can change this, but it would be appreciated.
3. Right now it is also not possible to encode audio only (VirtualDub gives an error for this). Not a high priority, but would be nice to have anyway.
4. %(samplingrate) is in Hz, while Lame expects kHz. Now, Lame also accepts WAV but I needed this for a test and there might be other encoders that need this as well. Perhaps the macro could be split in %(samplingrateHz) and %(samplingratekHz) or an operation like %(samplingrate/1000) could be made possible perhaps.
5. When using the Raw audio option, valid video and audio files are produced but never muxed and temporary files are not deleted either (tested with oggenc2 and lame). When using the raw options in the encoder but having VirtualDub feeding it a WAV header the files do get muxed but obviously you get the 'chirp' of the header in the audio.
I'll post the commandlines here
| CODE | oggenc2: --raw --raw-bits=%(audioprecision) --raw-chan=%(channels) --raw-rate=%(samplingrate) -q2 - -o "%(tempaudiofile)"
lame: -r -s 48 --bitwidth %(audioprecision) -V5 - "%(tempaudiofile)"
|
6. First I thought I was crazy and point 5 didn't really happen anymore, but it seems when closing VirtualDub the Raw audio setting doesn't stick and VirtualDub changes it to WAV.
7. The Raw output is signed and little-endian, correct?
Thanks for this feature!
-------------------- useful links: VirtualDub, Input plugins and filters, AviSynth, AVI-Mux GUI, AC3ACM by fcchandler, VirtualDub FAQ |
 |
| Loadus |
| Posted: Jun 3 2010, 12:07 PM |
 |
|

Advanced Member
  
Group: Members
Posts: 352
Member No.: 10881
Joined: 1-July 04

|
| QUOTE (jpsdr @ Jun 3 2010, 01:32 AM) | | Why use b-pyramid strict, when the encode (with keyint 999) is obviously not for blu-ray ? |
Those are experimental settings for the iPhone. (Not to be used, or read on this example)
-------------------- deviantART behance |
 |
| Jam One |
| Posted: Jun 3 2010, 12:17 PM |
 |
|
Advanced Member
  
Group: Members
Posts: 580
Member No.: 25518
Joined: 8-May 09

|
A bug with Direct-X Pixel Shaders / effect files:
After changing the preview&output panes aspect ratio the changed image is corrupt. If AR corrected to make the image wider -> garbage or empty space is added. If AR corrected to make the image narrower -> portion of image is cut off.
Nature of FX pixel shader effect file: Color correction. Versions affected: all recent Virtualdub 1.9.x builds. Were the earlier versions affected: no, obviously not. I use the FX file for colorspace conversion on Wide-Gamut monitor, that means I use it always, so I would have known for sure if some previous version would have failed =)) |
 |
| v0lt |
| Posted: Jun 3 2010, 01:18 PM |
 |
|
Advanced Member
  
Group: Members
Posts: 119
Member No.: 26125
Joined: 5-September 09

|
| QUOTE (phaeron @ Jun 3 2010, 05:58 AM) | I've added four new macros in test-21:
- %(hostdir): evaluates to VirtualDub's program directory
- %(outputdir): evaluates to the directory of the output file
... If an encoding set does not have an audio encoder, the encoding now proceeds without the audio path, like any other video-only export.
The temp video/audio files are now deleted on completion. |
Thank you 
Another question: What makes an option "Bypass compression" in the settings of the audio encoder? |
 |
| v0lt |
| Posted: Jun 3 2010, 01:36 PM |
 |
|
Advanced Member
  
Group: Members
Posts: 119
Member No.: 26125
Joined: 5-September 09

|
| QUOTE (Loadus @ Jun 3 2010, 06:57 AM) | The %(hostdir) is meant to be used in the command arguments, right? So I can't use it like this (x264.exe residing in VirtualDub's folder):

Would be cool to make the encoder profiles "portable" ... : ) |
For a long time like this can (see picture).
 full encoder path = "c:\Program Files\VirtualDub-1.9.X\tools\x264\x264.exe"
For your case in the field "Program" should only write "x264.exe". |
 |
| Loadus |
| Posted: Jun 3 2010, 04:26 PM |
 |
|

Advanced Member
  
Group: Members
Posts: 352
Member No.: 10881
Joined: 1-July 04

|
| QUOTE (v0lt @ Jun 3 2010, 07:36 AM) | | For your case in the field "Program" should only write "x264.exe". | Ah. Should've figured that one. Heh. Thx muchos. ^^
-------------------- deviantART behance |
 |
| phaeron |
| Posted: Jun 4 2010, 08:10 AM |
 |
|

Virtualdub Developer
  
Group: Administrator
Posts: 7773
Member No.: 61
Joined: 30-July 02

|
Alright, I think I resolved a lot of the last batch of issues in test-22.
The raw audio format is actually whatever the pipeline is currently set to. With compressed input you are likely to get mono/stereo 16-bit signed little endian, but that isn't guaranteed -- you could get 8-bit unsigned if that's what is coming in or that's what the codec produces (unlikely). |
 |
| Jam One |
| Posted: Jun 4 2010, 09:47 AM |
 |
|
Advanced Member
  
Group: Members
Posts: 580
Member No.: 25518
Joined: 8-May 09

|
I'd like to express my thanks, and confirm everything works OK now!
|
 |
| stephanV |
| Posted: Jun 4 2010, 11:11 AM |
 |
|
Spam killer ;)
  
Group: Moderators
Posts: 4348
Member No.: 8917
Joined: 18-February 04

|
Thanks for the update. 
The video and audio only feature is very useful for debugging commandlines as well. 
Point 5 in my previous post still remains, though.
-------------------- useful links: VirtualDub, Input plugins and filters, AviSynth, AVI-Mux GUI, AC3ACM by fcchandler, VirtualDub FAQ |
 |
| phaeron |
| Posted: Jun 5 2010, 06:23 AM |
 |
|

Virtualdub Developer
  
Group: Administrator
Posts: 7773
Member No.: 61
Joined: 30-July 02

|
Try test-23... I fixed a couple of bugs that were probably responsible for the raw audio problems. |
 |
| Gromozeka |
| Posted: Jun 5 2010, 06:35 AM |
 |
|
Advanced Member
  
Group: Members
Posts: 52
Member No.: 26717
Joined: 1-January 10

|
phaeron when add yuv4mpeg? |
 |
| stephanV |
| Posted: Jun 5 2010, 07:48 AM |
 |
|
Spam killer ;)
  
Group: Moderators
Posts: 4348
Member No.: 8917
Joined: 18-February 04

|
| QUOTE (phaeron @ Jun 5 2010, 08:23 AM) | | Try test-23... I fixed a couple of bugs that were probably responsible for the raw audio problems. |
It works now. 
I don't want to come over abusive cause you have already done a lot of work on this and it's very much appreciated, but I had an idea to make the bitrate more easily configurable. If you make two macros called %(videobitrate) and %(audiobitrate) and allow these values to be configured via File > export > external encoder, it would be easier than fiddling in the encoder profiles each time.
Let me know what you think. It's not a big deal if you don't want to do it.
-------------------- useful links: VirtualDub, Input plugins and filters, AviSynth, AVI-Mux GUI, AC3ACM by fcchandler, VirtualDub FAQ |
 |
| phaeron |
| Posted: Jun 7 2010, 06:02 AM |
 |
|

Virtualdub Developer
  
Group: Administrator
Posts: 7773
Member No.: 61
Joined: 30-July 02

|
| QUOTE | phaeron when add yuv4mpeg?
|
Stop asking for the same thing over and over. First warning.
| QUOTE | I don't want to come over abusive cause you have already done a lot of work on this and it's very much appreciated, but I had an idea to make the bitrate more easily configurable. If you make two macros called %(videobitrate) and %(audiobitrate) and allow these values to be configured via File > export > external encoder, it would be easier than fiddling in the encoder profiles each time.
|
I don't want to hard code in specific options like that... I was thinking of something a bit more flexible, but hadn't worked out the details yet. |
 |
| Gromozeka |
| Posted: Jun 7 2010, 07:12 AM |
 |
|
Advanced Member
  
Group: Members
Posts: 52
Member No.: 26717
Joined: 1-January 10

|
Phaeron
| QUOTE | | Stop asking for the same thing over and over. First warning. |
|
 |
| stephanV |
| Posted: Jun 7 2010, 08:41 AM |
 |
|
Spam killer ;)
  
Group: Moderators
Posts: 4348
Member No.: 8917
Joined: 18-February 04

|
| QUOTE (Gromozeka @ Jun 7 2010, 09:12 AM) | Phaeron
| QUOTE | | Stop asking for the same thing over and over. First warning. |
|
I'm not speaking for phaeron here, but while your enthusiasm and testing in this forum is appreciated you also have to know when to stop. phaeron has made it clear a few times that he's not very fond of implementing this particular feature. He will do it if he finds it is needed, but he might find it isn't or doesn't know yet when.
Here is a quote from the 1.9.9 release blog post.
| QUOTE | | Now, the bad part: I have no timeline whatsoever for this. Sorry, but that's reality. I have a full-time job, I have other interests, and therefore I only work on VirtualDub occasionally. I get a lot of requests for various features, some of which are well-written, and some of which are frankly abusive, but regardless I can only take on a few of them at a time, and I generally have to avoid chasing the frontier, whether it be in compilers, OS features, algorithms, formats, etc. If you've sent me an email and haven't gotten a response, or are still waiting for a feature to arrive -- I apologize, and please believe me when I say I keep a master list of requests. Thanks for your support and your continued patience, and if you've got some time, feel free to try some of the test releases I put out in the forums. |
Thanks for your understanding.
-------------------- useful links: VirtualDub, Input plugins and filters, AviSynth, AVI-Mux GUI, AC3ACM by fcchandler, VirtualDub FAQ |
 |