[FFmpeg-user] Big missmatch In format duration (ffmpeg V6)

2024-02-11 Thread Avraham Sikirov via ffmpeg-user
Hey, I am trying to upgrade from ffmpeg v5 to v6, I have noticed one video that has big increase in format duration time This is the command I use: ffprobe -v error -print_format json -show_format -show_streams too-many-packets.mp4 Link to video and outputs:

Re: [FFmpeg-user] Why are these different?

2024-02-11 Thread Mark Filipak
On 11/02/2024 13.09, Bouke / Videotoolshed wrote: So do you, so why ask the question? Now go away! I do not know the answer. ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit

Re: [FFmpeg-user] Why are these different?

2024-02-11 Thread Paul B Mahol
On Sun, Feb 11, 2024 at 7:12 PM Mark Filipak wrote: > On 11/02/2024 13.09, Bouke / Videotoolshed wrote: > > So do you, so why ask the question? > > Now go away! > > I do not know the answer. > In most cases you will get in most times different results for those 2 variants. Only for perfect

Re: [FFmpeg-user] Why are these different?

2024-02-11 Thread Paul B Mahol
On Sun, Feb 11, 2024 at 8:50 PM Mark Filipak wrote: > On 11/02/2024 14.28, Paul B Mahol wrote: > > On Sun, Feb 11, 2024 at 7:12 PM Mark Filipak > > > wrote: > > > >> On 11/02/2024 13.09, Bouke / Videotoolshed wrote: > >>> So do you, so why ask the question? > >>> Now go away! > >> > >> I do not

Re: [FFmpeg-user] Why are these different?

2024-02-11 Thread Mark Filipak
I think I can help out here, Vincent. On 11/02/2024 14.53, Vincent Deconinck wrote: Hi, I will probably get flamed because I'm for jumping into this conversation while being a complete newbie :-), but I think nobody replied with an answer to Mark's question "why". Before "why" there's the

Re: [FFmpeg-user] Why are these different?

2024-02-11 Thread Paul B Mahol
On Sun, Feb 11, 2024 at 8:54 PM Vincent Deconinck wrote: > Hi, > > I will probably get flamed because I'm for jumping into this conversation > while being a complete newbie :-), but I think nobody replied with an > answer to Mark's question "why". > > All I know is the ffmpeg page on seeking - >

Re: [FFmpeg-user] Why are these different?

2024-02-11 Thread Paul B Mahol
On Sun, Feb 11, 2024 at 10:01 PM Mark Filipak wrote: > -- Forgive me if this is a duplicate (trouble with email client, again) -- > > I think I can help out here, Vincent. > > On 11/02/2024 14.53, Vincent Deconinck wrote: > > Hi, > > > > I will probably get flamed because I'm for jumping into

Re: [FFmpeg-user] Why are these different?

2024-02-11 Thread Mark Filipak
On 11/02/2024 13.00, Bouke / Videotoolshed wrote: Stop trolling. Read in on the subject. You want to write a FFmpeg manual? Go away, don’t spam the rest of us. On 11 Feb 2024, at 18:47, Mark Filipak wrote: Command 1: ffmpeg -ss 10 -copyts -i this.m2ts -map 0 -c copy -sn -dn -muxdelay 0

Re: [FFmpeg-user] Why are these different?

2024-02-11 Thread Vincent Deconinck
Hi, I will probably get flamed because I'm for jumping into this conversation while being a complete newbie :-), but I think nobody replied with an answer to Mark's question "why". All I know is the ffmpeg page on seeking - https://trac.ffmpeg.org/wiki/Seeking - ends with a paragraph saying:

Re: [FFmpeg-user] Why are these different?

2024-02-11 Thread Mark Filipak
On 11/02/2024 16.42, Paul B Mahol wrote: Codec copy with -ss before -i and after -i is not documented that it gives different results Does that make sense? I think it's not documented because no one knows how to explain the results. because once you do not decode everything from start you

Re: [FFmpeg-user] Why are these different?

2024-02-11 Thread Bouke / Videotoolshed
Stop trolling. Read in on the subject. You want to write a FFmpeg manual? Go away, don’t spam the rest of us. > On 11 Feb 2024, at 18:47, Mark Filipak wrote: > > Command 1: > ffmpeg -ss 10 -copyts -i this.m2ts -map 0 -c copy -sn -dn -muxdelay 0 > that.m2ts > Command 2: > ffmpeg -copyts -i

Re: [FFmpeg-user] Why are these different?

2024-02-11 Thread Bouke / Videotoolshed
So do you, so why ask the question? Now go away! > On 11 Feb 2024, at 19:05, Mark Filipak wrote: > > On 11/02/2024 13.00, Bouke / Videotoolshed wrote: >> Stop trolling. >> Read in on the subject. You want to write a FFmpeg manual? >> Go away, don’t spam the rest of us. >>> On 11 Feb 2024, at

Re: [FFmpeg-user] Why are these different?

2024-02-11 Thread Mark Filipak
On 11/02/2024 14.28, Paul B Mahol wrote: On Sun, Feb 11, 2024 at 7:12 PM Mark Filipak wrote: On 11/02/2024 13.09, Bouke / Videotoolshed wrote: So do you, so why ask the question? Now go away! I do not know the answer. In most cases you will get in most times different results for those

Re: [FFmpeg-user] Why are these different?

2024-02-11 Thread Mark Filipak
-- Forgive me if this is a duplicate (trouble with email client, again) -- I think I can help out here, Vincent. On 11/02/2024 14.53, Vincent Deconinck wrote: Hi, I will probably get flamed because I'm for jumping into this conversation while being a complete newbie :-), but I think nobody

Re: [FFmpeg-user] Why are these different?

2024-02-11 Thread Paul B Mahol
On Sun, Feb 11, 2024 at 11:08 PM Mark Filipak wrote: > On 11/02/2024 16.42, Paul B Mahol wrote: > > Codec copy with -ss before -i and after -i is not documented that it > gives > > different results > > Does that make sense? I think it's not documented because no one knows how > to explain the

Re: [FFmpeg-user] Big missmatch In format duration (ffmpeg V6)

2024-02-11 Thread Avraham Sikirov via ffmpeg-user
*Output for 6.1.1:* { "streams": [ { "index": 0, "codec_name": "mp3", "codec_long_name": "MP3 (MPEG audio layer 3)", "codec_type": "audio", "codec_tag_string": "mp4a", "codec_tag": "0x6134706d",

Re: [FFmpeg-user] Big missmatch In format duration (ffmpeg V6)

2024-02-11 Thread Carl Zwanzig
Hello, Please read the mailing list FAQ at https://ffmpeg.org/mailing-list-faq.html, it tells users to post the complete and unedited command and output and not to top-post. Also, it's a lot easier for us humans to read the default output than JSON and there's important info like the build

Re: [FFmpeg-user] Big missmatch In format duration (ffmpeg V6)

2024-02-11 Thread Carl Zwanzig
On 2/11/2024 2:14 AM, Avraham Sikirov via ffmpeg-user wrote: Link to video and outputs: Please put the command outputs in the email message, not as an attachment or gdrive, it's much easier for everyone to see and read. z! ___ ffmpeg-user

Re: [FFmpeg-user] Big missmatch In format duration (ffmpeg V6)

2024-02-11 Thread Avraham Sikirov via ffmpeg-user
Hello Carl, Thanks for your response. This is the complete and unedited output from that exact command. There are 3 parts in the output of ffprobe to a video file. 1. Audio stream. 2. Video stream 3. Format (which represents the container). Every one of them has duration and bitrate. In this

Re: [FFmpeg-user] Why are these different?

2024-02-11 Thread Mark Filipak
Command 1: ffmpeg -ss 10 -copyts -i this.m2ts -map 0 -c copy -sn -dn -muxdelay 0 that.m2ts Command 2: ffmpeg -copyts -i this.m2ts -map 0 -ss 10 -c copy -sn -dn -muxdelay 0 that.m2ts Let's ignore all the errors both make. And let's ignore the individual errors that they make individually.

Re: [FFmpeg-user] Codec copy with -ss before -i and after -i is not documented [was: Re: Why are these different?]

2024-02-11 Thread Jim DeLaHunt
Paul: On 2024-02-11 13:42, Paul B Mahol wrote: Codec copy with -ss before -i and after -i is not documented that it gives different results because once you do not decode everything from start you basically can notexpect to get always (for any container and for any input) frame-accurate

Re: [FFmpeg-user] Why are these different?

2024-02-11 Thread Mark Filipak
On 11/02/2024 17.39, Paul B Mahol wrote: On Sun, Feb 11, 2024 at 11:08 PM Mark Filipak wrote: On 11/02/2024 16.42, Paul B Mahol wrote: Codec copy with -ss before -i and after -i is not documented that it gives different results Does that make sense? I think it's not documented because no