|
|
| loin2kolpotoru |
| Posted: Jun 18 2013, 08:35 PM |
 |
|

Member
 
Group: Members
Posts: 21
Member No.: 29812
Joined: 1-February 11

|
Thank you for fixing /portable launch. |
 |
| DarrellS |
| Posted: Jun 19 2013, 04:33 PM |
 |
|
Advanced Member
  
Group: Members
Posts: 567
Member No.: 1061
Joined: 28-November 02

|
| QUOTE (phaeron @ Jun 8 2013, 05:24 PM) | The most likely reason for the master/slave export issues is that the CLI template is using %(outputname) instead of %(outputfile). The former is just the filename while the latter includes the full path; in the actual command line you want the full path. |
So when we create our encoder sets, should we use %(outputfile) instead of %(outputname)? Not for master/slave but in general.
I'm having an issue with some encoders that I'm testing where Virtualdub refuses to create the file because it either can't find the file path or the filename already exists. I've never been able to mux anything besides mpeg2 with ffmpeg.exe and some encoders I've been experimenting with lately give the same type of error when trying to encode the video.
I don't have any problems using ffmpeg to encode or mux on it's own but when I use the same argument with ffmpeg in Virtualdub external encoder, it always fails. I had heard that a lot of things broke with newer versions of ffmpeg so I downloaded the oldest version that I could find (5-2011) to use just for muxing but it still doesn't work.
One thing that I've noticed is that ffmpeg will give the video the container name webm instead of the fourcc name vp8 or FLV instead h263 and this breaks the external encoder since Virtualdub already has the filename.container listed in save as. If I try and change the extension, it overrides it with xxx.vp8.webm (or whatever file type I'm trying to create) and still fails. If the external encoder gave you an option to overwrite the file that it thinks it sees with the files that it just created instead of just failing and deleting the files it just created and leaving an empty container, that would be nice. When using the command prompt, you usually get that option. |
 |
| schleimboitel |
| Posted: Jun 19 2013, 05:41 PM |
 |
|
Member
 
Group: Members
Posts: 15
Member No.: 17004
Joined: 22-October 05

|
| QUOTE (phaeron @ Jun 9 2013, 12:24 AM) | | The most likely reason for the master/slave export issues is that the CLI template is using %(outputname) instead of %(outputfile). The former is just the filename while the latter includes the full path; in the actual command line you want the full path. | Aaah... it works! Im sorry I thought it was a bug, but I've tried so much..
Thanks for your support! |
 |
| phaeron |
| Posted: Jun 30 2013, 10:34 PM |
 |
|

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

|
Always use the *file variants unless you specifically need to do name hacking, i.e. creating another similarly named filename. In the latter case, use %(outputdir) and %(outputname). For instance, you could pass %(outputname) and %(outputdir)\%(outputname).stats.
Also, remember to quote filenames appropriately so things don't blow up when there is a space in a directory name.
Regarding tools picking their own extensions -- this is not ideal, as then VirtualDub doesn't know what file is actually getting produced. However, I've added a %(outputbasename) tag so that you can get the base filename without the extension. |
 |
| DarrellS |
| Posted: Jul 4 2013, 05:28 PM |
 |
|
Advanced Member
  
Group: Members
Posts: 567
Member No.: 1061
Joined: 28-November 02

|
I was able to fix the problem with ffmpeg by adding -f webm -y "%(outputname)" as recommended by another user.
Using -y overwrites the existing file. I'm not sure I even need to use the -f command but it works so I don't want to change it. |
 |
| dloneranger |
| Posted: Jul 31 2013, 10:06 PM |
 |
|
Moderator
  
Group: Moderators
Posts: 2366
Member No.: 22158
Joined: 26-September 07

|
IVTC filter
Reducing frame rate can produce denominators too large for some codecs (tested with x264vfw) After calculating the 4/5 reduction, the denom/numerator can be above 0x80000000 which causes a codec error (value too high)
Also, the IVTC only does 5/4 reduction, but 6/5 is also common in 25->30fps clips
-------------------- MultiAdjust JoinWav WavNormalize FFMPeg Input Plugin v1827 UnSharpMask Windows7/8 Codec Chooser All FccHandlers Stuff inc. Installers for acm codecs AAC, AC3, LameMp3 |
 |
| phaeron |
| Posted: Aug 18 2013, 06:42 PM |
 |
|

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

|
This is a bug in x264vfw. Stream sample rate fractions are unsigned integers and values above 0x80000000 are valid. |
 |
| BugMaster |
| Posted: Aug 19 2013, 06:00 PM |
 |
|
Advanced Member
  
Group: Members
Posts: 50
Member No.: 23001
Joined: 6-February 08

|
If you mean this error:
| CODE | x264vfw [error]: Effective timebase denominator 2147483650 exceeds H.264 maximum x264vfw [error]: x264_encoder_open failed |
Than that is not x264vfw's bug but exactly what is written: limitation of the specs. x264vfw correctly process fps information as uint32_t/uint32_t up to this check. |
 |
| Altaf |
| Posted: Aug 21 2013, 06:27 AM |
 |
|
Advanced Member
  
Group: Members
Posts: 75
Member No.: 36396
Joined: 9-April 13

|
I beg you pardon. Please, delete all messages on my issue. I made a new topic and sad everything in it. |
 |
| dloneranger |
| Posted: Aug 21 2013, 12:55 PM |
 |
|
Moderator
  
Group: Moderators
Posts: 2366
Member No.: 22158
Joined: 26-September 07

|
@Altaf You'd have to give a better description - final stage of processing probably means something to you, but could be anything
Are you cutting compressed audio? If so, then you will get differences in length That's due to compressed audio being stored in frames of a certain time length You can only cut that audio on the frame, not in between These frames hardly ever line up with the video frames, so there will be a difference between the two values
To cut the audio exactly on video frames you have to work with uncompressed audio
-------------------- MultiAdjust JoinWav WavNormalize FFMPeg Input Plugin v1827 UnSharpMask Windows7/8 Codec Chooser All FccHandlers Stuff inc. Installers for acm codecs AAC, AC3, LameMp3 |
 |
| Altaf |
| Posted: Aug 23 2013, 05:39 AM |
 |
|
Advanced Member
  
Group: Members
Posts: 75
Member No.: 36396
Joined: 9-April 13

|
I beg you pardon. Please, delete all messages on my issue. I made a new topic and sad everything in it. http://forums.virtualdub.org/index.php?act...t=0entry93973 |
 |
| -vdub- |
| Posted: Aug 23 2013, 04:05 PM |
 |
|
Advanced Member
  
Group: Members
Posts: 613
Member No.: 27087
Joined: 24-February 10

|
@Altaf.. Drag and drop videos to the Batch Wizard it is a known problem as there is no filter select to load the videos with. which I have reported previously on a Virtualdub beta thread. We still wait for Phaeron to add code for it to work correctly |
 |
| jpsdr |
| Posted: Sep 1 2013, 02:00 PM |
 |
|
Advanced Member
  
Group: Members
Posts: 335
Member No.: 20490
Joined: 23-December 06

|
Resize filter converted to 444 an YV12-BT709... |
 |
| phaeron |
| Posted: Sep 8 2013, 09:45 PM |
 |
|

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

|
Test-12 is up with expanded format support in the resize filter and a token-dropdown in the external encoder setup UI.
Anyone know what the fraction denominator limit for H.264 is? |
 |
| dloneranger |
| Posted: Sep 9 2013, 01:20 PM |
 |
|
Moderator
  
Group: Moderators
Posts: 2366
Member No.: 22158
Joined: 26-September 07

|
| QUOTE (phaeron @ Sep 8 2013, 10:45 PM) | | Anyone know what the fraction denominator limit for H.264 is? | All I can usefully find is this in x264's source code
| CODE | if( (uint64_t)h->param.i_timebase_den * 2 > UINT32_MAX ) { x264_log( h, X264_LOG_ERROR, "Effective timebase denominator %u exceeds H.264 maximum\n", h->param.i_timebase_den ); goto fail; } |
-------------------- MultiAdjust JoinWav WavNormalize FFMPeg Input Plugin v1827 UnSharpMask Windows7/8 Codec Chooser All FccHandlers Stuff inc. Installers for acm codecs AAC, AC3, LameMp3 |
 |