VideoHelp Forum
+ Reply to Thread
Results 1 to 6 of 6
Thread
  1. Member
    Join Date
    Feb 2013
    Location
    Montreal, Canada
    Search Comp PM
    My device has a video length cap of a bit over 10 minutes. I'd like to share the video without having to make multiple parts, thus collating them beforehand. Since the videos have the same configuration, as can be seen below, is there a way to do so with little processing--without--cutting the length of either? If for some reason, one would need to either cut or extend one of the parts to append another, I'd go with extending, even if it means the screen being fixed for a couple seconds, preferably allowing that frozen frame to be customized (ie inserting a text) ?

    Thank you kindly

    Code:
    General
    Complete name                            : [begins the same]_01.mp4
    Format                                   : MPEG-4
    Format profile                           : Base Media
    Codec ID                                 : isom (isom/iso2/avc1/mp41)
    File size                                : 3.51 GiB
    Duration                                 : 10 min 26 s
    Overall bit rate                         : 48.2 Mb/s
    Writing application                      : Lavf58.20.100
    
    Video
    ID                                       : 1
    Format                                   : AVC
    Format/Info                              : Advanced Video Codec
    Format profile                           : High@L5.1
    Format settings                          : CABAC / 1 Ref Frames
    Format settings, CABAC                   : Yes
    Format settings, Reference frames        : 1 frame
    Format settings, GOP                     : M=1, N=30
    Codec ID                                 : avc1
    Codec ID/Info                            : Advanced Video Coding
    Duration                                 : 10 min 26 s
    Bit rate                                 : 47.9 Mb/s
    Width                                    : 3 840 pixels
    Height                                   : 1 080 pixels
    Display aspect ratio                     : 16:9
    Original display aspect ratio            : 3.556
    Frame rate mode                          : Variable
    Frame rate                               : 60.000 FPS
    Minimum frame rate                       : 59.840 FPS
    Maximum frame rate                       : 60.160 FPS
    Color space                              : YUV
    Chroma subsampling                       : 4:2:0
    Bit depth                                : 8 bits
    Scan type                                : Progressive
    Bits/(Pixel*Frame)                       : 0.192
    Stream size                              : 3.49 GiB (99%)
    Title                                    : SStar Video
    Codec configuration box                  : avcC
    
    Audio
    ID                                       : 2
    Format                                   : AAC LC
    Format/Info                              : Advanced Audio Codec Low Complexity
    Codec ID                                 : mp4a-40-2
    Duration                                 : 10 min 26 s
    Bit rate mode                            : Constant
    Bit rate                                 : 140 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                              : 10.4 MiB (0%)
    Title                                    : SStar Audio
    Default                                  : Yes
    Alternate group                          : 1
    Code:
    General
    Complete name                            : [begins the same]_02.mp4
    Format                                   : MPEG-4
    Format profile                           : Base Media
    Codec ID                                 : isom (isom/iso2/avc1/mp41)
    File size                                : 1.61 GiB
    Duration                                 : 4 min 46 s
    Overall bit rate                         : 48.3 Mb/s
    Writing application                      : Lavf58.20.100
    
    Video
    ID                                       : 1
    Format                                   : AVC
    Format/Info                              : Advanced Video Codec
    Format profile                           : High@L5.1
    Format settings                          : CABAC / 1 Ref Frames
    Format settings, CABAC                   : Yes
    Format settings, Reference frames        : 1 frame
    Format settings, GOP                     : M=1, N=30
    Codec ID                                 : avc1
    Codec ID/Info                            : Advanced Video Coding
    Duration                                 : 4 min 46 s
    Bit rate                                 : 48.0 Mb/s
    Width                                    : 3 840 pixels
    Height                                   : 1 080 pixels
    Display aspect ratio                     : 16:9
    Original display aspect ratio            : 3.556
    Frame rate mode                          : Variable
    Frame rate                               : 60.000 FPS
    Minimum frame rate                       : 59.880 FPS
    Maximum frame rate                       : 60.120 FPS
    Color space                              : YUV
    Chroma subsampling                       : 4:2:0
    Bit depth                                : 8 bits
    Scan type                                : Progressive
    Bits/(Pixel*Frame)                       : 0.193
    Stream size                              : 1.60 GiB (99%)
    Title                                    : SStar Video
    Codec configuration box                  : avcC
    
    Audio
    ID                                       : 2
    Format                                   : AAC LC
    Format/Info                              : Advanced Audio Codec Low Complexity
    Codec ID                                 : mp4a-40-2
    Duration                                 : 4 min 46 s
    Bit rate mode                            : Constant
    Bit rate                                 : 140 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                              : 4.77 MiB (0%)
    Title                                    : SStar Audio
    Default                                  : Yes
    Alternate group                          : 1
    Update 1

    The initial title was "Append continuations of the same configuration with little processing?" and I changed it to "Append continuations of the same configuration + volume change?" as I'm about to explain in my 2nd post in this thread.
    Last edited by DynVec; 1st Aug 2022 at 23:06. Reason: Title change + explanation.
    Quote Quote  
  2. Member
    Join Date
    Feb 2013
    Location
    Montreal, Canada
    Search Comp PM
    I did
    ffmpeg.exe -f concat -i Bernie_Gurberg_interview_at_Dollar_Cinéma-220725.txt -c copy Bernie_Gurberg_interview_at_Dollar_Cinéma-220725.mp4
    and it came out pretty much as I imagined.

    However when I created this thread I didn't have in mind that I was watching the originals with the player software volume at 200%. So I need to do the increase the audio accordingly as many users wouldn't be able to properly hear the video on Youtube and the like. I then tried
    ffmpeg.exe -f concat -i Bernie_Gurberg_interview_at_Dollar_Cinéma-220725.txt -filter:a "volume=2" -c copy Bernie_Gurberg_interview_at_Dollar_Cinéma-220725-volume_2X.mp4
    but the process was much quicker and displayed in red
    Filtergraph 'volume=2' was defined for audio output stream 0:1 but codec copy was selected.
    Filtering and streamcopy cannot be used together.
    as well as not creating the output file.

    Is there a way for the video to do the same as the original command, but tweak the command so only the audio will change? From what I'm looking to do, if I extracted audio & video, both video would be the same, and the 2 audios would be different (from one another).

    Thank you kindly
    Last edited by DynVec; 1st Aug 2022 at 23:27.
    Quote Quote  
  3. I haven't worked much with concat but this should work. -c:v copy

    Code:
    ffmpeg.exe -i input.mp4 -filter:a "volume=2" -c:v copy output.mp4
    Code:
    ffmpeg.exe -f concat -i Bernie_Gurberg_interview_at_Dollar_Cinéma-220725.txt -filter:a "volume=2" -c:v copy Bernie_Gurberg_interview_at_Dollar_Cinéma-220725-volume_2X.mp4
    This worked for my test .mp4 but I was not using concat.
    Last edited by cholla; 2nd Aug 2022 at 12:36.
    Quote Quote  
  4. Member
    Join Date
    Feb 2013
    Location
    Montreal, Canada
    Search Comp PM
    I can't guarantee the video for both version are the same but it very much look like it. I ended up doing a 3X volume afterward as 2X was still too soft. Here's the comparison of both outputs:
    Image
    [Attachment 66196 - Click to enlarge]

    Thanks again
    Quote Quote  
  5. The videos look the same to me.
    Glad it worked with concat.
    I need to play around with concat some to learn it better.
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!