VideoHelp Forum




+ Reply to Thread
Results 1 to 2 of 2
  1. hi all,

    I'm having problems trimming an mp4 file generated by OBS (a Twitch.tv streaming system) using ffmpeg or avidemux. With ffmpeg I issue the following command

    Code:
    ffmpeg --ss 00:29:00 -i input.mp4 -ss 00:30:00 -c copy -copyts -t 60 trimmed.mp4
    this does a fast search to 29mins then a slow/accurate search to 30mins and copys the audio/video using the same codec and syncs the time information (stops the output from jittering when using a VBR input file)

    I can watch the output file in WMP but Quicktime plays it with a white screen plus sound and when I import the file into Premier CS I just get a green screen plus audio. I've tried other mp4's from other systems (e.g. my video camera) and I can trim them no problem with avidmux or ffmpeg, so why cant I do the same with the OBS mp4 files? The same un-trimmed file can be imported into Premier CS with no issues but Quicktime plays it with a black screen and audio only.

    I'm starting to think its my codec's that are fubar but I would welcome any professional advice please.

    I've attached the mediainfo files for both input and trimmed files. If you want to download an example of the original and trimmed files, you can download from here :-

    https://www.dropbox.com/s/a86p7q8b9k3iv85/original.mp4?dl=0
    https://www.dropbox.com/s/jpze2n0qh0jm46a/trimmed.mp4?dl=0
    Image Attached Files
    Quote Quote  
  2. I'm a MEGA Super Moderator Baldrick's Avatar
    Join Date
    Aug 2000
    Location
    Sweden
    Search Comp PM
    Tried remux the output? With for example mp4box.

    Maybe the variable framerate causing some problems.
    Quote Quote  
Visit our sponsor! Try DVDFab and backup Blu-rays!