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 > Programming and Hacking > Development

Reply
 
Thread Tools Search this Thread Display Modes
Old 24th May 2024, 19:57   #121  |  Link
GMJCZP
Registered User
 
GMJCZP's Avatar
 
Join Date: Apr 2010
Location: I have a statue in Hakodate, Japan
Posts: 752
Thank you Manolito! I'll try all the information that you has written.
__________________
By law and justice!

GMJCZP's Arsenal
GMJCZP is offline   Reply With Quote
Old 27th May 2024, 01:23   #122  |  Link
Reino
Registered User
 
Reino's Avatar
 
Join Date: Nov 2005
Posts: 700
A user of my FFmpeg binaries (but not a Doom9 member, I think) notified me of a small regression; the absence of the drawtext filter, where ffmpeg-6.1-588-4006c71 (12 months ago) was the latest still working release.
I've done some searching and found that it all comes down to "avfilter/vf_drawtext: improve glyph shaping and positioning". Starting with this commit libharfbuzz is added as a dependency for the drawtext filter, which means that to enable the drawtext filter you have to configure and compile FFmpeg with --enable-libharfbuzz. I've done just that a moment ago. I've uploaded and replaced the latest release with it! So, same filename.
__________________
My hobby website
Reino is offline   Reply With Quote
Old 27th May 2024, 09:21   #123  |  Link
FranceBB
Broadcast Encoder
 
FranceBB's Avatar
 
Join Date: Nov 2013
Location: Royal Borough of Kensington & Chelsea, UK
Posts: 2,972
Thanks for that, Reino.
I don't generally use drawtext, but a friend of mine does to display the timecode. Hopefully it will make him happy.
FranceBB is offline   Reply With Quote
Old 28th May 2024, 05:19   #124  |  Link
danbow
Registered User
 
Join Date: Dec 2023
Posts: 6
Reino Hi. Can You help me. In latest versions ffmpeg-7.1 (2024-05-05), (2024-05-26), i use this:
ffmpeg -ss 5:33.667 -to 7:49.219 -i "360p.mp4" -cpucount 1 -f avi -c:v huffyuv -vf "mpdecimate,setpts=N/FRAME_RATE/TB" -an -sn "360p.avi"
and video output with 600 fps. In previous ffmpeg-6.2-609-238f9de-win32 (2024-01-01) same command out 23.976.
This video Initially 23.976fps, but with duplicate frames. Sorry. Thank You! Very much.
danbow is offline   Reply With Quote
Old 29th May 2024, 11:46   #125  |  Link
Emulgator
Big Bit Savings Now !
 
Emulgator's Avatar
 
Join Date: Feb 2007
Location: close to the wall
Posts: 1,621
ffmpeg 7.0 (and 7.1) has removed some in 6.x depreciated, nonetheless there still valid and used command syntax.
Their logic seems to be : What we consider depreciated from one big version step (+1) on, may still be used within this new version (+1),
but will be removed in the following version (+2).
You may want to read that up in ffmpeg docs:
Quote:
This release is not backwards compatible, removing APIs deprecated before 6.0. The biggest change for most library callers will be the removal of the old bitmask-based channel layout API, replaced by the AVChannelLayout API allowing such features as custom channel ordering, or Ambisonics. Certain deprecated ffmpeg CLI options were also removed...
__________________
"To bypass shortcuts and find suffering...is called QUALity" (Die toten Augen von Friedrichshain)
"Data reduction ? Yep, Sir. We're that issue working on. Synce invntoin uf lingöage..."

Last edited by Emulgator; 29th May 2024 at 11:53.
Emulgator is offline   Reply With Quote
Old 31st May 2024, 16:02   #126  |  Link
Reino
Registered User
 
Reino's Avatar
 
Join Date: Nov 2005
Posts: 700
Hello danbow.
I don't see a question in your post. But anyway, as I'm not an FFmpeg expert, I can't help you with usage questions like these. Though I can say that -to should always come after -i. See https://trac.ffmpeg.org/wiki/Seeking.
You're better off asking on the FFmpeg user mailinglist, or on StackOverflow.
__________________
My hobby website
Reino is offline   Reply With Quote
Old 31st May 2024, 19:13   #127  |  Link
danbow
Registered User
 
Join Date: Dec 2023
Posts: 6
My question: it not mistake ffmpeg? so and it is necessary in new version?
danbow is offline   Reply With Quote
Old 3rd June 2024, 18:36   #128  |  Link
GMJCZP
Registered User
 
GMJCZP's Avatar
 
Join Date: Apr 2010
Location: I have a statue in Hakodate, Japan
Posts: 752
I did all the tests and everything turned out perfect, both with libfdk-aac-2 and dmMediaConverter, many thanks to Reino and manolito!
__________________
By law and justice!

GMJCZP's Arsenal
GMJCZP is offline   Reply With Quote
Old 4th June 2024, 00:58   #129  |  Link
danbow
Registered User
 
Join Date: Dec 2023
Posts: 6
And, i try run official ffmpeg-7.0.1-full_build 2024-05-26 on Windows 7 x64 - not starting. Stop supported?

Last edited by danbow; 4th June 2024 at 04:04.
danbow is offline   Reply With Quote
Old 4th June 2024, 18:49   #130  |  Link
FranceBB
Broadcast Encoder
 
FranceBB's Avatar
 
Join Date: Nov 2013
Location: Royal Borough of Kensington & Chelsea, UK
Posts: 2,972
Quote:
Originally Posted by danbow View Post
And, i try run official ffmpeg-7.0.1-full_build 2024-05-26 on Windows 7 x64 - not starting. Stop supported?
Welcome to the club, Win7 buddy.
The Windows Vista folks were waiting for you along with us, XP users.
FranceBB is offline   Reply With Quote
Old 4th June 2024, 18:59   #131  |  Link
lvqcl
Registered User
 
Join Date: Aug 2015
Posts: 305
Quote:
Originally Posted by danbow View Post
And, i try run official ffmpeg-7.0.1-full_build 2024-05-26 on Windows 7 x64 - not starting. Stop supported?
Probably https://github.com/GyanD/codexffmpeg...ent-2147215357
lvqcl is offline   Reply With Quote
Old 4th June 2024, 20:13   #132  |  Link
Emulgator
Big Bit Savings Now !
 
Emulgator's Avatar
 
Join Date: Feb 2007
Location: close to the wall
Posts: 1,621
Respect for finding those needles in the haystack.
__________________
"To bypass shortcuts and find suffering...is called QUALity" (Die toten Augen von Friedrichshain)
"Data reduction ? Yep, Sir. We're that issue working on. Synce invntoin uf lingöage..."
Emulgator is offline   Reply With Quote
Old 5th June 2024, 21:44   #133  |  Link
manolito
Registered User
 
manolito's Avatar
 
Join Date: Sep 2003
Location: Berlin, Germany
Posts: 3,096
Please, respect the topic for this thread:
Windows XP compatible non-SSE2 FFmpeg binaries

Questions like there:
Quote:
i try run official ffmpeg-7.0.1-full_build 2024-05-26 on Windows 7 x64
should be posted in a separate new thread...


Such a new thread would also be the place where I'd like to discuss other non-official FFmpeg versions like this one:
Also it could be a good place to discuss more generic tools to make "modern" applications compatible with Win7. Like this one:

Cheers
manolito

Last edited by manolito; 9th June 2024 at 05:31.
manolito is offline   Reply With Quote
Old 7th June 2024, 13:00   #134  |  Link
danbow
Registered User
 
Join Date: Dec 2023
Posts: 6
manolito forgive me please. Reino, manolito thank You very very much for this tool for xp users
danbow is offline   Reply With Quote
Old 21st June 2024, 14:23   #135  |  Link
manolito
Registered User
 
manolito's Avatar
 
Join Date: Sep 2003
Location: Berlin, Germany
Posts: 3,096
z.lib bug fix in FFmpeg 7.xx

Not sure if this is the appropriate thread, but since there is no separate FFmpeg forum in Doom9 I figured that I might just as well post it here...

It is about HDR to SDR conversions which uses the z.lip library. Up to version 6.xx this library had a bug which made sources with these properties fail:
Quote:
If MediaInfo reports that the chroma subsampling of the source is 4:2:0 (Type2) then this FFmpeg command line will fail
This has been fixed by the z.lib devs for the current FFmpeg versions 7.xx. Here is my Readme for dmMediaConcerter (of cource also applies if FFmpeg is used via command line):

Code:
Using FFmpeg to convert HDR sources to SDR:
======================================================================

This video filter call will do it (thanks to dipje and Atak_Snajpera):


SD target:
----------
zscale=s=704x396,zscale=tin=smpte2084:min=bt2020nc:pin=bt2020:rin=tv:t=smpte2084:m=bt2020nc:p=bt2020:r=tv,zscale=t=linear:npl=100,format=gbrpf32le,zscale=p=bt470bg,tonemap=tonemap=hable:desat=0,zscale=t=601:m=bt470bg:r=tv,format=yuv420p


Half HD target:
---------------
zscale=s=1280x720,zscale=tin=smpte2084:min=bt2020nc:pin=bt2020:rin=tv:t=smpte2084:m=bt2020nc:p=bt2020:r=tv,zscale=t=linear:npl=100,format=gbrpf32le,zscale=p=bt709,tonemap=tonemap=hable:desat=0,zscale=t=bt709:m=bt709:r=tv,format=yuv420p


Full HD target:
---------------
zscale=s=1920x1080,zscale=tin=smpte2084:min=bt2020nc:pin=bt2020:rin=tv:t=smpte2084:m=bt2020nc:p=bt2020:r=tv,zscale=t=linear:npl=100,format=gbrpf32le,zscale=p=bt709,tonemap=tonemap=hable:desat=0,zscale=t=bt709:m=bt709:r=tv,format=yuv420p


These FFmpeg parameter lines are meant to be inserted in the "Picture 
Settings -> More" field of dmMediaConverter. If you want to use them 
in an existing FFmpeg commandline you need to add them as a video 
filter and enclose the parameters in double quotes. 
Like:
-vf "parameter list"



________________________________________________________________________________

Note:
The following section only applies to FFmpeg versions up to 6.xx.
It is no longer needed for later FFmpeg versions from 7.0 upwards.

--------------------------------------------------------------------------------
If you use the source file directly as the FFmpeg input you may get 
borked colors in the output depending on the source format. If MediaInfo 
reports that the chroma subsampling of the source is 4:2:0 (Type2) then this 
FFmpeg command line will fail. The safest way to correct this is to use an 
AVS script with just the source filter as the input for FFmpeg (of course 
only if AviSynth is installed). 
Otherwise you have to pre-convert the source to a lossless intermediate 
file keeping all the source properties. Then use this lossless file as 
the input for FFmpeg and apply the HDR to SDR filter.
--------------------------------------------------------------------------------
Workarounds for these kind of HDR sources are no longer needed.


Cheers
manolito

Last edited by manolito; 21st June 2024 at 14:31.
manolito 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 16:03.


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