VideoHelp Forum
+ Reply to Thread
Results 1 to 16 of 16
Thread
  1. Member
    Join Date
    Jul 2007
    Location
    United Kingdom
    Search Comp PM
    Why does it tell me that the file has been created but when I check the file - it's zero KB in size?

    I'm trying to create FLV files, but I have also tried to convert to other file types - but it always creates an empty file? It creates the file in about 1 second?

    Can anyone help me with this???


    Sonic
    Quote Quote  
  2. Explorer Case's Avatar
    Join Date
    Feb 2004
    Location
    Middle Earth
    Search Comp PM
    The encoding failed. Please post the log to let us help you find out what went wrong and how to fix that.
    Quote Quote  
  3. Member
    Join Date
    Jul 2007
    Location
    United Kingdom
    Search Comp PM
    Here's the log...

    FFmpeg version CVS, Copyright (c) 2000-2004 Fabrice Bellard
    Tue Jul 3 17:57:50 BST 2007
    Mac OSX universal build for ffmpegX
    libavutil version: 49.0.0
    libavcodec version: 51.9.0
    libavformat version: 50.4.0
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/Users/sonic/Desktop/panto.mov':
    Duration: 00:02:26.6, start: 0.000000, bitrate: 837 kb/s
    Stream #0.0(eng): Audio: adpcm_ima_qt, 44100 Hz, stereo
    Stream #0.1(eng), 14.98 fps(r): Video: h263, yuv420p, 320x230
    Codec type mismatch for mapping #0.0 -> #0.0
    Quote Quote  
  4. Explorer Case's Avatar
    Join Date
    Feb 2004
    Location
    Middle Earth
    Search Comp PM
    Originally Posted by aquasonic
    Stream #0.0: Audio
    Stream #0.1: Video
    Codec type mismatch for mapping #0.0 -> #0.0
    Audio is listed before video, which is inverted from what the encoding engine wants. Check the Invert mapping checkbox in the Audio tab to tell ffmpegX how to deal with that. Then try encoding again. That should fix things.
    Quote Quote  
  5. Member
    Join Date
    Jul 2007
    Location
    United Kingdom
    Search Comp PM
    Sorted!

    Thanks
    Quote Quote  
  6. Member
    Join Date
    Jul 2007
    Location
    United States
    Search Comp PM
    a similar thing happened to me while converting flv to mp4. here's the log:

    FFmpeg version CVS, Copyright (c) 2000-2004 Fabrice Bellard
    Fri Jul 6 08:34:52 CDT 2007
    Mac OSX universal build for ffmpegX
    libavutil version: 49.0.0
    libavcodec version: 51.9.0
    libavformat version: 50.4.0
    Seems that stream 1 comes from film source: 1000.00 (1000/1) -> 30.00 (30/1)
    Input #0, flv, from '/Users/alexsemaca/Desktop/dunk.flv':
    Duration: 00:00:08.3, bitrate: N/A
    Stream #0.0: Audio: mp3, 22050 Hz, mono
    Stream #0.1, 30.00 fps(r): Video: flv, yuv420p, 320x240
    Codec type mismatch for mapping #0.0 -> #0.0
    Quote Quote  
  7. Explorer Case's Avatar
    Join Date
    Feb 2004
    Location
    Middle Earth
    Search Comp PM
    Originally Posted by 13joakimnoah
    a similar thing happened to me while converting flv to mp4.
    Codec type mismatch for mapping #0.0 -> #0.0
    So much similar, that the same fix should be applied.
    Quote Quote  
  8. Member
    Join Date
    Sep 2007
    Location
    United States
    Search Comp PM
    I am having the same problem and tried with and without the Invert Mapping checked with the same results, my file is converted in a about a second and the file size is 0k.
    Any suggestions to this dilemna?

    Here is the log:
    FFmpeg version CVS, Copyright (c) 2000-2004 Fabrice Bellard
    Mac OSX universal build for ffmpegX
    Mon Sep 3 14:32:54 EDT 2007
    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
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/Users/brennan/Desktop/GroundControls_Part1.mov':
    Duration: 00:03:32.8, start: 0.000000, bitrate: 252 kb/s
    Stream #0.0(eng): Audio: aac, 44100 Hz, stereo
    Stream #0.1(eng): Audio: aac, 44100 Hz, stereo
    Stream #0.2(eng), 15.00 fps(r): Video: h264, yuv420p, 832x464
    Codec type mismatch for mapping #0.0 -> #0.0


    OR

    FFmpeg version CVS, Copyright (c) 2000-2004 Fabrice Bellard
    Mac OSX universal build for ffmpegX
    libavutil version: 49.0.0
    Mon Sep 3 14:44:09 EDT 2007
    libavcodec version: 51.9.0
    libavformat version: 50.4.0
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x5597b8]negative ctts, ignoring
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/Users/brennan/Desktop/Part1.mov':
    Duration: 00:03:32.8, start: 0.000000, bitrate: 252 kb/s
    Stream #0.0(eng): Audio: aac, 44100 Hz, stereo
    Stream #0.1(eng): Audio: aac, 44100 Hz, stereo
    Stream #0.2(eng), 15.00 fps(r): Video: h264, yuv420p, 832x464
    Codec type mismatch for mapping #0.1 -> #0.0
    Quote Quote  
  9. Explorer Case's Avatar
    Join Date
    Feb 2004
    Location
    Middle Earth
    Search Comp PM
    Originally Posted by bsmity
    Input #0, mov:
    Stream #0.0(eng): Audio: aac, 44100 Hz, stereo
    Stream #0.1(eng): Audio: aac, 44100 Hz, stereo
    Stream #0.2(eng), 15.00 fps(r): Video: h264, yuv420p, 832x464
    Codec type mismatch for mapping #0.1 -> #0.0
    The double audio stream is causing trouble here. If you have QuickTime Pro, then try deleting one audio stream, save as a new copy, then convert.
    Quote Quote  
  10. Member
    Join Date
    Sep 2007
    Location
    Bozeman MT
    Search Comp PM
    Not sure why I am unable to access the video file, I have changed it from the long name to a shorter name just in case. I still am unable to create my file for my ipod.


    Encoding started on Tue Sep 4 17:04:23 MDT 2007
    x264 [info]: using SAR=1000/1001
    x264 [info]: using cpu capabilities MMX MMXEXT SSE SSE2
    mp4 [info]: initial delay 0 (scale 24000)
    movtoy4m
    Copyright 2002-2006 Johan Lindström
    All rights reserved..
    ERROR: Could not open movie: /Users/auiotour/Movies/300 Title 1 (Ch1 - Ch30)/300.m2v
    Encoding audio..
    x264 [info]: final ratefactor: 52.05
    usage: movtoway -o output.wav movie.mov
    I have other files working just fine, I copied all my music videos over to my ipod just fine. but sitll no 300.
    Quote Quote  
  11. Member
    Join Date
    Sep 2007
    Location
    United States
    Search Comp PM
    Ok I had the same problem as the first post and I followed the instruction to select "invert mapping" in the audio tab. Doing so created a flash movie rather than an empty file but it plays back at about 2 frames per second no matter how the video settings are set. I took the exact same file and reversed the order of the audio and video tracks in Quicktime pro by extracting, deleting and then pasting the extracted audio back. I then deselected the "invert mapping" button and it made a movie that played just fine.

    Is there an error with the "invert mapping" function that is leading to this? I was going from MPEG 4 to FLV and reducing the size from 640X480 to 320X240 and the frame rate to 15 Fps from 30.

    Here is what the Bad encode log looked like:
    Encoding started on Thu Sep 6 14:28:17 MST 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
    Seems that stream 1 comes from film source: 1000.00 (1000/1) -> 29.97 (30000/1001)
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/Volumes/Media Drive 3/001 No Spirit Left Behind/Masters/Sequence 11 a.mov':
    Duration: 00:00:28.3, start: 0.000000, bitrate: 7860 kb/s
    Stream #0.0(eng): Audio: pcm_s16be, 44100 Hz, stereo, 1411 kb/s
    Stream #0.1(eng), 29.97 fps(r): Video: mpeg4, yuv420p, 640x480
    Output #0, flv, to '/Volumes/Media Drive 3/001 No Spirit Left Behind/Masters/Sequence 11.flv':
    Stream #0.0, 15.00 fps(c): Video: flv, yuv420p, 320x240, q=2-15, pass 1, 300 kb/s
    Stream #0.1: Audio: mp3, 22050 Hz, stereo, 56 kb/s
    Stream mapping:
    Stream #0.1 -> #0.0 [sync #0.0]
    Stream #0.0 -> #0.1 [sync #0.1]
    video:249kB audio:194kB global headers:0kB muxing overhead 76.931297%
    bench: utime=11.330s
    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
    Seems that stream 1 comes from film source: 1000.00 (1000/1) -> 29.97 (30000/1001)
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/Volumes/Media Drive 3/001 No Spirit Left Behind/Masters/Sequence 11 a.mov':
    Duration: 00:00:28.3, start: 0.000000, bitrate: 7860 kb/s
    Stream #0.0(eng): Audio: pcm_s16be, 44100 Hz, stereo, 1411 kb/s
    Stream #0.1(eng), 29.97 fps(r): Video: mpeg4, yuv420p, 640x480
    Output #0, flv, to '/Volumes/Media Drive 3/001 No Spirit Left Behind/Masters/Sequence 11.flv':
    Stream #0.0, 15.00 fps(c): Video: flv, yuv420p, 320x240, q=2-15, pass 2, 300 kb/s
    Stream #0.1: Audio: mp3, 22050 Hz, stereo, 56 kb/s
    Stream mapping:
    Stream #0.1 -> #0.0 [sync #0.0]
    Stream #0.0 -> #0.1 [sync #0.1]
    bench: utime=6.040s
    video:252kB audio:194kB global headers:0kB muxing overhead 75.996975%
    Encoding completed on Thu Sep 6 14:29:07 MST 2007
    This is what the good encode log said:

    Encoding started on Thu Sep 6 14:18:44 MST 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 '/Volumes/Media Drive 3/001 No Spirit Left Behind/Masters/Sequence 11.mov':
    Duration: 00:00:28.3, start: 0.000000, bitrate: 2870 kb/s
    Stream #0.0(eng), 29.97 fps(r): Video: h264, yuv420p, 640x480
    Stream #0.1(eng): Audio: pcm_s16be, 44100 Hz, stereo, 1411 kb/s
    Output #0, flv, to '/Volumes/Media Drive 3/001 No Spirit Left Behind/Masters/Sequence 11.mov.ff.flv':
    Stream #0.0, 12.00 fps(c): Video: flv, yuv420p, 384x288, q=2-15, pass 1, 300 kb/s
    Stream #0.1: Audio: mp3, 22050 Hz, stereo, 56 kb/s
    Stream mapping:
    Stream #0.0 -> #0.0
    Stream #0.1 -> #0.1
    video:1106kB audio:194kB global headers:0kB muxing overhead 1.719312%
    bench: utime=11.240s
    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 '/Volumes/Media Drive 3/001 No Spirit Left Behind/Masters/Sequence 11.mov':
    Duration: 00:00:28.3, start: 0.000000, bitrate: 2870 kb/s
    Stream #0.0(eng), 29.97 fps(r): Video: h264, yuv420p, 640x480
    Stream #0.1(eng): Audio: pcm_s16be, 44100 Hz, stereo, 1411 kb/s
    Output #0, flv, to '/Volumes/Media Drive 3/001 No Spirit Left Behind/Masters/Sequence 11.mov.ff.flv':
    Stream #0.0, 12.00 fps(c): Video: flv, yuv420p, 384x288, q=2-15, pass 2, 300 kb/s
    Stream #0.1: Audio: mp3, 22050 Hz, stereo, 56 kb/s
    Stream mapping:
    Stream #0.0 -> #0.0
    Stream #0.1 -> #0.1
    bench: utime=16.510s
    video:1041kB audio:194kB global headers:0kB muxing overhead 1.810359%
    Encoding completed on Thu Sep 6 14:19:48 MST 2007
    Quote Quote  
  12. Explorer Case's Avatar
    Join Date
    Feb 2004
    Location
    Middle Earth
    Search Comp PM
    Originally Posted by Plisko
    Is there an error with the "invert mapping" function that is leading to this?
    I don't think so: the stream mapping itself is working fine. There are some other odd thing here, tho'.

    Originally Posted by Plisko
    Bad encode:
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'Sequence 11 a.mov':
    Duration: 00:00:28.3, start: 0.000000, bitrate: 7860 kb/s
    Stream #0.1(eng), 29.97 fps(r): Video: mpeg4, yuv420p, 640x480
    Output #0, flv, to 'Sequence 11.flv':
    Stream #0.0, 15.00 fps(c): Video: flv, yuv420p, 320x240, q=2-15, pass 2, 300 kb/s
    video:252kB audio:194kB global headers:0kB muxing overhead 75.996975%
    Originally Posted by Plisko
    Good encode:
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'Sequence 11.mov':
    Duration: 00:00:28.3, start: 0.000000, bitrate: 2870 kb/s
    Stream #0.0(eng), 29.97 fps(r): Video: h264, yuv420p, 640x480
    Output #0, flv, to 'Sequence 11.mov.ff.flv':
    Stream #0.0, 12.00 fps(c): Video: flv, yuv420p, 384x288, q=2-15, pass 2, 300 kb/s
    video:1041kB audio:194kB global headers:0kB muxing overhead 1.810359%
    Your good encode has different source bitrate, different source video codec, different output framerate, different output video size. You changed more than the stream order, it looks like a re-encode, which makes comparison more difficult ("apples and oranges," as they say). That alone doesn't account for the 4x more video data, tho'. Quite odd.

    Try Decode with QT in the Option tab, to see if that helps getting better/smoother playing output.
    If route #1 (default settings) won't bring you desired results, then try route #2 (change some setting, like Decode with QT).
    Quote Quote  
  13. Member
    Join Date
    Sep 2007
    Location
    United States
    Search Comp PM
    Wow. . I tried to re-encode the same exact thing with the same settings as the other file to try repeating the error. I can't believe it was that far off. I may have accidentally used the wrong file or grabbed the wrong log. I'll see if I can repeat this again in the morning using the same exact file.
    Quote Quote  
  14. Member
    Join Date
    Sep 2007
    Location
    United States
    Search Comp PM
    I've tried the invert mapping solution above and no luck.. still zero K files. I'm trying to convert an MP4 to flv. Log below... The last line mentions a codec mismatch... any help would be greatly appreciated. Pixelgeeek

    FFmpeg version CVS, Copyright (c) 2000-2004 Fabrice Bellard
    Wed Sep 12 13:01:30 PDT 2007
    Mac OSX universal build for ffmpegX
    libavutil version: 49.0.0
    libavcodec version: 51.9.0
    libavformat version: 50.4.0
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/Users/admin/Desktop/iStock_000003717826Small We.mp4':
    Duration: 00:00:10.5, start: 0.000000, bitrate: 7706 kb/s
    Stream #0.0(eng): Audio: aac, 44100 Hz, stereo
    Stream #0.1(eng), 29.97 fps(r): Video: h264, yuv420p, 320x240
    Output #0, flv, to '/Users/admin/Desktop/iStock_000003717826Small We.mp4.ff.flv':
    Stream #0.0, 29.97 fps(c): Video: flv, yuv420p, 320x240, q=2-9, 200 kb/s
    Stream #0.1: Audio: aac, 22050 Hz, stereo, 56 kb/s
    Stream mapping:
    Stream #0.1 -> #0.0 [sync #0.0]
    Stream #0.0 -> #0.1 [sync #0.1]
    [aac @ 0x54340c]codec not compatible with flv
    Could not write header for output file #0 (incorrect codec parameters ?)
    bench: utime=0.036s
    Encoding completed on Wed Sep 12 13:01:31 PDT 2007
    Quote Quote  
  15. Explorer Case's Avatar
    Join Date
    Feb 2004
    Location
    Middle Earth
    Search Comp PM
    Originally Posted by pixelgeeek
    [aac @ 0x54340c]codec not compatible with flv
    Try converting to mp3 audio, instead of aac.
    Quote Quote  
  16. Member
    Join Date
    Sep 2007
    Location
    United States
    Search Comp PM
    Thanks! It converted the file, but it is very choppy. Will that have to do with this process or the quality of the original file? Thanks again, Pixelgeeek
    Quote Quote  



Similar Threads

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