Re: [FFmpeg-user] Decoding performance, 6.1.1 vs. 4.4.4

2024-01-10 Thread Carl Zwanzig
On 1/10/2024 4:18 AM, Ren� J. V. Bertin wrote: (sorry for the linebreaks, I'm posting via a newsgroup app.) (Use an email program instead?) To me this looks like there's been a regression that causes an increased overhead in getting the content onto and/or off the GPU. Have you

[FFmpeg-user] Decoding performance, 6.1.1 vs. 4.4.4

2024-01-10 Thread René J . V . Bertin
Hi, I've just built and installed FFmpeg 6.1.1 in parallel to my trust 4.4.4 installation, using the exact same compiler options and clang (9 and 8, respectively; v6.1.1 does get debug info via `-g`). This is about performance on 2 older machines: a Mac with a 2nd gen i7 (Sandybridge) and a

Re: [FFmpeg-user] Force target DTS == source DTS -- How?

2024-01-10 Thread Mark Filipak
On 1/10/24 15:46, Mark Filipak wrote: On 1/10/24 13:55, Devin Heitmueller wrote: On Wed, Jan 10, 2024 at 1:42 PM Mark Filipak wrote: Thanks, Devin, but nope, they're a lot closer but they're still not the same. set FORCE=-bsf:v setts=dts=DTS:pts=PTS set SOURCE=h:\BDMV\STREAM\00305.m2ts :

Re: [FFmpeg-user] Force target DTS == source DTS -- How?

2024-01-10 Thread Mark Filipak
On 1/10/24 13:21, Devin Heitmueller wrote: On Wed, Jan 10, 2024 at 12:50 PM Mark Filipak wrote: Question: How can I force the target's DTS to be the source's DTS? Add "-copyts" to the front of the command-line as a global option. The ffmpeg application will automatically rebase timestamps

Re: [FFmpeg-user] Force target DTS == source DTS -- How?

2024-01-10 Thread Mark Filipak
On 1/10/24 13:55, Devin Heitmueller wrote: On Wed, Jan 10, 2024 at 1:42 PM Mark Filipak wrote: Thanks, Devin, but nope, they're a lot closer but they're still not the same. set FORCE=-bsf:v setts=dts=DTS:pts=PTS set SOURCE=h:\BDMV\STREAM\00305.m2ts : IS: 0,1044806,1048560,

Re: [FFmpeg-user] Force target DTS == source DTS -- How?

2024-01-10 Thread Devin Heitmueller
On Wed, Jan 10, 2024 at 1:42 PM Mark Filipak wrote: > > Correction... > > On 1/10/24 13:21, Devin Heitmueller wrote: > > On Wed, Jan 10, 2024 at 12:50 PM Mark Filipak > > wrote: > >> > >> Question: How can I force the target's DTS to be the source's DTS? > > > > Add "-copyts" to the front of the

Re: [FFmpeg-user] Force target DTS == source DTS -- How?

2024-01-10 Thread Devin Heitmueller
On Wed, Jan 10, 2024 at 4:26 PM Mark Filipak wrote: > The change from 1048560 to 1174560 has to be happening inside the muxer, > wouldn't you say? We now > know that what's going into the muxer is right. Here is what went to the > target file in the last run: > > 0,1170806,1174560,

[FFmpeg-user] Force target DTS == source DTS -- How?

2024-01-10 Thread Mark Filipak
Question: How can I force the target's DTS to be the source's DTS? I'm simply demuxing and remuxing. To make the targets: set FORCE=-bsf:v setts=dts=DTS:pts=PTS set SOURCE=h:\BDMV\STREAM\00305.m2ts : IS: 0,1044806,1048560, 3753, 640646, 0x900a1a7a, S=1, 1 ffmpeg -to 39.122

Re: [FFmpeg-user] Force target DTS == source DTS -- How?

2024-01-10 Thread Mark Filipak
Correction... On 1/10/24 13:21, Devin Heitmueller wrote: On Wed, Jan 10, 2024 at 12:50 PM Mark Filipak wrote: Question: How can I force the target's DTS to be the source's DTS? Add "-copyts" to the front of the command-line as a global option. The ffmpeg application will automatically

Re: [FFmpeg-user] Force target DTS == source DTS -- How?

2024-01-10 Thread Devin Heitmueller
On Wed, Jan 10, 2024 at 12:50 PM Mark Filipak wrote: > > Question: How can I force the target's DTS to be the source's DTS? Add "-copyts" to the front of the command-line as a global option. The ffmpeg application will automatically rebase timestamps to zero after demuxing unless you specify

[FFmpeg-user] Best way convert to mpg

2024-01-10 Thread Budi Janto
Hi, In last week I tried to convert *.dat, *.avi and other video format to *.mpg. This caused our application support only for *.mpg file (Work well). So for this required, I just convert it without any modification sound/video quality (AS-IS) for e.g: Command used to convert *.dat to

Re: [FFmpeg-user] Force target DTS == source DTS -- How?

2024-01-10 Thread Mark Filipak
On 1/10/24 16:50, Devin Heitmueller wrote: On Wed, Jan 10, 2024 at 4:26 PM Mark Filipak wrote: The change from 1048560 to 1174560 has to be happening inside the muxer, wouldn't you say? We now know that what's going into the muxer is right. Here is what went to the target file in the last

[FFmpeg-user] Faster ffprobe-based detection of open GOP h264 ?

2024-01-10 Thread Andrew Randrianasulu
I was looking at videohelp forum https://web.archive.org/web/20201125203546/https://forum.videohelp.com/threads/398119-Cutting-Open-GOP-H264-videos-properly (web archive link because it hopefully will stay active for some time even if forum software will be upgraded and ruin old links in the

Re: [FFmpeg-user] Faster ffprobe-based detection of open GOP h264 ?

2024-01-10 Thread Andrew Randrianasulu
чт, 11 янв. 2024 г., 03:13 Andrew Randrianasulu : > I was looking at videohelp forum > > > https://web.archive.org/web/20201125203546/https://forum.videohelp.com/threads/398119-Cutting-Open-GOP-H264-videos-properly > > (web archive link because it hopefully will stay active for some time even >

Re: [FFmpeg-user] Best way convert to mpg

2024-01-10 Thread Reindl Harald
Am 10.01.24 um 22:38 schrieb Budi Janto: Hi, In last week I tried to convert *.dat, *.avi and other video format to *.mpg. This caused our application support only for *.mpg file (Work well). So for this required, I just convert it without any modification sound/video quality (AS-IS) for