VideoHelp Forum

Try DVDFab and copy Ultra HD Blu-rays and DVDs! Or rip iTunes movies and music! Download free trial !
+ Reply to Thread
Results 1 to 5 of 5
Thread
  1. I'm trying to join together four Y4M files.

    I tried using both of the ffmpeg methods on this page:
    http://trac.ffmpeg.org/wiki/Concatenate

    Both times, I get this error:

    Code:
    [yuv4mpegpipe @ 0x7fce28809400] ERROR: Codec not supported.
    Could not write header for output file #0 (incorrect codec parameters ?): Invalid data found when processing input
    How can I join them using my Mac please? Thanks in advance.
    Quote Quote  
  2. Using "cat" to crudely join the files doesn't work either. Only the first clip plays.
    Quote Quote  
  3. I figured it out:

    - First I converted all the files to raw YUV
    - then I did a crude concatenation ('cat')
    - then I ffmpeg converted the ouput yuv file back to y4m
    Quote Quote  
  4. Member
    Join Date
    Aug 2013
    Location
    Central Germany
    Search PM
    A full command line example of your first try would have been useful. I guess explicitly stating formats (yuv4mpegpipe) may have helped. But the position of parameters is important.

    PS: Tested and failed as well, so far...

    Solution: omit the "-c copy"; concatenating raw formats does not need codec actions to be specified, they are not supported for such formats.

    Code:
    ffmpeg -f concat -i list.txt -f yuv4mpegpipe out.y4m
    Thanks to JEEB on IRC
    Last edited by LigH.de; 20th Nov 2020 at 02:43.
    Quote Quote  
  5. Thanks. I'll try that next time.
    Quote Quote  



Similar Threads