VideoHelp Forum

Try DVDFab Video Downloader and rip Netflix video! Or Try DVDFab and copy Blu-rays! or rip iTunes movies!
+ Reply to Thread
Results 1 to 5 of 5
  1. I'm trying to join together four Y4M files.

    I tried using both of the ffmpeg methods on this page:

    Both times, I get this error:

    [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
    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.

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

Similar Threads