News:

--

Main Menu

Recent posts

#31
Main version 2.6 / Re: Merge 2 videos with some e...
Last post by eumagga0x2a - April 14, 2024, 02:38:47 PM
As chapters are not supported by Avidemux, the answer is "No".
#32
Windows / Re: Codec for lossless HEVC
Last post by eumagga0x2a - April 14, 2024, 02:27:13 PM
Quote from: guju on April 13, 2024, 08:22:46 AMSomehow you must have missed the only issue I'm about: file size.

I checked that "utvideo" (never seen anywhere).
It needs even more space than ffv1 and all the other lossless codecs.

When setting up x265 to output intra-only streams in order to level the field, there is hardly any advantage filesize-wise compared to Ut Video. Of course, if you are fine with GOPs, then yes, availability of P- and B-frames in HEVC saves quite a lot of storage space. (I wrote a quick patch myself to try this out using Avidemux, didn't see the PR by szlldm.)

Quote from: guju on April 13, 2024, 08:22:46 AMAs far as I know, there aren't any license issues with x265,
it is offered through ffmpeg.

HEVC is one of worst codecs license-wise, just being able to fly below the radar as a considerably poor private person using the codec in private doesn't make it better. FFmpeg is able to decode HEVC in software internally or using an HW accel., relies on libx265 or on HW accel for encoding.

#33
Main version 2.6 / Merge 2 videos with some extra...
Last post by TheInvoker - April 14, 2024, 12:28:02 PM
Hi
i would like to merge 2 videoes and it's easy to do....but i would like to
1) have some black frames between the 2 videos
2) write something in that black screen
3) give to a frame a property that works with players that recognizes chapters so that i can fast travel to that point

is it possible?
#34
Windows / Re: Codec for lossless HEVC
Last post by guju - April 13, 2024, 08:22:46 AM
Thank you for your reply.

Still, I wonder...
Somehow you must have missed the only issue I'm about: file size.

I checked that "utvideo" (never seen anywhere).
It needs even more space than ffv1 and all the other lossless codecs.

I know that VD2 provides HEVC.
But to my experiences VD2 isn't very reliable, esp. when it is about
encoding (desync issues, or corrupt streams in general).
I use VD2 only when in need of a special filter.

ADM is much more reliable to my experience.
And the best compressing lossless codec (HEVC) would be useful to have.

You didn't mention any reason why lossless HEVC should be a problem.
As far as I know, there aren't any license issues with x265,
it is offered through ffmpeg.
So I thought it might be just a small GUI entry?
#35
Windows / Re: Codec for lossless HEVC
Last post by coolgit - April 12, 2024, 09:08:07 PM
Use ffv1 or utvideo.

If you really must use x265 then vdub2 does it.
#36
Windows / Codec for lossless HEVC
Last post by guju - April 11, 2024, 11:56:24 AM
If I get it right, ADM's HEVC/ x265 encoder does not allow lossless mode?

However it would be useful, when (for some kind of reason) have to save a movie lossless,
and you have to care about extreme file sizes, HEVC lossless filesize is (up to about factor 2)
smaller than the other lossless codes. (You have to pay with encoding time however).

Any chance for lossless HEVC?
#37
Windows / Re: HEVC video generated by Op...
Last post by guju - April 11, 2024, 11:51:06 AM
Out of curiousity I tried saving hevc/ x265 in avi containter with ADM.

==> "Bad idea. H264/ H265 in AVI... better use MKV".

Is that still up to date, or just a relict?
#38
Windows / Re: HEVC video generated by Op...
Last post by guju - April 11, 2024, 07:21:26 AM
That's fine, I'm glad for my little contribute to enhance ADM.
Thank you!  :)
#39
Windows / Re: Batch copy .mp4 to .mkv sc...
Last post by inadream - April 11, 2024, 03:42:55 AM
Quote from: dosdan on January 11, 2024, 11:18:15 AM
Quote from: inadream on January 08, 2024, 01:05:22 PMI am now wondering is there a way to convert ALL non-mkv files in a folder to mkv using batch code? Is it a simple alteration to my bat above?

I presume you are only working with a few different filetypes. If so, just specifically list each of the types you wish to convert in the filenameset inside the "(...)".

In the following example, the test folder I drop on to the batchfile icon contains .MKV, .MP4 and .TS media files. To only convert the .MP4 and .TS containers, but not the .MKVs, into MKV containers, change the line containing:

for %%F in ("%~1\*.mp4") do (
to

for %%F in ("%~1\*.mp4" "%~1\*.ts") do (
Here, I have mentioned two filetypes in the filenameset, but you could add more, if needed. 

Also, it does not matter if some of listed filetypes_to_be_converted do not exist in a folder - it won't produce an error message.


Thanks again, sorry I didn't see your last reply until just now! I implemented your advice in order to convert multiple file types to MKV at once and it did indeed work for all types EXCEPT .mpg files which gives the following error:

QuoteConverting    "I:\TEST\40 The Big Red Thing.mpg"    to    "I:\TEST\converted\40 The Big Red Thing.mkv"
[matroska @ 06c6ea00] Only audio, video, and subtitles are supported for Matroska.
[out#0/matroska @ 08d34780] Could not write header (incorrect codec parameters ?): Invalid argument
[aost#0:2/copy @ 08b3db80] Error initializing output stream:

I realise more specific file info for the .mpg files might be needed, but I was wondering if you might recognize this error at all?
#40
Windows / Re: MKV variable to constant a...
Last post by eumagga0x2a - April 10, 2024, 11:13:50 PM
MP4 expresses timing in units of a rational time base with arbitrary non-zero numerator and denominator within range supported by data type (uint32_t). This means that, when remuxed as MKV, such timestamp often fundamentally cannot be represented in MKV which in most cases uses 1/1000 of a second as the default time unit (it can be an arbitrary non-zero number of nanoseconds, but, firstly, this is hardly ever used and, secondly, even nanoseconds don't allow mathematically precise representation of timestamps). Thus we get an approximation, effectively making a CFR video (slightly) VFR one.

Avidemux tries to recognize cases when strictly speaking a VFR MKV is actually a CFR one with deviations resulting from rounding errors. Usually this detection is very reliable, but if you have stumbled upon a video where it fails when using the latest nightly, please provide a sample.

Except for rare edge cases, restoring the original CFR when loading a MKV video is a true advantage, IMHO. Not going to throw it away.