VideoHelp Forum
+ Reply to Thread
Results 1 to 13 of 13
Thread
  1. (I noticed I originally posted this in the wrong forum, so after deleting the original post, I'm reposting my query here)

    I've run into this problem with a few versions of ffmpegx and given up on them before, but I just thought I'd ask here for the record:

    Occasionally (and less often with 0.0.9x) when I'm converting .AVI or .VOB files to something else (it doesn't seem to matter which format), ffmpegx cops out and creates a file that is 0kb immediately at the start of encoding. Is there a fix for this? Am I just missing something that would fix this problem?

    I don't think it would be my setup, as this has happened with different versions of the app on different computers (both intel and ppc).

    Thanks for any help problem-solving!
    Thanks.
    Quote Quote  
  2. Explorer Case's Avatar
    Join Date
    Feb 2004
    Location
    Middle Earth
    Search Comp PM
    The Log may hold clues to why a conversion failed. You may access the Log by clicking the blue "i" in the ffmpegX Progress window.
    Based on any error found in there, fellow users may be able to suggest a fix.
    Quote Quote  
  3. Ah, ok - I was unaware of this function. I'll try it again and post what I come up with. Thanks a lot for your help!
    Thanks.
    Quote Quote  
  4. Member fernblatt's Avatar
    Join Date
    Sep 2007
    Location
    United States
    Search Comp PM
    I have a similar problem, but the progress window indicates it's been converted. Now I know where to look. With me it happens nearly *every* time I convert to a .mov file.


    Thanks
    Quote Quote  
  5. Explorer Case's Avatar
    Join Date
    Feb 2004
    Location
    Middle Earth
    Search Comp PM
    Originally Posted by fernblatt
    the progress window indicates it's been converted.
    But what does the Log ("Process Information" window) say?
    Quote Quote  
  6. Member
    Join Date
    Oct 2007
    Location
    Sweden
    Search Comp PM
    Originally Posted by Case
    Originally Posted by fernblatt
    the progress window indicates it's been converted.
    But what does the Log ("Process Information" window) say?
    I have the same problem, and what it says is the following:

    "Encoding started on Tue Oct 23 16:20:43 CEST 2007
    FFmpeg version CVS, Copyright (c) 2000-2004 Fabrice Bellard
    Mac OSX universal build for ffmpegX
    libavutil version: 49.0.0
    libavcodec version: 51.9.0
    libavformat version: 50.4.0
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x4701fc]negative ctts, ignoring
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/Users/danieldaboczy/Desktop/Fargfabriken.tv/Playing the Building.mov':
    Duration: 00:09:47.3, start: 0.000000, bitrate: 24422 kb/s
    Stream #0.0(eng): Audio: pcm_s16be, 48000 Hz, stereo, 1536 kb/s
    Stream #0.1(eng), 25.00 fps(r): Video: h264, yuv420p, 720x576
    Codec type mismatch for mapping #0.0 -> #0.0"

    The thing is that I could encode without probelm before....And now it just doesn't work.
    please help me
    Quote Quote  
  7. Explorer Case's Avatar
    Join Date
    Feb 2004
    Location
    Middle Earth
    Search Comp PM
    Your source file has the audio stream (#0.0) mapped before the video stream (#0.1). This is reverse from what the ffmpeg engine expects. You may fix this "Codec type mismatch for mapping"-error by indicating that the streams are reversed. To do so, check the "Invert mapping" checkbox in the audio tab.
    Quote Quote  
  8. Member
    Join Date
    Jun 2008
    Location
    United States
    Search Comp PM
    Thanks for the answer - totally fixed my problem.
    Quote Quote  
  9. Member
    Join Date
    Jul 2009
    Location
    Canada
    Search Comp PM
    I also have creating zeroK file problem when trying to convert mov file to flv.

    Here is the log. Any suggestion will be appreceiated.

    FFmpeg version CVS, Copyright (c) 2000-2004 Fabrice Bellard
    Mac OSX universal build for ffmpegX
    libavutil version: 49.0.0
    libavcodec version: 51.9.0
    libavformat version: 50.4.0
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x5597b8]negative ctts, ignoring
    Tue Jul 28 18:20:12 EDT 2009
    that stream 1 comes from film source: 2997.00 (2997/1) -> 29.97 (30000/1001)
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/Volumes/LaCie160-2/STABIAE/DemoOUTPUT/Stabiae_Demo99.mov':
    Duration: 00:10:58.3, start: 0.000000, bitrate: 1261 kb/s
    Stream #0.0(eng): Audio: aac, 48000 Hz, stereo
    Stream #0.1(eng), 29.97 fps(r): Video: h264, yuv420p, 640x480
    Codec type mismatch for mapping #0.0 -> #0.0
    Quote Quote  
  10. VH Wanderer Ai Haibara's Avatar
    Join Date
    Jan 2006
    Location
    Somewhere on VideoHelp...
    Search Comp PM
    Have you tried the solution Case mentioned, above?

    Your source file has the audio stream (#0.0) mapped before the video stream (#0.1). This is reverse from what the ffmpeg engine expects. You may fix this "Codec type mismatch for mapping"-error by indicating that the streams are reversed. To do so, check the "Invert mapping" checkbox in the audio tab.
    If cameras add ten pounds, why would people want to eat them?
    Quote Quote  
  11. Member
    Join Date
    Dec 2009
    Location
    Brazil
    Search Comp PM
    I have a similar problem when i try to convert an avi file (+subs in .srt format) to dvdffmpeg preset: the progress window indicates it's been converted and the only file created is a .mpv file with okb.

    here's my log:

    Encoding started on Sun Dec 27 17:32:43 BRST 2009
    movtoy4m
    Copyright 2002-2006 Johan Lindström
    All rights reserved..
    Input #0, yuv4mpegpipe, from 'pipe:':
    Duration: N/A, bitrate: N/A
    Stream #0.0: Video: rawvideo, yuv420p, 720x480, 23.98 fps
    Output #0, rawvideo, to '/Users/renato/Desktop/VD_s1_e1.avi.ff.mpv':
    Stream #0.0: Video: mpeg2video, 720x480, 23.98 fps, q=2-20, 4000 kb/s
    Stream mapping:
    Stream #0.0 -> #0.0
    [mpeg2video @ 0x381324]qpel not supported by codec
    Error while opening codec for stream #0.0 - maybe incorrect parameters such as bit_rate, rate, width or height


    Thanks
    Quote Quote  
  12. Explorer Case's Avatar
    Join Date
    Feb 2004
    Location
    Middle Earth
    Search Comp PM
    Originally Posted by roover
    avi + srt to dvd ffmpeg

    [mpeg2video @ 0x381324]qpel not supported by codec
    Error while opening codec for stream #0.0 - maybe incorrect parameters such as bit_rate, rate, width or height
    Try turning off Quarter pixel ME (qpel) in the Options tab. Qpel is not supported in MPEG-2 video.

    Originally Posted by roover
    dvd ffmpeg preset
    Output ... 23.98 fps
    A DVD with a framerate of 23.976 fps (aka NTSC FILM) should have a so-called "3:2 pulldown" flag set. The DVD ffmpeg preset does not automatically add this pulldown. You would have to manually add the pulldown to the .mpv video stream before muxing and authoring, using the Pull tool in ffmpegX. Possible, but not so easy.

    Perhaps it is easier to use the DVD mpeg2enc preset, which does allow adding a 3:2 pulldown during conversion, by checking "Set 3:2" in the Options tab.
    Quote Quote  
  13. Member
    Join Date
    Dec 2009
    Location
    Brazil
    Search Comp PM
    Case wrote:
    Try turning off Quarter pixel ME (qpel) in the Options tab. Qpel is not supported in MPEG-2 video.

    Yeah! the conversion its running ok now!
    Thanks Case!
    Quote Quote  



Similar Threads

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