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

2024-01-11 Thread Andrew Randrianasulu
пт, 12 янв. 2024 г., 05:18 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

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

2024-01-11 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

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

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,

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: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 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 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 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] 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