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. |
![]() |
#1101 | Link |
German doom9/Gleitz SuMo
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,642
|
Oops, my fault, I only thought about the ffmpeg command line interface...
![]() MeGUI uses the x265.exe command line encoder; this is neither a VfW codec nor a library module (as used in VirtualDub2's separate "FFMPEG / x265" encoder). You might use the x265 CLI encoder via the "External encoder" setup in VirtualDub2. But this has no pretty user interface. |
![]() |
![]() |
![]() |
#1102 | Link | |
Registered User
Join Date: Sep 2007
Posts: 5,162
|
Quote:
Your screenshot for x265vfw shows DAR width, height, not SAR . Try 16 and 9 . If the the extra commandline box works, you can enter --sar x:y there instead |
|
![]() |
![]() |
![]() |
#1103 | Link |
Life's clearer in 4K UHD
Join Date: Jun 2003
Location: Notts, UK
Posts: 12,121
|
After entering '16' in the 'DAR width' box and '9' in the 'DAR height' box, I can confirm that no aspect ratio signalling makes its way into the video stream...
__________________
| I've been testing hardware media playback devices and software A/V encoders and decoders since 2001 | My Network Layout & A/V Gear |
|
![]() |
![]() |
![]() |
#1106 | Link | |
Life's clearer in 4K UHD
Join Date: Jun 2003
Location: Notts, UK
Posts: 12,121
|
Quote:
![]()
__________________
| I've been testing hardware media playback devices and software A/V encoders and decoders since 2001 | My Network Layout & A/V Gear |
|
|
![]() |
![]() |
![]() |
#1107 | Link |
Registered User
Join Date: Mar 2015
Posts: 768
|
Such option is not implemented, but I assume it is safe to roundtrip 10-bit content in 16-bit. Are you afraid of rounding error?
__________________
VirtualDub2 |
![]() |
![]() |
![]() |
#1108 | Link | |
Registered User
Join Date: May 2018
Posts: 149
|
Quote:
Not sure what you mean with "roundtrip 10-bit content in 16-bit". But when I select 16bit, and set 10bit as an ffmpeg command, I get the following 2 errors: with -pix_fmt yuv420p10le and 4:2:0 8bit yuv https://i.imgur.com/8p3rCq1.png with -pix_fmt yuv420p10le and 4:2:0 16bit yuv https://i.imgur.com/ZZlw6pE.png Last edited by takla; 8th May 2021 at 10:30. |
|
![]() |
![]() |
![]() |
#1109 | Link | |
Registered User
Join Date: Mar 2015
Posts: 768
|
Quote:
the ffmpeg command line must include pix_fmt twice: one for raw input and another for your desired output like this: Code:
-f rawvideo -pix_fmt %(pix_fmt) -s %(width)x%(height) -r %(fpsnum)/%(fpsden) -i - -c:v libx264 -pix_fmt yuv420p10le %(tempvideofile)
__________________
VirtualDub2 |
|
![]() |
![]() |
![]() |
#1112 | Link |
German doom9/Gleitz SuMo
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,642
|
1. x264 8 bit encodes video in the MPEG-4 AVC Main/High Profile with internal quantized components of 8 bit resolution; x264 10 bit encodes video in the MPEG-4 AVC High 10 Profile with internal quantized components of 10 bit resolution. The latter is specifically known to be useful for cartoon video content. — NOTE: Not every player is capable of playing High 10 Profile AVC video.
2. They are not VfW codecs, but provided by a separate collection of encoders based on ffmpeg's libavcodec library, so they are independent of any codecs installed into your Windows system. Similar to the decoders in VLC. VDub2 contains ffmpeg based decoders, too Last edited by LigH; 12th May 2021 at 18:45. |
![]() |
![]() |
![]() |
#1113 | Link |
German doom9/Gleitz SuMo
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,642
|
I got a report that VirtualDub2 doesn't handle audio conversions when processing a clip with 24 bit PCM audio. Using FFmpeg Lame MP3 produces loud static noise (I can confirm). FFmpeg AAC "crashes" (in my case the dub process gets stuck after 650 audio samples, then "Integer division by zero" crash).
When I try to convert the audio to 16 bit internally in VirtualDub2 before compression, it fails with an error message in the Audio group of the "Save video" dialog, Sample Layout: [Cannot convert audio: the source audio form{...}]. |
![]() |
![]() |
![]() |
#1116 | Link |
German doom9/Gleitz SuMo
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,642
|
VirtualDub2 still uses an ffmpeg plugin version with an older API because adapting VirtualDub2 to the requirements of the most recent ffmpeg API version seems to be a heavy challenge for shekh...
|
![]() |
![]() |
![]() |
#1117 | Link | |
Registered User
Join Date: Mar 2015
Posts: 768
|
Quote:
Anyway, VD2 can internally work with u8, s16le, f32le. Other formats get converted by the input driver.
__________________
VirtualDub2 |
|
![]() |
![]() |
![]() |
#1118 | Link |
Big Bit Savings Now !
Join Date: Feb 2007
Location: close to the wall
Posts: 1,302
|
x264 with CRF <17 might be what you're searching for.
__________________
"To bypass shortcuts and find suffering...is called QUALity" (Die toten Augen von Friedrichshain) "Data reduction ? Yep, Sir. We're working on that issue. Synce invntoin uf lingöage..." |
![]() |
![]() |
![]() |
#1119 | Link |
German doom9/Gleitz SuMo
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,642
|
@shekh: 24 bit example. AviSynth script just as dummy video track. Important part is the WAV file to be used as external audio track (Audio - Audio from other file...), in Audio "Full processing mode" and with a Compressor. Archive contains an MKV with Ut Video and PCM audio track, and to compare, another with MP3 audio track compressed via the FFmpeg Lame MP3 encoder. The result with AAC is broken, did not add this.
Audio driver is an "NVIDIA High Definition Audio" device, general Windows 10 64b. |
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|