VideoHelp Forum

+ Reply to Thread
Page 20 of 20
FirstFirst ... 10 18 19 20
Results 571 to 587 of 587
Thread
  1. Member
    Join Date
    Aug 2013
    Location
    Central Germany
    Search PM
    According to Fraunhofer's license, it is not allowed to distribute ffmpeg including fdk_aac in binary form.

    If you can download an ffmpeg EXE, it may contain only a different AAC encoder (e.g. their own, included in libavcodec).

    But you may compile ffmpeg with fdk_aac for yourself (and keep this result in private).

    The Trac page you linked above contains the explanation:

    ... The license of libfdk_aac is not compatible with GPL, so the GPL does not permit distribution of binaries containing incompatible code when GPL-licensed code is also included. Therefore this encoder have been designated as "non-free", and you cannot download a pre-built ffmpeg that supports it. This can be resolved by compiling ffmpeg yourself.
    Quote Quote  
  2. Originally Posted by LigH.de View Post
    According to Fraunhofer's license, it is not allowed to distribute ffmpeg including fdk_aac in binary form.

    If you can download an ffmpeg EXE, it may contain only a different AAC encoder (e.g. their own, included in libavcodec).

    But you may compile ffmpeg with fdk_aac for yourself (and keep this result in private).
    Thanks for the response, but how would I compile ffmpeg with fdk_aac? Thus, I use AviDemux to encode to FDK_AAC, but it doesn't save subtitles and chapters for mkv, compared to if it was available via FFmpeg, I could do all in one step.
    Quote Quote  
  3. Member
    Join Date
    Nov 2017
    Location
    Madrid, Spain
    Search PM
    Originally Posted by chucknolan View Post
    I'm not sure if you're the right person to ask, but do you know why FFmpeg doesn't support FDK_AAC (LC_AAC, HE-AACv1, and HE-AACv2), even though they have the encoding parameters on their website: https://trac.ffmpeg.org/wiki/Encode/AAC?
    Hi, as it says in that page:

    "FFmpeg supports two AAC-LC encoders (aac and libfdk_aac) and one HE-AAC (v1/2) encoder (libfdk_aac). The license of libfdk_aac is not compatible with GPL, so the GPL does not permit distribution of binaries containing incompatible code when GPL-licensed code is also included. Therefore this encoder have been designated as "non-free", and you cannot download a pre-built ffmpeg that supports it. This can be resolved by compiling ffmpeg yourself".

    I did myself a couple of years ago.
    Quote Quote  
  4. Member
    Join Date
    Aug 2013
    Location
    Central Germany
    Search PM
    Originally Posted by chucknolan View Post
    Thanks for the response, but how would I compile ffmpeg with fdk_aac?
    You could use the media-autobuild_suite, a set of batch and shell script files which lets you configure a custom selection of codecs, downloads and installs an MSYS2/MinGW building environment (which requires a few GB of disk space, especially when you enable ccache), downloads sources and compiles them with GCC (or clang). And then you pray that it passes without errors.
    Quote Quote  
  5. Member
    Join Date
    Jul 2021
    Location
    In Video
    Search PM
    Originally Posted by Eibol View Post
    Patched executable version v2.5.0 for burn subtitles bug, to replace current v2.5.0.
    Fixes a bug with Batch Burn subtitles feature (subtitles filter bug with absolute paths).

    Patched executable v2.5.0
    Hello, i still have the same issue with latest version, is it a bug in the program?
    Quote Quote  
  6. Member
    Join Date
    Nov 2017
    Location
    Madrid, Spain
    Search PM
    I found a bug and it was fixed, now I'm not sure about the issue. More info about it?

    Originally Posted by Videoer View Post
    Originally Posted by Eibol View Post
    Patched executable version v2.5.0 for burn subtitles bug, to replace current v2.5.0.
    Fixes a bug with Batch Burn subtitles feature (subtitles filter bug with absolute paths).

    Patched executable v2.5.0
    Hello, i still have the same issue with latest version, is it a bug in the program?
    Quote Quote  
  7. Member
    Join Date
    Nov 2017
    Location
    Madrid, Spain
    Search PM
    Due to a failure in current update server, version 2.5.0 will not detect new releases, and will display an error.
    New release is available as usual at Download page.

    Image
    [Attachment 60704 - Click to enlarge]


    Users subscribed by email to new releases will be notified anyway.
    Quote Quote  
  8. Member
    Join Date
    Jul 2021
    Location
    In Video
    Search PM
    Originally Posted by Eibol View Post
    I found a bug and it was fixed, now I'm not sure about the issue. More info about it?

    Originally Posted by Videoer View Post
    Originally Posted by Eibol View Post
    Patched executable version v2.5.0 for burn subtitles bug, to replace current v2.5.0.
    Fixes a bug with Batch Burn subtitles feature (subtitles filter bug with absolute paths).

    Patched executable v2.5.0
    Hello, i still have the same issue with latest version, is it a bug in the program?
    See here:



    Code:
    General
    Complete name               : C:\Need Mux\table.mp4
    Format                      : ccff
    Codec ID                    : ccff (iso6)
    File size                   : 1.39 GiB
    Duration                    : 2 h 13 min
    Overall bit rate mode       : Constant
    Overall bit rate            : 1 493 kb/s
    Encoded date                : UTC 2021-08-02 15:04:26
    Tagged date                 : UTC 2021-08-02 15:04:26
    
    Video
    ID                          : 1
    Format                      : AVC
    Format/Info                 : Advanced Video Codec
    Format profile              : High@L3.1
    Format settings             : CABAC / 6 Ref Frames
    Format settings, CABAC      : Yes
    Format settings, Reference  : 6 frames
    Format settings, GOP        : M=5, N=32
    Codec ID                    : avc1
    Codec ID/Info               : Advanced Video Coding
    Duration                    : 2 h 13 min
    Bit rate mode               : Constant
    Bit rate                    : 1 500 kb/s
    Width                       : 960 pixels
    Height                      : 540 pixels
    Display aspect ratio        : 16:9
    Frame rate mode             : Constant
    Frame rate                  : 30.000 FPS
    Color space                 : YUV
    Chroma subsampling          : 4:2:0
    Bit depth                   : 8 bits
    Scan type                   : Progressive
    Bits/(Pixel*Frame)          : 0.096
    Stream size                 : 1.39 GiB (100%)
    Encoded date                : UTC 2021-08-02 15:04:26
    Tagged date                 : UTC 2021-08-02 15:04:26
    Codec configuration box     : avcC
    Code:
    General
    Complete name               : C:\Need Mux\table
    Format                      : ccff
    Codec ID                    : ccff (iso6)
    File size                   : 93.5 MiB
    Duration                    : 2 h 13 min
    Overall bit rate            : 98.0 kb/s
    Encoded date                : UTC 2021-08-02 15:04:26
    Tagged date                 : UTC 2021-08-02 15:04:26
    
    Audio
    ID                          : 5
    Format                      : AAC LC
    Format/Info                 : Advanced Audio Codec Low Complexity
    Codec ID                    : mp4a-40-2
    Duration                    : 2 h 13 min
    Bit rate                    : 93.4 kb/s
    Channel(s)                  : 2 channels
    Channel layout              : L R
    Sampling rate               : 48.0 kHz
    Frame rate                  : 46.875 FPS (1024 SPF)
    Compression mode            : Lossy
    Stream size                 : 89.1 MiB (95%)
    Language                    : English
    Encoded date                : UTC 2021-08-02 15:04:26
    Tagged date                 : UTC 2021-08-02 15:04:26
    Quote Quote  
  9. Member
    Join Date
    Nov 2017
    Location
    Madrid, Spain
    Search PM
    Hi, it should not display error due to files duration, I can't reproduce the issue.

    I can't also find the reason your video duration is displaying as Not Available, and can't find a file sample like that.

    I guess it may not be possible, but I would need some sample files displaying your error to be able to debug it.

    Originally Posted by Videoer View Post
    Originally Posted by Eibol View Post
    I found a bug and it was fixed, now I'm not sure about the issue. More info about it?

    Originally Posted by Videoer View Post
    Originally Posted by Eibol View Post
    Patched executable version v2.5.0 for burn subtitles bug, to replace current v2.5.0.
    Fixes a bug with Batch Burn subtitles feature (subtitles filter bug with absolute paths).

    Patched executable v2.5.0
    Hello, i still have the same issue with latest version, is it a bug in the program?
    See here:



    Code:
    General
    Complete name               : C:\Need Mux\table.mp4
    Format                      : ccff
    Codec ID                    : ccff (iso6)
    File size                   : 1.39 GiB
    Duration                    : 2 h 13 min
    Overall bit rate mode       : Constant
    Overall bit rate            : 1 493 kb/s
    Encoded date                : UTC 2021-08-02 15:04:26
    Tagged date                 : UTC 2021-08-02 15:04:26
    
    Video
    ID                          : 1
    Format                      : AVC
    Format/Info                 : Advanced Video Codec
    Format profile              : High@L3.1
    Format settings             : CABAC / 6 Ref Frames
    Format settings, CABAC      : Yes
    Format settings, Reference  : 6 frames
    Format settings, GOP        : M=5, N=32
    Codec ID                    : avc1
    Codec ID/Info               : Advanced Video Coding
    Duration                    : 2 h 13 min
    Bit rate mode               : Constant
    Bit rate                    : 1 500 kb/s
    Width                       : 960 pixels
    Height                      : 540 pixels
    Display aspect ratio        : 16:9
    Frame rate mode             : Constant
    Frame rate                  : 30.000 FPS
    Color space                 : YUV
    Chroma subsampling          : 4:2:0
    Bit depth                   : 8 bits
    Scan type                   : Progressive
    Bits/(Pixel*Frame)          : 0.096
    Stream size                 : 1.39 GiB (100%)
    Encoded date                : UTC 2021-08-02 15:04:26
    Tagged date                 : UTC 2021-08-02 15:04:26
    Codec configuration box     : avcC
    Code:
    General
    Complete name               : C:\Need Mux\table
    Format                      : ccff
    Codec ID                    : ccff (iso6)
    File size                   : 93.5 MiB
    Duration                    : 2 h 13 min
    Overall bit rate            : 98.0 kb/s
    Encoded date                : UTC 2021-08-02 15:04:26
    Tagged date                 : UTC 2021-08-02 15:04:26
    
    Audio
    ID                          : 5
    Format                      : AAC LC
    Format/Info                 : Advanced Audio Codec Low Complexity
    Codec ID                    : mp4a-40-2
    Duration                    : 2 h 13 min
    Bit rate                    : 93.4 kb/s
    Channel(s)                  : 2 channels
    Channel layout              : L R
    Sampling rate               : 48.0 kHz
    Frame rate                  : 46.875 FPS (1024 SPF)
    Compression mode            : Lossy
    Stream size                 : 89.1 MiB (95%)
    Language                    : English
    Encoded date                : UTC 2021-08-02 15:04:26
    Tagged date                 : UTC 2021-08-02 15:04:26
    Quote Quote  
  10. Member
    Join Date
    Nov 2017
    Location
    Madrid, Spain
    Search PM
    Maybe , one of the files has no extension. It should be aac, isn't it?

    Originally Posted by Videoer View Post
    Patched executable v2.5.0

    Hello, i still have the same issue with latest version, is it a bug in the program?

    See here:



    Code:
    General
    Complete name               : C:\Need Mux\table.mp4
    Format                      : ccff
    Codec ID                    : ccff (iso6)
    File size                   : 1.39 GiB
    Duration                    : 2 h 13 min
    Overall bit rate mode       : Constant
    Overall bit rate            : 1 493 kb/s
    Encoded date                : UTC 2021-08-02 15:04:26
    Tagged date                 : UTC 2021-08-02 15:04:26
    
    Video
    ID                          : 1
    Format                      : AVC
    Format/Info                 : Advanced Video Codec
    Format profile              : High@L3.1
    Format settings             : CABAC / 6 Ref Frames
    Format settings, CABAC      : Yes
    Format settings, Reference  : 6 frames
    Format settings, GOP        : M=5, N=32
    Codec ID                    : avc1
    Codec ID/Info               : Advanced Video Coding
    Duration                    : 2 h 13 min
    Bit rate mode               : Constant
    Bit rate                    : 1 500 kb/s
    Width                       : 960 pixels
    Height                      : 540 pixels
    Display aspect ratio        : 16:9
    Frame rate mode             : Constant
    Frame rate                  : 30.000 FPS
    Color space                 : YUV
    Chroma subsampling          : 4:2:0
    Bit depth                   : 8 bits
    Scan type                   : Progressive
    Bits/(Pixel*Frame)          : 0.096
    Stream size                 : 1.39 GiB (100%)
    Encoded date                : UTC 2021-08-02 15:04:26
    Tagged date                 : UTC 2021-08-02 15:04:26
    Codec configuration box     : avcC
    Code:
    General
    Complete name               : C:\Need Mux\table
    Format                      : ccff
    Codec ID                    : ccff (iso6)
    File size                   : 93.5 MiB
    Duration                    : 2 h 13 min
    Overall bit rate            : 98.0 kb/s
    Encoded date                : UTC 2021-08-02 15:04:26
    Tagged date                 : UTC 2021-08-02 15:04:26
    
    Audio
    ID                          : 5
    Format                      : AAC LC
    Format/Info                 : Advanced Audio Codec Low Complexity
    Codec ID                    : mp4a-40-2
    Duration                    : 2 h 13 min
    Bit rate                    : 93.4 kb/s
    Channel(s)                  : 2 channels
    Channel layout              : L R
    Sampling rate               : 48.0 kHz
    Frame rate                  : 46.875 FPS (1024 SPF)
    Compression mode            : Lossy
    Stream size                 : 89.1 MiB (95%)
    Language                    : English
    Encoded date                : UTC 2021-08-02 15:04:26
    Tagged date                 : UTC 2021-08-02 15:04:26
    Quote Quote  
  11. Member
    Join Date
    Jul 2021
    Location
    In Video
    Search PM
    I uploaded the files in the screencast for you to debug.

    Here is the link: https://we.tl/t-pmet37qGWy

    Originally Posted by Eibol View Post
    Hi, it should not display error due to files duration, I can't reproduce the issue.

    I can't also find the reason your video duration is displaying as Not Available, and can't find a file sample like that.

    I guess it may not be possible, but I would need some sample files displaying your error to be able to debug it.

    Originally Posted by Videoer View Post
    Originally Posted by Eibol View Post
    I found a bug and it was fixed, now I'm not sure about the issue. More info about it?

    Originally Posted by Videoer View Post
    Originally Posted by Eibol View Post
    Patched executable version v2.5.0 for burn subtitles bug, to replace current v2.5.0.
    Fixes a bug with Batch Burn subtitles feature (subtitles filter bug with absolute paths).

    Patched executable v2.5.0
    Hello, i still have the same issue with latest version, is it a bug in the program?
    See here:



    Code:
    General
    Complete name               : C:\Need Mux\table.mp4
    Format                      : ccff
    Codec ID                    : ccff (iso6)
    File size                   : 1.39 GiB
    Duration                    : 2 h 13 min
    Overall bit rate mode       : Constant
    Overall bit rate            : 1 493 kb/s
    Encoded date                : UTC 2021-08-02 15:04:26
    Tagged date                 : UTC 2021-08-02 15:04:26
    
    Video
    ID                          : 1
    Format                      : AVC
    Format/Info                 : Advanced Video Codec
    Format profile              : High@L3.1
    Format settings             : CABAC / 6 Ref Frames
    Format settings, CABAC      : Yes
    Format settings, Reference  : 6 frames
    Format settings, GOP        : M=5, N=32
    Codec ID                    : avc1
    Codec ID/Info               : Advanced Video Coding
    Duration                    : 2 h 13 min
    Bit rate mode               : Constant
    Bit rate                    : 1 500 kb/s
    Width                       : 960 pixels
    Height                      : 540 pixels
    Display aspect ratio        : 16:9
    Frame rate mode             : Constant
    Frame rate                  : 30.000 FPS
    Color space                 : YUV
    Chroma subsampling          : 4:2:0
    Bit depth                   : 8 bits
    Scan type                   : Progressive
    Bits/(Pixel*Frame)          : 0.096
    Stream size                 : 1.39 GiB (100%)
    Encoded date                : UTC 2021-08-02 15:04:26
    Tagged date                 : UTC 2021-08-02 15:04:26
    Codec configuration box     : avcC
    Code:
    General
    Complete name               : C:\Need Mux\table
    Format                      : ccff
    Codec ID                    : ccff (iso6)
    File size                   : 93.5 MiB
    Duration                    : 2 h 13 min
    Overall bit rate            : 98.0 kb/s
    Encoded date                : UTC 2021-08-02 15:04:26
    Tagged date                 : UTC 2021-08-02 15:04:26
    
    Audio
    ID                          : 5
    Format                      : AAC LC
    Format/Info                 : Advanced Audio Codec Low Complexity
    Codec ID                    : mp4a-40-2
    Duration                    : 2 h 13 min
    Bit rate                    : 93.4 kb/s
    Channel(s)                  : 2 channels
    Channel layout              : L R
    Sampling rate               : 48.0 kHz
    Frame rate                  : 46.875 FPS (1024 SPF)
    Compression mode            : Lossy
    Stream size                 : 89.1 MiB (95%)
    Language                    : English
    Encoded date                : UTC 2021-08-02 15:04:26
    Tagged date                 : UTC 2021-08-02 15:04:26
    Quote Quote  
  12. Member
    Join Date
    Jul 2021
    Location
    In Video
    Search PM
    I tried many different extensions, but i still get the same error

    Originally Posted by Eibol View Post
    Maybe , one of the files has no extension. It should be aac, isn't it?

    Originally Posted by Videoer View Post
    Patched executable v2.5.0

    Hello, i still have the same issue with latest version, is it a bug in the program?

    See here:



    Code:
    General
    Complete name               : C:\Need Mux\table.mp4
    Format                      : ccff
    Codec ID                    : ccff (iso6)
    File size                   : 1.39 GiB
    Duration                    : 2 h 13 min
    Overall bit rate mode       : Constant
    Overall bit rate            : 1 493 kb/s
    Encoded date                : UTC 2021-08-02 15:04:26
    Tagged date                 : UTC 2021-08-02 15:04:26
    
    Video
    ID                          : 1
    Format                      : AVC
    Format/Info                 : Advanced Video Codec
    Format profile              : High@L3.1
    Format settings             : CABAC / 6 Ref Frames
    Format settings, CABAC      : Yes
    Format settings, Reference  : 6 frames
    Format settings, GOP        : M=5, N=32
    Codec ID                    : avc1
    Codec ID/Info               : Advanced Video Coding
    Duration                    : 2 h 13 min
    Bit rate mode               : Constant
    Bit rate                    : 1 500 kb/s
    Width                       : 960 pixels
    Height                      : 540 pixels
    Display aspect ratio        : 16:9
    Frame rate mode             : Constant
    Frame rate                  : 30.000 FPS
    Color space                 : YUV
    Chroma subsampling          : 4:2:0
    Bit depth                   : 8 bits
    Scan type                   : Progressive
    Bits/(Pixel*Frame)          : 0.096
    Stream size                 : 1.39 GiB (100%)
    Encoded date                : UTC 2021-08-02 15:04:26
    Tagged date                 : UTC 2021-08-02 15:04:26
    Codec configuration box     : avcC
    Code:
    General
    Complete name               : C:\Need Mux\table
    Format                      : ccff
    Codec ID                    : ccff (iso6)
    File size                   : 93.5 MiB
    Duration                    : 2 h 13 min
    Overall bit rate            : 98.0 kb/s
    Encoded date                : UTC 2021-08-02 15:04:26
    Tagged date                 : UTC 2021-08-02 15:04:26
    
    Audio
    ID                          : 5
    Format                      : AAC LC
    Format/Info                 : Advanced Audio Codec Low Complexity
    Codec ID                    : mp4a-40-2
    Duration                    : 2 h 13 min
    Bit rate                    : 93.4 kb/s
    Channel(s)                  : 2 channels
    Channel layout              : L R
    Sampling rate               : 48.0 kHz
    Frame rate                  : 46.875 FPS (1024 SPF)
    Compression mode            : Lossy
    Stream size                 : 89.1 MiB (95%)
    Language                    : English
    Encoded date                : UTC 2021-08-02 15:04:26
    Tagged date                 : UTC 2021-08-02 15:04:26
    Quote Quote  
  13. Member
    Join Date
    Nov 2017
    Location
    Madrid, Spain
    Search PM
    OK, now with the samples I have it, the audio file reports a weird duration. I have parsed it to be ignored in those cases, but no progress information will be displayed during the muxing, although it works fine, any error during muxing will be reported.

    You can try yourself with this patched executable, replacing yours.

    Originally Posted by Videoer View Post
    I tried many different extensions, but i still get the same error

    Originally Posted by Eibol View Post
    Maybe , one of the files has no extension. It should be aac, isn't it?

    Originally Posted by Videoer View Post
    Patched executable v2.5.0

    Hello, i still have the same issue with latest version, is it a bug in the program?

    See here:



    Code:
    General
    Complete name               : C:\Need Mux\table.mp4
    Format                      : ccff
    Codec ID                    : ccff (iso6)
    File size                   : 1.39 GiB
    Duration                    : 2 h 13 min
    Overall bit rate mode       : Constant
    Overall bit rate            : 1 493 kb/s
    Encoded date                : UTC 2021-08-02 15:04:26
    Tagged date                 : UTC 2021-08-02 15:04:26
    
    Video
    ID                          : 1
    Format                      : AVC
    Format/Info                 : Advanced Video Codec
    Format profile              : High@L3.1
    Format settings             : CABAC / 6 Ref Frames
    Format settings, CABAC      : Yes
    Format settings, Reference  : 6 frames
    Format settings, GOP        : M=5, N=32
    Codec ID                    : avc1
    Codec ID/Info               : Advanced Video Coding
    Duration                    : 2 h 13 min
    Bit rate mode               : Constant
    Bit rate                    : 1 500 kb/s
    Width                       : 960 pixels
    Height                      : 540 pixels
    Display aspect ratio        : 16:9
    Frame rate mode             : Constant
    Frame rate                  : 30.000 FPS
    Color space                 : YUV
    Chroma subsampling          : 4:2:0
    Bit depth                   : 8 bits
    Scan type                   : Progressive
    Bits/(Pixel*Frame)          : 0.096
    Stream size                 : 1.39 GiB (100%)
    Encoded date                : UTC 2021-08-02 15:04:26
    Tagged date                 : UTC 2021-08-02 15:04:26
    Codec configuration box     : avcC
    Code:
    General
    Complete name               : C:\Need Mux\table
    Format                      : ccff
    Codec ID                    : ccff (iso6)
    File size                   : 93.5 MiB
    Duration                    : 2 h 13 min
    Overall bit rate            : 98.0 kb/s
    Encoded date                : UTC 2021-08-02 15:04:26
    Tagged date                 : UTC 2021-08-02 15:04:26
    
    Audio
    ID                          : 5
    Format                      : AAC LC
    Format/Info                 : Advanced Audio Codec Low Complexity
    Codec ID                    : mp4a-40-2
    Duration                    : 2 h 13 min
    Bit rate                    : 93.4 kb/s
    Channel(s)                  : 2 channels
    Channel layout              : L R
    Sampling rate               : 48.0 kHz
    Frame rate                  : 46.875 FPS (1024 SPF)
    Compression mode            : Lossy
    Stream size                 : 89.1 MiB (95%)
    Language                    : English
    Encoded date                : UTC 2021-08-02 15:04:26
    Tagged date                 : UTC 2021-08-02 15:04:26
    Quote Quote  
  14. I think there are a few things going on here. I downloaded the samples and can confirm that Mediainfo does show each stream has a runtime of "2 h 13 min" as in Videoer's screenshot. However, FFMPEG (FFPROBE) shows the runtimes as "57756:33:22.60" in BOTH streams (see below) and I'm guessing that is what throws the error.

    Video stream:
    Code:
    ffprobe -hide_banner -i table.mp4
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'table.mp4':
      Metadata:
        major_brand     : ccff
        minor_version   : 1
        compatible_brands: iso6
        creation_time   : 2021-08-02T15:04:26.000000Z
      Duration: 57756:33:22.60, start: 207915596.266667, bitrate: 0 kb/s
      Stream #0:0[0x1](und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 960x540 [SAR 1:1 DAR 16:9], 0 kb/s, 30 fps, 30 tbr, 10000k tbn (default)
        Metadata:
          creation_time   : 2021-08-02T15:04:26.000000Z
          handler_name    : ETI ISO Video Media Handler
          vendor_id       : [0][0][0][0]
          encoder         : Elemental H.264
        Side data:
          unknown side data type 24 (946 bytes)
    Audio stream:
    Code:
    ffprobe -hide_banner -i table
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'table':
      Metadata:
        major_brand     : ccff
        minor_version   : 1
        compatible_brands: iso6
        creation_time   : 2021-08-02T15:04:26.000000Z
      Duration: 57756:33:22.60, start: 207915596.200000, bitrate: 0 kb/s
      Stream #0:0[0x5](eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 0 kb/s (default)
        Metadata:
          creation_time   : 2021-08-02T15:04:26.000000Z
          handler_name    : ETI ISO Audio Media Handler
          vendor_id       : [0][0][0][0]
        Side data:
          unknown side data type 24 (946 bytes)
    Now, where it gets strange is that if you use FFMPEG from the command line to mux the streams ("ffmpeg.exe -i table -i table.mp4 -c:a acopy -c:v copy table.mkv") and even though it analyzed each stream's durations incorrectly individually, the output has the correct timing of "02:13:26.40".

    Muxed video and audio with FFMPEG
    Code:
    ffprobe -hide_banner -i table.mkv
    Input #0, matroska,webm, from 'table.mkv':
      Metadata:
        COMPATIBLE_BRANDS: iso6
        MAJOR_BRAND     : ccff
        MINOR_VERSION   : 1
        ENCODER         : Lavf59.5.100
      Duration: 02:13:26.40, start: 0.000000, bitrate: 1587 kb/s
      Stream #0:0: Video: h264 (High), yuv420p(progressive), 960x540 [SAR 1:1 DAR 16:9], 30 fps, 30 tbr, 1k tbn (default)
        Metadata:
          HANDLER_NAME    : ETI ISO Video Media Handler
          VENDOR_ID       : [0][0][0][0]
          ENCODER         : Elemental H.264
          DURATION        : 02:13:26.400000000
      Stream #0:1(eng): Audio: aac (LC), 48000 Hz, stereo, fltp (default)
        Metadata:
          HANDLER_NAME    : ETI ISO Audio Media Handler
          VENDOR_ID       : [0][0][0][0]
          DURATION        : 02:13:26.400000000
    For giggles, I muxed the streams with MKVToolNix GUI and got a stream that has the same duration of "02:13:26.40" that the FFMPEG-muxed file shows in FFPROBE.

    Muxed video and audio with MKVToolNix
    Code:
    ffprobe -hide_banner -i table.mkv
    Input #0, matroska,webm, from 'table.mkv':
      Metadata:
        encoder         : libebml v1.4.2 + libmatroska v1.6.4
        creation_time   : 2021-09-16T00:34:01.000000Z
      Duration: 02:13:26.40, start: 0.000000, bitrate: 1584 kb/s
      Stream #0:0(eng): Video: h264 (High), yuv420p(progressive), 960x540 [SAR 1:1 DAR 16:9], 30 fps, 30 tbr, 1k tbn (default)
        Metadata:
          BPS             : 1488658
          DURATION        : 02:13:26.400000000
          NUMBER_OF_FRAMES: 240192
          NUMBER_OF_BYTES : 1489849461
          _STATISTICS_WRITING_APP: mkvmerge v61.0.0 ('So') 64-bit
          _STATISTICS_WRITING_DATE_UTC: 2021-09-16 00:34:01
          _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      Stream #0:1(eng): Audio: aac (LC), 48000 Hz, stereo, fltp (default)
        Metadata:
          BPS             : 93375
          DURATION        : 02:13:26.400000000
          NUMBER_OF_FRAMES: 375300
          NUMBER_OF_BYTES : 93449758
          _STATISTICS_WRITING_APP: mkvmerge v61.0.0 ('So') 64-bit
          _STATISTICS_WRITING_DATE_UTC: 2021-09-16 00:34:01
          _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
    Where it gets even more strange is if you play the resulting muxed file in MPC-HC (which it looked like Videoer was using) and have the individual audio and video streams in the same directory (e.g., table, table.mp4 and table.mkv are all in the same directory), MPC-HC will pull the timing info from the individual stream(s) and display a duration of "156:33:22" in the status bar. If you move the muxed file into a directory separate from the individual streams, the same muxed file has the correct "02:13:26" runtime displayed in the status bar.

    I guess the summary is that although FFMPEG/FFPROBE show durations of "57756:33:22.60" for the individual streams, when you mux the streams in FFMPEG (or MKVToolNix), you get a resulting file with the correct duration of "02:13:26". Further, some video players such as MPC-HC will pull timing info from the original un-muxed individual streams if they are in the same directory and use that instead of the muxed file's duration and display that in the status bar.

    So, it seems that FFBatch is working correctly when throwing the Time Span out of range error because FFMPEG/FFPROBE returns a "57756:33:22.60" duration when analyzing the individual audio and video streams. I have not tried any of the patched executables that Eibol posted because it seems that the original is working as it should.


    Originally Posted by Eibol View Post
    OK, now with the samples I have it, the audio file reports a weird duration. I have parsed it to be ignored in those cases, but no progress information will be displayed during the muxing, although it works fine, any error during muxing will be reported.

    You can try yourself with this patched executable, replacing yours.

    Originally Posted by Videoer View Post
    I tried many different extensions, but i still get the same error

    Originally Posted by Eibol View Post
    Maybe , one of the files has no extension. It should be aac, isn't it?

    Originally Posted by Videoer View Post
    Patched executable v2.5.0

    Hello, i still have the same issue with latest version, is it a bug in the program?

    See here:

    Code:
    General
    Complete name               : C:\Need Mux\table.mp4
    Format                      : ccff
    Codec ID                    : ccff (iso6)
    File size                   : 1.39 GiB
    Duration                    : 2 h 13 min
    Overall bit rate mode       : Constant
    Overall bit rate            : 1 493 kb/s
    Encoded date                : UTC 2021-08-02 15:04:26
    Tagged date                 : UTC 2021-08-02 15:04:26
    
    Video
    ID                          : 1
    Format                      : AVC
    Format/Info                 : Advanced Video Codec
    Format profile              : High@L3.1
    Format settings             : CABAC / 6 Ref Frames
    Format settings, CABAC      : Yes
    Format settings, Reference  : 6 frames
    Format settings, GOP        : M=5, N=32
    Codec ID                    : avc1
    Codec ID/Info               : Advanced Video Coding
    Duration                    : 2 h 13 min
    Bit rate mode               : Constant
    Bit rate                    : 1 500 kb/s
    Width                       : 960 pixels
    Height                      : 540 pixels
    Display aspect ratio        : 16:9
    Frame rate mode             : Constant
    Frame rate                  : 30.000 FPS
    Color space                 : YUV
    Chroma subsampling          : 4:2:0
    Bit depth                   : 8 bits
    Scan type                   : Progressive
    Bits/(Pixel*Frame)          : 0.096
    Stream size                 : 1.39 GiB (100%)
    Encoded date                : UTC 2021-08-02 15:04:26
    Tagged date                 : UTC 2021-08-02 15:04:26
    Codec configuration box     : avcC
    Code:
    General
    Complete name               : C:\Need Mux\table
    Format                      : ccff
    Codec ID                    : ccff (iso6)
    File size                   : 93.5 MiB
    Duration                    : 2 h 13 min
    Overall bit rate            : 98.0 kb/s
    Encoded date                : UTC 2021-08-02 15:04:26
    Tagged date                 : UTC 2021-08-02 15:04:26
    
    Audio
    ID                          : 5
    Format                      : AAC LC
    Format/Info                 : Advanced Audio Codec Low Complexity
    Codec ID                    : mp4a-40-2
    Duration                    : 2 h 13 min
    Bit rate                    : 93.4 kb/s
    Channel(s)                  : 2 channels
    Channel layout              : L R
    Sampling rate               : 48.0 kHz
    Frame rate                  : 46.875 FPS (1024 SPF)
    Compression mode            : Lossy
    Stream size                 : 89.1 MiB (95%)
    Language                    : English
    Encoded date                : UTC 2021-08-02 15:04:26
    Tagged date                 : UTC 2021-08-02 15:04:26
    Quote Quote  
  15. Member
    Join Date
    Nov 2017
    Location
    Madrid, Spain
    Search PM
    Hi, this weird duration is usually reported by real time rtp/rtsp streams, etc. Anyway, duration is only used to display progress information, so the error should not prevent the muxing from going ahead.

    I've found a compromise, I'll try to obtain the duration with ffmpeg and mediainfo too, and if none reports a parsable duration, I will go ahead anyway, displaying no progress info.
    I hope this suits everyone.

    Beta executable available here.
    Quote Quote  
  16. HI I would like to report what I think is a bug in this appliection.

    I have a video file with webvtt subtitles. When I try to encode it ffmpeg throws an error. I eventually traced this to the need to add the string "-c webvtt" before the input file. However this still causes an error on your batch converter. Running the "Try preset" worked perfectly, but when I did a sequential encode it threw the ffmpeg error despite me having "-c webvtt" in the pre-input field.

    Eventually I went into the settings and enabled the "do not try preset before start encoding" and then sequential encoding worked.
    So it looks to me like when FFmpeg batch AV converter is doing the sequential encode, the testing of the preset is no implementing the Pre-input string and thus failing the test and aborting.
    Quote Quote  
  17. Member
    Join Date
    Nov 2017
    Location
    Madrid, Spain
    Search PM
    Hi, thanks for the report, you're right, pre-input is not yet implemented in the try preset feature.
    I'll fix it for next release.

    Originally Posted by atunguyd View Post
    HI I would like to report what I think is a bug in this appliection.

    I have a video file with webvtt subtitles. When I try to encode it ffmpeg throws an error. I eventually traced this to the need to add the string "-c webvtt" before the input file. However this still causes an error on your batch converter. Running the "Try preset" worked perfectly, but when I did a sequential encode it threw the ffmpeg error despite me having "-c webvtt" in the pre-input field.

    Eventually I went into the settings and enabled the "do not try preset before start encoding" and then sequential encoding worked.
    So it looks to me like when FFmpeg batch AV converter is doing the sequential encode, the testing of the preset is no implementing the Pre-input string and thus failing the test and aborting.
    Quote Quote  



Similar Threads