VideoHelp Forum
+ Reply to Thread
Results 1 to 13 of 13
Thread
  1. Hello,

    Kindly suggest which program Avidemux or Vlc, to use to convert .ts files to mp4 that will maintain the quality.

    Thank you in advance.
    Quote Quote  
  2. If the video/audio codecs are mp4 container compatible, then you can simply remux to mp4.
    No recoding occours, no quality loss. Avidemux can do it.
    Quote Quote  
  3. Originally Posted by ProWo View Post
    If the video/audio codecs are mp4 container compatible, then you can simply remux to mp4.
    No recoding occours, no quality loss. Avidemux can do it.
    Thank you for addressing my query..

    Here is the Media Info.. Can you please suggest me if I should use Avidemux..


    Code:
    ID                                       : 1 (0x1)
    Complete name                            : D:\Xilli\Holidays.ts
    Format                                   : MPEG-TS
    File size                                : 5.10 GiB
    Duration                                 : 2 h 54 min
    Overall bit rate mode                    : Variable
    Overall bit rate                         : 4 182 kb/s
    Frame rate                               : 25.000 FPS
    
    Video
    ID                                       : 256 (0x100)
    Menu ID                                  : 1 (0x1)
    Format                                   : AVC
    Format/Info                              : Advanced Video Codec
    Format profile                           : High@L4.1
    Format settings                          : CABAC / 2 Ref Frames
    Format settings, CABAC                   : Yes
    Format settings, Reference frames        : 2 frames
    Codec ID                                 : 27
    Duration                                 : 2 h 54 min
    Bit rate mode                            : Constant
    Nominal bit rate                         : 4 000 kb/s
    Width                                    : 1 920 pixels
    Height                                   : 1 080 pixels
    Display aspect ratio                     : 16:9
    Frame rate                               : 25.000 FPS
    Color space                              : YUV
    Chroma subsampling                       : 4:2:0
    Bit depth                                : 8 bits
    Scan type                                : Progressive
    Bits/(Pixel*Frame)                       : 0.077
    Writing library                          : x264 core 155
    Encoding settings                        : cabac=1 / ref=2 / deblock=1:-1:-1 / analyse=0x3:0x133 / me=umh / subme=9 / psy=1 / psy_rd=1.00:0.15 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-3 / threads=4 / lookahead_threads=1 / sliced_threads=0 / slices=1 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / stitchable=1 / constrained_intra=0 / bframes=3 / b_pyramid=0 / b_adapt=2 / b_bias=0 / direct=3 / weightb=0 / open_gop=0 / weightp=1 / keyint=50 / keyint_min=1 / scenecut=0 / intra_refresh=0 / rc_lookahead=50 / rc=cbr / mbtree=1 / bitrate=4000 / ratetol=1.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / vbv_maxrate=4000 / vbv_bufsize=4050 / nal_hrd=cbr / filler=1 / ip_ratio=1.40 / aq=3:1.00
    
    Audio
    ID                                       : 257 (0x101)
    Menu ID                                  : 1 (0x1)
    Format                                   : AAC LC
    Format/Info                              : Advanced Audio Codec Low Complexity
    Format version                           : Version 4
    Muxing mode                              : ADTS
    Codec ID                                 : 15-2
    Duration                                 : 2 h 54 min
    Bit rate mode                            : Variable
    Channel(s)                               : 2 channels
    Channel layout                           : L R
    Sampling rate                            : 48.0 kHz
    Frame rate                               : 46.875 FPS (1024 SPF)
    Compression mode                         : Lossy
    Delay relative to video                  : -40 ms
    Thank you
    Quote Quote  
  4. Member
    Join Date
    May 2005
    Location
    Australia-PAL Land
    Search Comp PM
    Use AVIDemux. Follow this procedure on my website.
    Quote Quote  
  5. To make it easy, you can also use clever FFmpeg-GUI.
    Load your ts, click main, click multiplex, set mp4 as container and click multiplex.
    Done

    There is an automatic compatibility check for the involved codecs.
    Quote Quote  
  6. Originally Posted by Alwyn View Post
    Use AVIDemux. Follow this procedure on my website.
    Thank you... I converted the file to mp4..

    Here is the Media Info.. Does everything look ok?

    Code:
    General
    Complete name                            : D:\Yumm\Holidays.mp4
    Format                                   : MPEG-4
    Format profile                           : Base Media
    Codec ID                                 : isom (isom/iso2/avc1/mp41)
    File size                                : 4.92 GiB
    Duration                                 : 2 h 54 min
    Overall bit rate mode                    : Variable
    Overall bit rate                         : 4 033 kb/s
    Frame rate                               : 25.000 FPS
    Writing application                      : Lavf58.76.100
    
    Video
    ID                                       : 1
    Format                                   : AVC
    Format/Info                              : Advanced Video Codec
    Format profile                           : High@L4.1
    Format settings                          : CABAC / 2 Ref Frames
    Format settings, CABAC                   : Yes
    Format settings, Reference frames        : 2 frames
    Codec ID                                 : avc1
    Codec ID/Info                            : Advanced Video Coding
    Duration                                 : 2 h 54 min
    Source duration                          : 2 h 54 min
    Bit rate mode                            : Constant
    Bit rate                                 : 3 965 kb/s
    Width                                    : 1 920 pixels
    Height                                   : 1 080 pixels
    Display aspect ratio                     : 16:9
    Frame rate mode                          : Constant
    Frame rate                               : 25.000 FPS
    Color space                              : YUV
    Chroma subsampling                       : 4:2:0
    Bit depth                                : 8 bits
    Scan type                                : Progressive
    Bits/(Pixel*Frame)                       : 0.076
    Stream size                              : 4.84 GiB (98%)
    Source stream size                       : 4.84 GiB (98%)
    Writing library                          : x264 core 155
    Encoding settings                        : cabac=1 / ref=2 / deblock=1:-1:-1 / analyse=0x3:0x133 / me=umh / subme=9 / psy=1 / psy_rd=1.00:0.15 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-3 / threads=4 / lookahead_threads=1 / sliced_threads=0 / slices=1 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / stitchable=1 / constrained_intra=0 / bframes=3 / b_pyramid=0 / b_adapt=2 / b_bias=0 / direct=3 / weightb=0 / open_gop=0 / weightp=1 / keyint=50 / keyint_min=1 / scenecut=0 / intra_refresh=0 / rc_lookahead=50 / rc=cbr / mbtree=1 / bitrate=4000 / ratetol=1.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / vbv_maxrate=4000 / vbv_bufsize=4050 / nal_hrd=cbr / filler=1 / ip_ratio=1.40 / aq=3:1.00
    mdhd_Duration                            : 10476200
    Codec configuration box                  : avcC
    
    Audio
    ID                                       : 2
    Format                                   : AAC LC
    Format/Info                              : Advanced Audio Codec Low Complexity
    Codec ID                                 : mp4a-40-2
    Duration                                 : 2 h 54 min
    Bit rate mode                            : Variable
    Bit rate                                 : 60.6 kb/s
    Maximum bit rate                         : 128 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                              : 75.7 MiB (2%)
    Default                                  : Yes
    Alternate group                          : 1
    Thank you.
    Quote Quote  
  7. Originally Posted by ProWo View Post
    To make it easy, you can also use clever FFmpeg-GUI.
    Load your ts, click main, click multiplex, set mp4 as container and click multiplex.
    Done

    There is an automatic compatibility check for the involved codecs.
    Thank you.. I did give clever ffmpeg a try. Its a good tool. I need to convert 100 videos with each video having an approximate length of 2hrs. So, I thought to ask about Avidemux to save time.

    Here is the Media Info of Mp4 file after using clever ffmpeg

    Code:
    General
    Complete name                            : D:\Completed\Holidays_muxed.mp4
    Format                                   : MPEG-4
    Format profile                           : Base Media
    Codec ID                                 : isom (isom/iso2/avc1/mp41)
    File size                                : 4.62 GiB
    Duration                                 : 2 h 54 min
    Overall bit rate mode                    : Variable
    Overall bit rate                         : 3 785 kb/s
    Frame rate                               : 25.000 FPS
    Writing application                      : clever FFmpeg-GUI
    
    Video
    ID                                       : 1
    Format                                   : AVC
    Format/Info                              : Advanced Video Codec
    Format profile                           : High@L4
    Format settings                          : CABAC / 4 Ref Frames
    Format settings, CABAC                   : Yes
    Format settings, Reference frames        : 4 frames
    Codec ID                                 : avc1
    Codec ID/Info                            : Advanced Video Coding
    Duration                                 : 2 h 54 min
    Bit rate                                 : 3 716 kb/s
    Width                                    : 1 920 pixels
    Height                                   : 1 080 pixels
    Display aspect ratio                     : 16:9
    Frame rate mode                          : Constant
    Frame rate                               : 25.000 FPS
    Color space                              : YUV
    Chroma subsampling                       : 4:2:0
    Bit depth                                : 8 bits
    Scan type                                : Progressive
    Bits/(Pixel*Frame)                       : 0.072
    Stream size                              : 4.53 GiB (98%)
    Writing library                          : x264 core 164 r3191 4613ac3
    Encoding settings                        : cabac=1 / ref=3 / deblock=1:0:0 / analyse=0x3:0x113 / me=hex / subme=7 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=12 / lookahead_threads=2 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=25 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=crf / mbtree=1 / crf=23.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00
    Codec configuration box                  : avcC
    
    Audio
    ID                                       : 2
    Format                                   : AAC LC
    Format/Info                              : Advanced Audio Codec Low Complexity
    Codec ID                                 : mp4a-40-2
    Duration                                 : 2 h 54 min
    Source duration                          : 2 h 54 min
    Bit rate mode                            : Variable
    Bit rate                                 : 60.6 kb/s
    Maximum bit rate                         : 63.2 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                              : 75.7 MiB (2%)
    Source stream size                       : 75.7 MiB (2%)
    Default                                  : Yes
    Alternate group                          : 1
    Thank you.
    Quote Quote  
  8. Member
    Join Date
    May 2005
    Location
    Australia-PAL Land
    Search Comp PM
    I need to convert 100 videos with each video having an approximate length of 2hrs.
    In that case, AVIDemux isn't the one. It can't easily do batching. But that file looks OK, although the bitrate is different to both the original and @ProWos (Clever FFMPEG). Did it process fairly quickly?

    I'm pretty sure FFMPEG can be set up to do batch processing without recoding; @ProWo will know.
    Quote Quote  
  9. Originally Posted by Alwyn View Post
    I need to convert 100 videos with each video having an approximate length of 2hrs.
    In that case, AVIDemux isn't the one. It can't easily do batching. But that file looks OK, although the bitrate is different to both the original and @ProWos (Clever FFMPEG). Did it process fairly quickly?

    I'm pretty sure FFMPEG can be set up to do batch processing without recoding; @ProWo will know.
    For a 2hr video file, avidemux is taking me 2-3 Mins to convert one and Clever FFMPEG, is taking 2hrs to get one conversion done.

    I am ok with manual conversion.

    Should I opt for avidemux ?

    Thank you.
    Quote Quote  
  10. Originally Posted by Jacobs View Post
    For a 2hr video file, avidemux is taking me 2-3 Mins to convert one and Clever FFMPEG, is taking 2hrs to get one conversion done.
    Then you have recoded the video, not remuxed it.
    As already mentioned above, load your ts video, click main, click multiplex, select mp4 as container and click multiplex at the bottom left.
    After a few seconds this should be done.
    Quote Quote  
  11. Originally Posted by Alwyn View Post
    I'm pretty sure FFMPEG can be set up to do batch processing without recoding; @ProWo will know.
    Batch processing isn't implemented yet in my GUI.
    Quote Quote  
  12. Member
    Join Date
    May 2005
    Location
    Australia-PAL Land
    Search Comp PM
    For a 2hr video file, avidemux is taking me 2-3 Mins to convert one and Clever FFMPEG, is taking 2hrs to get one conversion done.
    I think then that Clever is recoding/rendering it whereas AVIDemux isn't.

    Should I opt for avidemux ?
    It's doing the job, it's just that it'll require 100 setups. I suggest you wait to hear from the FFMPEG experts about smart rendering in batch. I believe AVIDemux is using FFMPEG under the hood so FFMPEG must do smart-rendering; it's just that AVIDemux won't batch-process using the GUI.

    Depending on your coding ability, I did find these ideas on the web:

    https://www.gaelanlloyd.com/blog/batch-processing-video-files-with-avidemux/

    https://www.reddit.com/r/Avidemux/comments/10eof7b/batchbulk_convert/
    Quote Quote  



Similar Threads

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