[FFmpeg-user] Packet corrupt on cut, notice on concat

2024-02-18 Thread Mark Filipak
I don't know how "DTS" became "000". Sorry. It's 3AM and I'm a little punchy. I found the problem. FFmpeg is corrupting the last B-frame at the end of cuts. It shows up during subsequent concatenation. Why it's happening is unknown of course. There is no workaround that I can conceive of. --M

[FFmpeg-user] concat - C needs to go before B - How?

2024-02-21 Thread Mark Filipak
Gyan, Paul, Devin, Jim, anyone. Help! You folks have been following my trim+concat adventure. I think I may have found the problem, not just for me. It's a general problem. "N" signifies one frame time. All times are relative to ptsA. __DTS__ _PTS__ ptsA-2N ptsAI-frame with DTS-to-PTS=2

Re: [FFmpeg-user] concat - C needs to go before B - How?

2024-02-21 Thread Mark Filipak
On 21/02/2024 05.20, Paul B Mahol wrote: On Wed, Feb 21, 2024 at 10:12 AM Mark Filipak wrote: Gyan, Paul, Devin, Jim, anyone. Help! You folks have been following my trim+concat adventure. I think I may have found the problem, not just for me. It's a general problem. "N" sign

Re: [FFmpeg-user] ISSUE ABOUT EXTRACTING

2024-02-29 Thread Mark Filipak
On 29/02/2024 12.19, Ferdi Scholten wrote: The following command will show all key frames and they're time in the video. ffprobe -loglevel error -skip_frame nokey -select_streams v:0 -show_entries frame=pts_time sourcevideo.mkv Hi, Ferdi, Thank you for the tip. I checked it against what I'm

Re: [FFmpeg-user] ISSUE ABOUT EXTRACTING

2024-02-29 Thread Mark Filipak
On 29/02/2024 17.40, Ferdi Scholten wrote: Hi, Ferdi, Thank you for the tip. I checked it against what I'm doing. The 'pts_time's that it returns do not correlate with the exact times that are computed from frame counts. For example, pts_time=760.607200 should be exactly 760.3[364635..] (bas

[FFmpeg-user] Streams

2024-02-29 Thread Mark Filipak
Hi All, I'm taking a break from my "errors in trimming and concatenation" pursuits. I've attached a single-page HTML about streams. ...this will eventually be FFmpeg documentation if possible, _not_ a book... If you see anything wrong or questionable about it -- anything at all, no matter how

[FFmpeg-user] Streams

2024-02-29 Thread Mark Filipak
Well, the attachment, which was only 50kB, got stripped off. I'm trying again. Hi All, I'm taking a break from my "errors in trimming and concatenation" pursuits. I've attached a single-page HTML about streams. ...this will eventually be FFmpeg documentation if possible, _not_ a book... If y

[FFmpeg-user] Streams

2024-02-29 Thread Mark Filipak
Hi All, I'm taking a break from my "errors in trimming and concatenation" pursuits. Here is a single-page HTML about streams. https://markfilipak.github.io/Video-Object-Notation/Streams.html ...this will eventually be FFmpeg documentation if possible, _not_ a book... If you see anything wrong

[FFmpeg-user] a couple of things to look at

2024-03-02 Thread Mark Filipak
I have a couple of things to look at. https://markfilipak.github.io/Video-Object-Notation/Streams.html https://markfilipak.github.io/Video-Object-Notation/GOP%20%26%20Frame%20Reordering.html Comments are welcome. Please be brutal. 'Streams' is crucial. I have little knowledge of transport strea

Re: [FFmpeg-user] Illustration review, Streams and GOP Frame Reordering [was: a couple of things to look at]

2024-03-03 Thread Mark Filipak
On 03/03/2024 18.33, Jim DeLaHunt wrote: Mark: On 2024-03-02 19:51, Mark Filipak wrote: I have a couple of things to look at. https://markfilipak.github.io/Video-Object-Notation/Streams.html https://markfilipak.github.io/Video-Object-Notation/GOP%20%26%20Frame%20Reordering.html Comments are

Re: [FFmpeg-user] Illustration review, Streams and GOP Frame Reordering [was: a couple of things to look at]

2024-03-04 Thread Mark Filipak
On 04/03/2024 06.25, Rob Hallam wrote: The visuals look good! Nice work. I don't want to detract from that, but: Thank you, Rob. You're right about style inheritance but that's not the issue. Firefox doesn't scale font-size linearly or consistently whereas other browsers do. You can see that b

[FFmpeg-user] Mark's New Content

2024-03-07 Thread Mark Filipak
I have new content for anyone interested in what I hope will be the future of FFmpeg. New Six Element Objects & 12 Stream Objects https://markfilipak.github.io/Video-Object-Notation/OFFmpeg.Six_Element_Objects_&_12_Stream_Objects.html Streams https://markfilipak.github.io/Video-Object-Notation

[FFmpeg-user] Mark's New Content - deeper into it

2024-03-08 Thread Mark Filipak
I have new content for anyone interested in what I hope will be the future of FFmpeg. New Stride-Match With Decombing Examples https://markfilipak.github.io/Video-Object-Notation/OFFmpeg.Stride-Match_With_Decombing_Examples.html Six Element Objects & 12 Stream Objects https://markfilipak.githu

[FFmpeg-user] Mark's New Content - SAR

2024-03-10 Thread Mark Filipak
I have new content for anyone interested in what I hope will be the future of FFmpeg. New Digital_Camera_'SAR'-v-Film_Scanner_SAR https://markfilipak.github.io/Video-Object-Notation/OFFmpeg.Digital_Camera_'SAR'-v-Film_Scanner_SAR.html Stride-Match With Decombing Examples https://markfilipak.gi

[FFmpeg-user] MPEG 'broken_link' flag -- How do I set it?

2024-03-24 Thread Mark Filipak
I cut at the end of an open GOP. When I did that, FFmpeg did not set the MPEG 'broken_link' flag to '1'. The frame following the cut has to be flagged: 'closed_gop' = '0' because it's an open GOP, also, and 'broken_link' = '1'. How do I do that? I searched but did not find. Thanks --Mark. ___

Re: [FFmpeg-user] MPEG 'broken_link' flag -- How do I set it?

2024-03-25 Thread Mark Filipak
Thank you, Mark. On 25/03/2024 16.45, Mark Thompson wrote: On 24/03/2024 15:48, Mark Filipak wrote: I cut at the end of an open GOP. When I did that, FFmpeg did not set the MPEG 'broken_link' flag to '1'. The frame following the cut has to be flagged: 'closed_gop&#x

[FFmpeg-user] '-show_frames' is broken

2024-04-02 Thread Mark Filipak
Dear Developers, Thank you for adding 'pkt_dts' and 'pict_type' to '-show_frames'. Those will make things easier. Now, could you fix it? '-show_frames' shows pts < dts. frames.frame.133975.pts=503957216 <-+ These are actually 3 frames frames.frame.133975.pkt_dts=503968477 <-+ apart in th

Re: [FFmpeg-user] '-show_frames' is broken

2024-04-03 Thread Mark Filipak
On 03/04/2024 04.05, Paul B Mahol wrote: On Wed, Apr 3, 2024 at 6:10 AM Mark Filipak wrote: Dear Developers, Thank you for adding 'pkt_dts' and 'pict_type' to '-show_frames'. Those will make things easier. Now, could you fix it? '-show_frames' s

[FFmpeg-user] How to make IDR cuts

2024-04-03 Thread Mark Filipak
Is there more to this? If there is, it's not evident to me. If there are several B-frames in a row, then adjust your mind to 'see' larger shifts across the multiple B-frames and adjust PTSs & DTSs to match. Cutting off a leading open GOP: <—closed GOP——

[FFmpeg-user] SCR (System Clock Reference)

2024-04-03 Thread Mark Filipak
Does FFmpeg provide any way to write packet SCR (System Clock Reference) (i.e., at PS_PACKET_HEADER + 4 bytes)? I will need to rewrite SCRs for all ps packets via a math eval. I searched but could not find. Thanks, --Mark. ___ ffmpeg-user mailing list

[FFmpeg-user] 'setts=dts' is changing all PTSs instead

2024-04-05 Thread Mark Filipak
Does anyone see what I'm doing wrong? BEFORE. 0, 503945955, 503957216, 3753, 640646, 0x90f222e3 0, 503957216, 503964723, 3753, 125904, 0x3f60a4e2 0, 503960970, 503960970, 3753, 106426, 0xe5c85d36 0, 503964723, 503975985, 3753, 126806, 0x9c5d46c5 COMMAND to change

Re: [FFmpeg-user] Is there a way to cut a video at an exact time ?

2024-04-13 Thread Mark Filipak
On 13/04/2024 17.27, Jim Worrall wrote: On Apr 13, 2024, at 01:57, bbb wrote: Sorry for bothering you. It only behaves like this when I use "-codec copy". Without that option it accepts the exact time I've specified. On 4/13/24 13:47, bbb wrote: I want to cut off the start of a video. When

[FFmpeg-user] Why cuts & concats sometimes don't work

2024-05-07 Thread Mark Filipak
Hi All, I'm still investigating why cuts & concats sometimes don't work. I've found that sometimes open GOPs are physically in PTS order & sometimes in DTS order. I reckon that's part/all of the problem. I have some questions. Command #1: ffmpeg -i y:\VIDEO_TS\VTS_03_2.VOB -map 0 -copyts -c c

[FFmpeg-user] DTSes & PTSes

2024-05-08 Thread Mark Filipak
DTSes & PTSes only exist in MPEG PESes for I-frames. So, where/how is FFmpeg getting the DTSes & PTSes that it shows for B- & P-frames? --Mark. ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsu

Re: [FFmpeg-user] DTSes & PTSes

2024-05-09 Thread Mark Filipak
On 09/05/2024 06.07, Yann Cainjo wrote: Hi Mark Hey Yann DTSes & PTSes only exist in MPEG PESes for I-frames Where did you get this information ? By parsing actual presentation streams. Start reading 24 lines down in this message. Note that email will wrap long sentences but its easy t

[FFmpeg-user] abitscope won't run

2024-05-20 Thread Mark Filipak
Howdy, Doesn't work: ffmpeg -i c:\source.mp4 -map 0 -af abitscope -c:v libx265 -x265-params crf=18 -c:a ac3 -sn -dn "c:\abitscope.mp4" Doesn't work: ffmpeg -i c:\source.mp4 -map 0 -vf abitscope -c:v libx265 -x265-params crf=18 -c:a ac3 -sn -dn "c:\abitscope.mp4" The reports are below. Does

Re: [FFmpeg-user] abitscope won't run

2024-05-20 Thread Mark Filipak
On 20/05/2024 14.09, Moritz Barsnick via ffmpeg-user wrote: On Mon, May 20, 2024 at 13:14:43 -0400, Mark Filipak wrote: Doesn't work: ffmpeg -i c:\source.mp4 -map 0 -af abitscope -c:v libx265 -x265-params crf=18 -c:a ac3 -sn -dn "c:\abitscope.mp4" [...] [vf#0:0 @ 005

[FFmpeg-user] abitscope won't run

2024-05-20 Thread Mark Filipak
Howdy, Maybe I don't need 'abitscope'. It's just an experiment when I found that 'oscilloscope' didn't display audio levels. I have a 5.1 channel DTS soundtrack. It's the only soundtrack. I want to mux in a new, 2 channel AC3 soundtrack with soft dialog emphasized. I'm using 'loudnorm' & 'pan

Re: [FFmpeg-user] abitscope won't run

2024-05-20 Thread Mark Filipak
On 20/05/2024 14.09, Moritz Barsnick via ffmpeg-user wrote: On Mon, May 20, 2024 at 13:14:43 -0400, Mark Filipak wrote: Doesn't work: ffmpeg -i c:\source.mp4 -map 0 -af abitscope -c:v libx265 -x265-params crf=18 -c:a ac3 -sn -dn "c:\abitscope.mp4" [...] [vf#0:0 @ 005

[FFmpeg-user] Using 'ebur128' results to set 'loudnorm=measured_thresh'

2024-05-20 Thread Mark Filipak
I've attached ebur128.jpg. It's only 37 k-bytes. Do you see that first 'shelf' just below LU = -13? I want to boost that the most by percent, maybe double the power (3 dB). I want to boost LU = 9 not at all, and I want to boost everything below LU = -14 not at all. So the transform I want wou

Re: [FFmpeg-user] Retain but don't playback frames outside of edit

2024-05-20 Thread Mark Filipak
On 21/05/2024 01.19, Anne Wu via ffmpeg-user wrote: -snip- ... Also, I'd like the timestamps of the output video to remain the same as the original, so essentially preserving the edit-lists from the original, which I don't think the above would accomplish. Is there a way to do that? Try putting

[FFmpeg-user] Trying to use 'ebur128' results to set up 'loudnorm'

2024-05-21 Thread Mark Filipak
Attachments: 1. original ebur128.jpg 2. loudnorm-thresh=-85 pan ebur128.jpg 3. what I want ebur128.jpg ___1. The original has a 'shelf' just below LU = -13. That's soft speech. The peak is at LU = +9. That's shouting. So the transform I want goes like this: LU = -18..-14 gets no boost. LU = -14..

Re: [FFmpeg-user] Trying to use 'ebur128' results to set up 'loudnorm'

2024-05-21 Thread Mark Filipak
ways thought that people learn more from success than from failure, and you made it happen. --Mark. On 21/05/2024 16.04, Paul B Mahol wrote: On Tue, May 21, 2024 at 10:52 AM Mark Filipak wrote: Attachments: 1. original ebur128.jpg 2. loudnorm-thresh=-85 pan ebur128.jpg 3. what I want ebur128.j

[FFmpeg-user] field_sequence from H.262

2024-05-24 Thread Mark Filipak
This is from H.262. ___ | | | field_sequence – A 3-bit integer which defines the number of the | | field in the eight field sequence used in PAL systems or the four |

Re: [FFmpeg-user] field_sequence from H.262

2024-05-24 Thread Mark Filipak
On 24/05/2024 13.19, Andrew Randrianasulu wrote: пт, 24 мая 2024 г., 20:16 Mark Filipak : This is from H.262. ___ | | | field_sequence – A 3-bit integer which

Re: [FFmpeg-user] Altering motion vectors in B- and P- frames

2024-05-26 Thread Mark Filipak
On 26/05/2024 14.18, Bart Westenenk wrote: Hello all, I want to alter the motion vectors of B and P frames in a H.264 video. The point of doing this is watermarking / steganography, the goal is to change the motion vectors' width / height based on the watermark. Motion vectors don't work lik

[FFmpeg-user] expressions in -bsf

2024-05-31 Thread Mark Filipak
How do I do the equivalent of this: pts = pts==504223732 ? 504219978 : pts; in '-bsf' in Windows? I can't figure it out. I've tried: -bsf setts=pts='eq(pts\,504223732)504219978' -bsf setts=pts='if(eq(pts\,504223732)\,504219978\,pts)' -bsf 'if(eq(pts\,504223732),setts=pts=504219978)' and man

Re: [FFmpeg-user] expressions in -bsf

2024-05-31 Thread Mark Filipak
On 31/05/2024 16.31, David Ing via ffmpeg-user wrote: How do I do the equivalent of this: pts = pts==504223732 ? 504219978 : pts; in '-bsf' in Windows? I can't figure it out. I've tried: -bsf setts=pts='eq(pts\,504223732)504219978' -bsf setts=pts='if(eq(pts\,504223732)\,504219978\,pts)' -

[FFmpeg-user] BT-709 being mishandled?

2024-05-31 Thread Mark Filipak
Question: What's happening? Is there a workaround? The video from a Blu-ray is: Stream #0:0[0x1011]: Video: h264 (High) (HDMV / 0x564D4448), yuv420p(progressive), 1920x1080 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 90k tbn FFprobe's '-show_streams' (and other commands) shows this: pix_fmt=

[FFmpeg-user] '-bsf noise' doesn't like x265? Really?

2024-05-31 Thread Mark Filipak
Hi, Is there some reason that '-bsf noise' doesn't like x265? Look: Works 100%: ffmpeg -copyts -i source.m2ts -map 0 -bsf noise=drop='lt(pts\,2854113)+gte(dts\,504219978)' -c copy -sn -dn -muxdelay 0 target.ts No video: ffmpeg -copyts -i source.m2ts -map 0 -bsf noise=drop='lt(pts\,2854113

[FFmpeg-user] How '-ss' & '-to' should handle open GOPs

2024-06-01 Thread Mark Filipak
'-ss' and '-to' are flawed. They are not taking open GOPs into account. What they need to do is make IDR cuts. They're not currently doing that. I regret this report is so long. But It's well worth a read. I'll post a final report when all the cuts and joins are complete. Background. I'm work

Re: [FFmpeg-user] Double decimate and frame rate conversion questions

2024-06-01 Thread Mark Filipak
On 01/06/2024 15.39, Laine wrote: I'm trying to convert 30 fps videos to 24 fps. I've been playing with a lot of methods for removing what I think may be known as lag spikes, spurious duplicate frames which fall outside the usual pattern of 4 unique frames and 1 duplicate of the 4th. Hi, Lai

Re: [FFmpeg-user] Double decimate and frame rate conversion questions

2024-06-01 Thread Mark Filipak
Oops. I wrote foo... "1-1-1-3" was "2-2-2-4" On 01/06/2024 15.39, Laine wrote: I'm trying to convert 30 fps videos to 24 fps. I've been playing with a lot of methods for removing what I think may be known as lag spikes, spurious duplicate frames which fall outside the usual pattern of 4 unique

[FFmpeg-user] '-vf showinfo' PTSes are wrong

2024-06-02 Thread Mark Filipak
Since the change to '-vf showinfo', it now shows PTSes. Those PTSes appear to be bogus. They don't match the PTSes reported by framecrc. They don't match at all. --Mark. ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/list

[FFmpeg-user] Is there a way to set 'closed_gop' in FFmpeg?

2024-06-03 Thread Mark Filipak
Hey, My cuts are perfect, true IDR. The join is perfect, yet MPV stalls for about 1/2 second and shows one, maybe two black frames. The only thing I can think of that would screw up the playing across my joins is MPEG's 'closed_gop' flag. It needs to set it to '1' for the GOP on the early side

[FFmpeg-user] Is there a way to set 'closed_gop' in FFmpeg?

2024-06-03 Thread Mark Filipak
With something a complicated as this stuff, I knew I would screw up something. Correction: I fixed the 'Commands used'. Hey, My cuts are perfect, true IDR. The join is perfect, yet MPV stalls for about 1/2 second and shows one, maybe two black frames. The only thing I can think of that would

Re: [FFmpeg-user] Is there a way to set 'closed_gop' in FFmpeg?

2024-06-04 Thread Mark Filipak
On 04/06/2024 08.04, Paul B Mahol wrote: On Mon, Jun 3, 2024 at 7:19 PM Mark Filipak wrote: Is there a way to set 'closed_gop' in FFmpeg? Is there a way to set 'closed_gop' for an individual GOP? Not possible, use something more efficient, less buggy and far more useful

Re: [FFmpeg-user] Is there a way to set 'closed_gop' in FFmpeg?

2024-06-04 Thread Mark Filipak
On 04/06/2024 08.04, Paul B Mahol wrote: > On Mon, Jun 3, 2024 at 7:19 PM Mark Filipak > wrote: >> Is there a way to set 'closed_gop' in FFmpeg? >> Is there a way to set 'closed_gop' for an individual GOP? > > Not possible, use something more efficie

Re: [FFmpeg-user] Is there a way to set 'closed_gop' in FFmpeg?

2024-06-04 Thread Mark Filipak
For your reading pleasure, I've attached 'How To Make IDR Cuts.pdf'. --Mark. How To Make IDR Cuts.pdf Description: Adobe PDF document ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe,

Re: [FFmpeg-user] Is there a way to set 'closed_gop' in FFmpeg?

2024-06-05 Thread Mark Filipak
On 05/06/2024 09.44, Paul B Mahol wrote: What is OFFmpeg ? and how to use it? It is Object-FFmpeg. It is a fully video-object-oriented language, not functions pasted into python. Objects are video/audio/subtitle/chapter streams, frames, fields, pictures, halfpics, scans. There's very few g

Re: [FFmpeg-user] Is there a way to set 'closed_gop' in FFmpeg?

2024-06-05 Thread Mark Filipak
On 05/06/2024 18.44, Paul B Mahol wrote: -snip- Where can I obtain OFFmpeg product/solution? I regret that you can't, Paul. I'm one old person working alone and I program mainly in assembly (and scripts of course), not 'C'. But I have experience leading coding groups and in the last year I'v

Re: [FFmpeg-user] Is there a way to set 'closed_gop' in FFmpeg?

2024-06-06 Thread Mark Filipak
Please recall that I've cut both ends of 2 M2TSes and then joined them. Recall that both M2TSes are open GOPs. Please recall the commands: ffmpeg -copyts -i "g:\FANNY AND ALEXANDER [1982(1983)]\00305.m2ts" -map 0 -bsf noise=drop='lt(pts\,2854113)+gte(dts\,504219978)',setts=dts='if(eq(DTS\,2846

[FFmpeg-user] Report what's actually in PES headers

2024-06-07 Thread Mark Filipak
I've asked this many times regarding VOBs, now I ask regarding M2TSes. Is there some parameter that can be set to force FFmpeg to report what's actually in PES headers instead of allowing it to make things up? '-vf framecrc' reports this: DTS PTS +---+ 1, ¦ 50421

Re: [FFmpeg-user] Is there a way to set 'closed_gop' in FFmpeg?

2024-06-07 Thread Mark Filipak
On 07/06/2024 00.11, Hans Carlson via ffmpeg-user wrote: On Thu, 6 Jun 2024, Mark Filipak wrote: Does anyone have an M2TS raw parser? Lacking that, does anyone have a map of M2TS so I can parse it manually and locate the 'closed_gop' MPEG tag? Try searching for "m2ts parse

[FFmpeg-user] '-bsf setts=dts' has problems

2024-06-07 Thread Mark Filipak
'-bsf setts=pts' seems to always work, but '-bsf setts=dts' has problems. Look: C:\Windows\System32>ffmpeg -copyts -i "g:\FANNY AND ALEXANDER [1982(1983)]\00305.m2ts" -map 0 -bsf noise=drop='lt(pts\,2854113)' -c copy -sn -dn -muxdelay 0 "g:\FANNY AND ALEXANDER [1982(1983)]\foo.m2ts" 0,284660

Re: [FFmpeg-user] '-bsf setts=dts' has problems

2024-06-08 Thread Mark Filipak
On 08/06/2024 05.29, Paul B Mahol wrote: It is evident that you never looked at actual setts documentation. Don't be silly, Paul. Is there something wrong with this: -bsf noise=drop='lt(pts\,2854113)',setts=dts='if(eq(DTS\,2846606)\,2850360\,DTS)' that I'm just not seeing? Nobody can take

Re: [FFmpeg-user] '-bsf setts=dts' has problems

2024-06-08 Thread Mark Filipak
On 08/06/2024 11.48, Paul B Mahol wrote: On Sat, Jun 8, 2024 at 5:07 PM Mark Filipak wrote: On 08/06/2024 05.29, Paul B Mahol wrote: It is evident that you never looked at actual setts documentation. Don't be silly, Paul. Is there something wrong with this: -bsf noise=drop=&#

Re: [FFmpeg-user] '-bsf setts=dts' has problems

2024-06-08 Thread Mark Filipak
On 08/06/2024 12.05, Paul B Mahol wrote: -snip- If you do not explicitly set expression for both pts and dts options, they will be set to same value later. Thank you, Paul. I see (and I'm surprised by it). So this command: -bsf setts=dts='if(eq(DTS\,2846606)\,2850360\,DTS)' produces this: 0,

[FFmpeg-user] I found the bugs

2024-06-11 Thread Mark Filipak
This is a spliced video. The Good: VLC and PowerDVD play it flawlessly. The splice is technically perfect. An MPEG-2 TS packet analyser says so. I trust what it says because what it says matches my cuts and it matches what '-f framecrc' says. The commands that made the segments and the splice are

Re: [FFmpeg-user] I found the bugs

2024-06-11 Thread Mark Filipak
On 11/06/2024 13.00, Paul B Mahol wrote: On Tue, Jun 11, 2024 at 6:20 PM Mark Filipak wrote: This is a spliced video. The Good: VLC and PowerDVD play it flawlessly. The splice is technically perfect. An MPEG-2 TS packet analyser says so. I trust what it says because what it says matches my

Re: [FFmpeg-user] I found the bugs

2024-06-11 Thread Mark Filipak
For anyone who's interested, I made a 4 second clip (15,482,880 bytes) around the splice. Contact me off-list. --Mark. ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link abov

Re: [FFmpeg-user] I found the bugs

2024-06-12 Thread Mark Filipak
If no one corroborates my findings, I can't proceed with a bug report. Are there any volunteers? --Mark. I made a 4 second clip of the splice section. VLC and PowerDVD play it smoothly. showinfo is in Wonderland. It skips frames and shows non-existing duplicates. MPV exhibits a 2 second glit

Re: [FFmpeg-user] I found the bugs

2024-06-12 Thread Mark Filipak
On 12/06/2024 14.53, Carl Zwanzig wrote: On 6/12/2024 11:35 AM, Mark Filipak wrote: If no one corroborates my findings, I can't proceed with a bug report. Why not? Nothing about that in https://ffmpeg.org/bugreports.html. I need someone more knowledgeable about FFmpeg to triage. For ex

Re: [FFmpeg-user] I found the bugs

2024-06-13 Thread Mark Filipak
On 13/06/2024 02.16, Carl Zwanzig wrote: On 6/12/2024 2:44 PM, Mark Filipak wrote: I need someone more knowledgeable about FFmpeg to triage. They're often called 'developers'. Okay, Carl. https://trac.ffmpeg.org/ticket/11055 Since there are so many things wrong, I predic

Re: [FFmpeg-user] I found the bugs

2024-06-13 Thread Mark Filipak
Hi Jim! On 13/06/2024 17.04, Jim DeLaHunt wrote: On 2024-06-13 13:16, Mark Filipak wrote: On 13/06/2024 02.16, Carl Zwanzig wrote: On 6/12/2024 2:44 PM, Mark Filipak wrote: I need someone more knowledgeable about FFmpeg to triage. They're often called 'developers'. Ok

Re: [FFmpeg-user] I found the bugs

2024-06-13 Thread Mark Filipak
At https://trac.ffmpeg.org/ticket/11055, there's someone with an alias of "MasterQuestionable" who is harassing the heck out of me. ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visi

Re: [FFmpeg-user] I found the bugs

2024-06-14 Thread Mark Filipak
Let me bring everyone up to date. ffmpeg -i ... -f framecrc ffmpeg -i ... -vf showinfo ffmpeg -i ... -show_frames All show differing DTS and PTS timestamps. showinfo & show_frames have 2 second gaps. The question is: Which one shows the actual timestamps? The MPV player pauses during that 2 seco

Re: [FFmpeg-user] ticket/11055 FFmpeg reports inconsistent PTS, DTS between 3 invocations [was: Re: I found the bugs]

2024-06-14 Thread Mark Filipak
You see. This is the type of discussion that needs to occur _before_ a bug report is filed. On 14/06/2024 19.03, Jim DeLaHunt wrote: -snip-    A certain FFmpeg invocation generates a 99-frame test video which    causes MPV player to pause in playback, That's not quite correct, Jim. The crea

Re: [FFmpeg-user] I found the bugs

2024-06-14 Thread Mark Filipak
So far I'm at 4h32m40s transcoding/remuxing my 5h11m37s video. There have been 354 duplicated frames, roughly 1/3rd at each splice. The job has been running for two days. I'll let you know how it comes out. All the splices are on black frames, so 354 duplicates may be no big deal. It hopefully i

Re: [FFmpeg-user] I found the bugs

2024-06-14 Thread Mark Filipak
The action at trac.ffmpeg.org/ticket/11055 is really interesting. It's already up to almost 50 comments. I can barely keep up. I think something may come of this. Let's hope, eh? It appears that a video having a physical order that's DTS-order is a bit of a surprise to my expert friends. That's

Re: [FFmpeg-user] I found the bugs

2024-06-14 Thread Mark Filipak
While I'm thinking of it, I want to share something. My impression is that FFmpegers think in input-output terms. You might want to think in physical terms: What is physically on the disk/in the stream, instead. Yeah, yeah, I know everyone thinks they do that, but do you really? Clearly, some of

Re: [FFmpeg-user] I found the bugs

2024-06-15 Thread Mark Filipak
On 15/06/2024 11.18, Paul B Mahol wrote: On Sat, Jun 15, 2024 at 4:16 PM Carl Zwanzig wrote: On 6/15/2024 1:30 AM, Paul B Mahol wrote: What you even mean with above unclear statements? Perhaps you might read the last 8-10 messages as Jim attempts to decipher it. I was explicitly referrin

Re: [FFmpeg-user] I found the bugs

2024-06-15 Thread Mark Filipak
It would be nice if folks from here went here: https://trac.ffmpeg.org/ticket/11055 and saw what is going on. It's up to 76 comments now, so what I ask will take you a while. What's going on is a crime. ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.

Re: [FFmpeg-user] I found the bugs

2024-06-15 Thread Mark Filipak
On 15/06/2024 23.39, Jim DeLaHunt wrote: On 2024-06-15 19:27, Mark Filipak wrote: It would be nice if folks from here went here: https://trac.ffmpeg.org/ticket/11055 and saw what is going on. It's up to 76 comments now, so what I ask will take you a while. What's going on is a crime

Re: [FFmpeg-user] I found the bugs

2024-06-16 Thread Mark Filipak
On 16/06/2024 03.51, Jim DeLaHunt wrote: On 2024-06-15 23:04, Mark Filipak wrote: On 15/06/2024 23.39, Jim DeLaHunt wrote: On 2024-06-15 19:27, Mark Filipak wrote: It would be nice if folks from here went here: https://trac.ffmpeg.org/ticket/11055 and saw what is going on. It's up

Re: [FFmpeg-user] I found the bugs

2024-06-16 Thread Mark Filipak
On 16/06/2024 19.25, Jim DeLaHunt wrote: On 2024-06-16 01:19, Mark Filipak wrote: On 16/06/2024 03.51, Jim DeLaHunt wrote: On 2024-06-15 23:04, Mark Filipak wrote: On 15/06/2024 23.39, Jim DeLaHunt wrote: On 2024-06-15 19:27, Mark Filipak wrote: It would be nice if folks from here went

Re: [FFmpeg-user] I found the bugs

2024-06-16 Thread Mark Filipak
I had a brainwave... The 4 second video is in DTS-order. That's unusual, but that's what Criterion gave us. What if I could rearrange the packets to PTS-order? If showinfo and show_frames then agreed with framecrc, that would tell the whole story, wouldn't it? Is that possible? Is it possible t

Re: [FFmpeg-user] I found the bugs

2024-06-16 Thread Mark Filipak
To expand on my idea: The video is this: I P B B P B B P B B I P B B.. I want to change it to this: I B B P B B P B B P I B B P.. To do that, I reckon I need to, 1, move the packets that contain P-frames, 2, insert revised 'program_clock_reference_base's and 'program_clock_reference_extension's

Re: [FFmpeg-user] I found the bugs

2024-06-17 Thread Mark Filipak
On 17/06/2024 03.16, Paul B Mahol wrote: On Mon, Jun 17, 2024 at 3:16 AM Mark Filipak wrote: To expand on my idea: The video is this: I P B B P B B P B B I P B B.. I want to change it to this: I B B P B B P B B P I B B P.. If this is what I think it is, your are wasting your time. It is

Re: [FFmpeg-user] I found the bugs

2024-06-17 Thread Mark Filipak
On 17/06/2024 13.50, Paul B Mahol wrote: On Mon, Jun 17, 2024 at 5:35 PM Mark Filipak wrote: On 17/06/2024 03.16, Paul B Mahol wrote: On Mon, Jun 17, 2024 at 3:16 AM Mark Filipak To expand on my idea: The video is this: I P B B P B B P B B I P B B.. I want to change it to this: I B B P B B

Re: [FFmpeg-user] I found the bugs

2024-06-17 Thread Mark Filipak
On 17/06/2024 17.18, Paul B Mahol wrote: On Mon, Jun 17, 2024 at 8:29 PM Mark Filipak wrote: On 17/06/2024 13.50, Paul B Mahol wrote: On Mon, Jun 17, 2024 at 5:35 PM Mark Filipak On 17/06/2024 03.16, Paul B Mahol wrote: On Mon, Jun 17, 2024 at 3:16 AM Mark Filipak < markfilipa

Re: [FFmpeg-user] I found the bugs

2024-06-17 Thread Mark Filipak
Paul, I misunderstood your question. (see at end) On 17/06/2024 17.59, Mark Filipak wrote: On 17/06/2024 17.18, Paul B Mahol wrote: On Mon, Jun 17, 2024 at 8:29 PM Mark Filipak wrote: On 17/06/2024 13.50, Paul B Mahol wrote: On Mon, Jun 17, 2024 at 5:35 PM Mark Filipak On 17/06/2024 03.16

Re: [FFmpeg-user] I found the bugs

2024-06-17 Thread Mark Filipak
On 17/06/2024 18.05, Paul B Mahol wrote: On Tue, Jun 18, 2024 at 12:00 AM Mark Filipak wrote: On 17/06/2024 17.18, Paul B Mahol wrote: On Mon, Jun 17, 2024 at 8:29 PM Mark Filipak On 17/06/2024 13.50, Paul B Mahol wrote: On Mon, Jun 17, 2024 at 5:35 PM Mark Filipak < markfilipa

[FFmpeg-user] About trac (bug reporting)

2024-06-18 Thread Mark Filipak
MasterQuestionable appears to be the boss of trac. I don't know whether MasterQuestionable is a person or a group. The language from MasterQuestionable is as one would find in a chat among peers (i.e., developers) who come into the chat with a wealth of experience and a common language and a par

Re: [FFmpeg-user] About trac (bug reporting)

2024-06-18 Thread Mark Filipak
On 18/06/2024 11.16, Greg Oliver wrote: On Tue, Jun 18, 2024 at 9:45 AM Mark Filipak wrote: MasterQuestionable appears to be the boss of trac. I don't know whether MasterQuestionable is a person or a group. The language from MasterQuestionable is as one would find in a chat among peers

Re: [FFmpeg-user] About trac (bug reporting)

2024-06-18 Thread Mark Filipak
On 18/06/2024 12.03, Greg Oliver wrote: On Tue, Jun 18, 2024 at 10:22 AM Mark Filipak wrote: On 18/06/2024 11.16, Greg Oliver wrote: On Tue, Jun 18, 2024 at 9:45 AM Mark Filipak MasterQuestionable appears to be the boss of trac. I don't know whether MasterQuestionable is a person or a

Re: [FFmpeg-user] I found the bugs

2024-06-19 Thread Mark Filipak
MasterQuestionable has downgraded the timestamp bug from 'important' to 'normal'. I'm copying my response here because trac is in a different account and that account's email-'cc's are rejected by ffmpeg-user. --Mark. https://trac.ffmpeg.org/ticket/11055 https://streams.videolan.org/ffmpeg/inco

Re: [FFmpeg-user] I found the bugs

2024-06-19 Thread Mark Filipak
On 19/06/2024 10.01, Rob Hallam wrote: On Wed, 19 Jun 2024 at 14:23, Mark Filipak wrote: I think this may be a far ranging bug that affects '-ss' and that provokes many of the "non-monotonous DTS" error messages that seem to appear out of nowhere when a trivial, non-t

Re: [FFmpeg-user] I found the bugs

2024-06-19 Thread Mark Filipak
I've seen un explainable '-ss' (i.e., seek) problems. I've seen trivial changes to FFmpeg commands produce a flood of un explainable "non-monotonous DTS" errors when the trivial change had nothing to do with anything that would change DTS. (And I find it tragic-funny that FFmpeg 'fixes' the bogu

Re: [FFmpeg-user] I found the bugs

2024-06-19 Thread Mark Filipak
I'm sorry, Rob, press [Shift][L] to loop MPV. ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] I found the bugs

2024-06-19 Thread Mark Filipak
On 19/06/2024 12.02, Rob Hallam wrote: -snip- I can confirm I see a pause at "23%", though mpv reports it as 00:00:00 and then a seeming jump or fast increment through percentages. I would probably have to record the screen or something to see exactly what happened, unless there's a way to get mp

Re: [FFmpeg-user] I found the bugs

2024-06-19 Thread Mark Filipak
On 19/06/2024 12.29, Rob Hallam wrote: On Wed, 19 Jun 2024 at 17:21, Mark Filipak wrote: On 19/06/2024 12.02, Rob Hallam wrote: -snip- I can confirm I see a pause at "23%", though mpv reports it as 00:00:00 and then a seeming jump or fast increment through percentages. I would pro

Re: [FFmpeg-user] I found the bugs

2024-06-19 Thread Mark Filipak
On 19/06/2024 11.57, Carl Zwanzig wrote: On 6/19/2024 6:22 AM, Mark Filipak wrote: MasterQuestionable has downgraded the timestamp bug from 'important' to 'normal'. Yes, and??? From the sound of it, this _is_ a normal/medium (or even "low") severity bug in th

Re: [FFmpeg-user] I found the bugs

2024-06-19 Thread Mark Filipak
On 19/06/2024 12.45, Paul B Mahol wrote: ffmpeg -i Ticket_11055.m2ts -an -c copy -f framecrc broken.video.txt Thank you, Paul. I have two _different_ outputs. One from this: ffmpeg -i g:\Ticket_11055.m2ts -an -c copy -f framecrc c:\broken.video.txt and one from this: ffmpeg -copyts -i g:\Ticket

Re: [FFmpeg-user] I found the bugs

2024-06-19 Thread Mark Filipak
Correction of first file name, sorry, copy goof. On 19/06/2024 12.45, Paul B Mahol wrote: ffmpeg -i Ticket_11055.m2ts -an -c copy -f framecrc broken.video.txt Thank you, Paul. I have two _different_ outputs. One from this: ffmpeg -i g:\Ticket_11055.m2ts -an -c copy -f framecrc c:\broken.video.

Re: [FFmpeg-user] I found the bugs

2024-06-19 Thread Mark Filipak
On 19/06/2024 13.07, Mark Filipak wrote: Correction of first file name, sorry, copy goof. On 19/06/2024 12.45, Paul B Mahol wrote: ffmpeg -i Ticket_11055.m2ts -an -c copy -f framecrc broken.video.txt Thank you, Paul. I have two _different_ outputs. One from this: ffmpeg -i g:\Ticket_11055

Re: [FFmpeg-user] I found the bugs

2024-06-19 Thread Mark Filipak
On 19/06/2024 13.25, Paul B Mahol wrote: -snip- It could be ffmpeg libavformat m2ts demuxer bug. Get the m2ts stream inspector tool to confirm. Thank you, Paul. I searched "m2ts" & "inspector": https://ffmpeg.org/ffmpeg-all.html https://ffmpeg.org/ffmpeg.html https://ffmpeg.org/ffmpeg-utils.ht

Re: [FFmpeg-user] I found the bugs

2024-06-19 Thread Mark Filipak
On 19/06/2024 11.57, Carl Zwanzig wrote: On 6/19/2024 6:22 AM, Mark Filipak wrote: MasterQuestionable has downgraded the timestamp bug from 'important' to 'normal'. Yes, and??? From the sound of it, this _is_ a normal/medium (or even "low") severity bug in th

Re: [FFmpeg-user] I found the bugs

2024-06-19 Thread Mark Filipak
On 19/06/2024 14.55, Carl Zwanzig wrote: On 6/19/2024 11:19 AM, Mark Filipak wrote:  From the sound of it, this _is_ a normal/medium (or even "low") severity bug in that it doesn't affect the vast majority of ffmpeg use. How do you know that, Carl? Address me as I sign

Re: [FFmpeg-user] I found the bugs

2024-06-19 Thread Mark Filipak
On 19/06/2024 14.48, Paul B Mahol wrote: On Wed, Jun 19, 2024 at 7:43 PM Mark Filipak wrote: On 19/06/2024 13.25, Paul B Mahol wrote: -snip- It could be ffmpeg libavformat m2ts demuxer bug. Get the m2ts stream inspector tool to confirm. Thank you, Paul. I searched "m2ts" &a

<    2   3   4   5   6   7   8   9   10   11   >