VideoHelp Forum
+ Reply to Thread
Results 1 to 19 of 19
Thread
  1. Member
    Join Date
    Dec 2007
    Location
    United States
    Search Comp PM
    I'm trying to create a flash file for internet use.
    The original file is Quicktime H.264....When I encode the video the progress bar jumps right to finished.

    Here is what the progress report says:

    Encoding started on Mon Dec 3 23:35:34 EST 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/Jason/Desktop/MyVideo.mov':
    Duration: 00:04:11.9, start: 0.000000, bitrate: 3733 kb/s
    Stream #0.0(eng): Audio: pcm_s16be, 48000 Hz, stereo, 1536 kb/s
    Stream #0.1(eng), 29.97 fps(r): Video: h264, yuv420p, 320x240
    Could not find input stream #0.2

    Any answers or suggestions would be great.

    Thanks in advance.
    Quote Quote  
  2. Explorer Case's Avatar
    Join Date
    Feb 2004
    Location
    Middle Earth
    Search Comp PM
    Originally Posted by jweb
    Could not find input stream #0.2
    I don't remember ever seeing that one.
    I tried to replicate your situation by creating a .mov (H.264/PCM) and converting that to .flv, but I couldn't get that error to appear.
    Strange one.
    Quote Quote  
  3. Member
    Join Date
    Feb 2008
    Location
    United States
    Search Comp PM
    I am running into a similar problem when trying to encode Flash Video. Going from .mov (h264) to .flv. The progress bar goes to "Finished" immediately. A file is created, however it is 0kb. When I click on the info icon in the Progress window, I get the following msg:

    FFmpeg version CVS, Copyright (c) 2000-2004 Fabrice Bellard
    Thu Feb 7 17:08:05 PST 2008
    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/applepowerbookg4/Documents/MEL B/Raben Media/Horton Hears a Who/Horton_LocalizationStuff/kr/Trailer_Korea_496x288.mov':
    Duration: 00:02:46.0, start: 0.000000, bitrate: 2455 kb/s
    Stream #0.0(eng): Audio: pcm_s16be, 44100 Hz, stereo, 1411 kb/s
    Stream #0.1(eng), 29.97 fps(r): Video: h264, yuv420p, 496x288
    Codec type mismatch for mapping #0.0 -> #0.0

    If anyone has any advice or suggestions, I would greatly appreciate it!!!
    Thank you!!
    Quote Quote  
  4. Explorer Case's Avatar
    Join Date
    Feb 2004
    Location
    Middle Earth
    Search Comp PM
    Originally Posted by melanieblair
    Codec type mismatch for mapping #0.0 -> #0.0
    Normally I would suggest the "Invert mapping" checkbox in the Audio tab for this error,
    but there seems to be an issue with the combination of Invert mapping and encoding to FLV.

    So, I suggest doing the Invert mapping "by hand" in QuickTime Pro. Open your .mov in QTP. Show Movie Properties. Extract the soundtrack. Delete the soundtrack. Switch to the extracted Untitled soundtrack window. Select all. Copy (to clipboard). Switch back to the .mov window. Select all. Add (from clipboard) to movie. Save as self-contained .mov.
    The stream mapping is now reversed and should convert fine.
    Quote Quote  
  5. Member
    Join Date
    Apr 2008
    Location
    New York, NY
    Search Comp PM
    Case,

    The "invert mapping 'by hand'" freekin' did the trick. I too was struggling to make a FLV file. Thank you so much.

    By the way, what is the recommended bitrate for FLV or Flash Video. The preset for FFmpegx is 200kb but it made such a tiny file...like 150k. I experimented with 400 - 600kb and it makes such a difference and the file size seems to be okay. 2.4 mb for a 30 second commercial 320 x 240, 29.97 frames a second.

    Cheers,
    Justin
    Quote Quote  
  6. Member
    Join Date
    Jul 2008
    Location
    United Kingdom
    Search Comp PM
    Thanks Case, but I'm still having a problem. When I paste the track in QT back I end up with a movie twice the length with sound only at the first half and movie with no sound at the second. I think I'm following your instruction to the letter but I'm obviously doing something wrong... or could it be anything to doing with working on a Mac?

    Mak
    Quote Quote  
  7. Explorer Case's Avatar
    Join Date
    Feb 2004
    Location
    Middle Earth
    Search Comp PM
    Mak,
    Don't 'Paste', but 'Add to Movie', (while having the whole video selected), so that the tracks occupy the same timeline.
    Quote Quote  
  8. Member
    Join Date
    Jul 2008
    Location
    United Kingdom
    Search Comp PM
    Did it! Thanks Case.

    Mak
    Quote Quote  
  9. Originally Posted by doublejnyc
    Case,

    The "invert mapping 'by hand'" freekin' did the trick. I too was struggling to make a FLV file. Thank you so much.

    By the way, what is the recommended bitrate for FLV or Flash Video. The preset for FFmpegx is 200kb but it made such a tiny file...like 150k. I experimented with 400 - 600kb and it makes such a difference and the file size seems to be okay. 2.4 mb for a 30 second commercial 320 x 240, 29.97 frames a second.

    Cheers,
    Justin
    I need to test this as well.

    Question about bitrate etc. I have recorded a filmclip with my CamCorder (Sony HDR-SR12E) in FullHD (1080i) and would like to make sure to get a FLASH file (FLV) that has really good quality. I know getting the same as FullHD might not be duable, but I do not want to make TOO much image quality loss.

    Anyone have suggestions to how I should set my settings?

    Sincerely,
    Andreas
    Quote Quote  
  10. Explorer Case's Avatar
    Join Date
    Feb 2004
    Location
    Middle Earth
    Search Comp PM
    Originally Posted by AndieB
    I would like to make sure to get a FLASH file (FLV) that has really good quality.
    "Eye of the beholder." You want to get the file as small as possible (because of downloads) and good quality (making a file bigger). Opposing characteristics. You'll have to find your own optimum. Things to consider:
    - Can you host the file yourself or do you depend on a 3rd party hosting service that has restrictions on your FLV file?
    - How much are you prepared to scale down? 320x240?
    - Convert a series of short test clips at various settings (bitrates) to see what works for you.
    Quote Quote  
  11. Member
    Join Date
    Oct 2008
    Location
    Israel
    Search Comp PM
    hi, is there a more user friendly way to do this by now?
    or is there still only the 'by hand' thing?

    thanks
    T.
    Quote Quote  
  12. Member
    Join Date
    Oct 2008
    Location
    United States
    Search Comp PM
    Hi,
    I'll second tomerm.
    I'm having the same problem and was wondering if a more user-friendly approach has been arrived at?

    unfortunately i am not the creator of the movie files i have to convert. so i cannot go back into quicktime and edit them files by hand.

    any suggestions would be wonderful. this is a nice tool, but i only need it to convert to flv. so i might have to look elsewhere if the "manual" method described above is the only solution.
    Quote Quote  
  13. Explorer Case's Avatar
    Join Date
    Feb 2004
    Location
    Middle Earth
    Search Comp PM
    Originally Posted by agent79
    unfortunately i am not the creator of the movie files i have to convert. so i cannot go back into quicktime and edit them files by hand.
    You don't have to be the creator of the movie files to reverse the streams manually in QuickTime Pro.
    Quote Quote  
  14. Member
    Join Date
    Oct 2008
    Location
    United States
    Search Comp PM
    Hi Case:

    This all worked great for me too - thanks. Only now, I have another issue. The first few seconds of the video is a photoshop graphic I imported into iMovie then there is regular NTSC video after that. I went through the "Invert mapping by hand" thing and it all plays great in the quicktime player, but when the conversion is complete, the few seconds of the graphic is gone! I even tried to go back to imovie and add a sound track under the graphic thinking maybe it was an audio sync thing, but that didn't work either... Any suggestions would be much appreciated, and thanks for your great help here on this board.

    Originally Posted by Case
    Originally Posted by melanieblair
    Codec type mismatch for mapping #0.0 -> #0.0
    Normally I would suggest the "Invert mapping" checkbox in the Audio tab for this error,
    but there seems to be an issue with the combination of Invert mapping and encoding to FLV.

    So, I suggest doing the Invert mapping "by hand" in QuickTime Pro. Open your .mov in QTP. Show Movie Properties. Extract the soundtrack. Delete the soundtrack. Switch to the extracted Untitled soundtrack window. Select all. Copy (to clipboard). Switch back to the .mov window. Select all. Add (from clipboard) to movie. Save as self-contained .mov.
    The stream mapping is now reversed and should convert fine.
    Quote Quote  
  15. Member
    Join Date
    Oct 2008
    Location
    United States
    Search Comp PM
    Sorry, I was unclear when I said "when the conversion is complete" I meant the conversion from the .mov file to .flv using ffmpegX.
    Quote Quote  
  16. Explorer Case's Avatar
    Join Date
    Feb 2004
    Location
    Middle Earth
    Search Comp PM
    Originally Posted by murman
    The first few seconds of the video is a photoshop graphic I imported into iMovie then there is regular NTSC video after that. [...] when the conversion is complete, the few seconds of the graphic is gone!
    I'm not an iMovie user, but perhaps you can try to save or export differently (DV stream?), so that the intermediate file has the graphic as part of the video, and not as an inserted graphic in a .mov file.
    Quote Quote  
  17. Explorer Case's Avatar
    Join Date
    Feb 2004
    Location
    Middle Earth
    Search Comp PM
    Originally Posted by jweb
    Could not find input stream #0.2
    See https://forum.videohelp.com/topic364871-30.html#1954655
    Quote Quote  
  18. Member
    Join Date
    May 2009
    Location
    United States
    Search Comp PM
    Trying to convert to .flv and having trouble..

    already manually inverted mapping seemed to work now I am getting this message..



    Last login: Mon May 4 13:24:13 on ttyp2
    Welcome to Darwin!
    /Applications/ffmpegX.app//Contents/Resources/pbpamacs-Computer:~ joe$ /Applications/ffmpegX.app//Contents/Resources/pbpaste | sh
    Encoding started on Mon May 4 13:46:14 PDT 2009
    FFmpeg version CVS, Copyright (c) 2000-2004 Fabrice Bellard
    Mac OSX universal build for ffmpegX
    configuration: --enable-mp3lame --enable-gpl --disable-vhook --disable-ffplay --disable-ffserver --enable-a52 --enable-xvid --enable-faac --enable-faad --enable-amr_nb --enable-pthreads --enable-x264
    libavutil version: 49.0.0
    libavcodec version: 51.9.0
    libavformat version: 50.4.0
    built on Apr 15 2006 08:41:02, gcc: 3.3 20030304 (Apple Computer, Inc. build 1666)
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x4701fc]negative ctts, ignoring
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/Users/Joe/Desktop/callkitt copy.mov':
    Duration: 00:04:58.9, start: 0.000000, bitrate: 6198 kb/s
    Stream #0.0(eng), 29.97 fps(r): Video: h264, yuv420p, 720x480
    Stream #0.1(eng): Audio: pcm_s16be, 48000 Hz, stereo, 1536 kb/s
    Output #0, flv, to '/Users/Joe/Desktop/poooop.ff.flv':
    Stream #0.0, 29.97 fps(c): Video: flv, yuv420p, 640x352, q=2-9, 200 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
    Press [q] to stop encoding
    frame= 8960 q=31.0 Lsize= 17289kB time=299.0 bitrate= 473.7kbits/s
    video:14925kB audio:2044kB global headers:0kB muxing overhead 1.879242%
    bench: utime=215.740s
    sh: /Applications/ffmpegX.app//Contents/Resources/flvtool2: /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby: bad interpreter: No such file or directory
    macs-Computer:~ joe$



    no such file bad interpreter..

    thanks if you can help..

    joe
    Quote Quote  
  19. Explorer Case's Avatar
    Join Date
    Feb 2004
    Location
    Middle Earth
    Search Comp PM
    Originally Posted by jsuskind
    sh: /Applications/ffmpegX.app//Contents/Resources/flvtool2: /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby: bad interpreter: No such file or directory
    Your FLV file is converted fine, but does not have meta data yet. Meta data will help player software to know more about the file, such as duration and remaining play time.
    1/ Have you installed flvtool2, the binary that updates FLV files with meta data? Without it, an 'error'-message in the log is expected.
    2/ ffmpegX activates flvtool2 using the ruby scripting language. Unfortunately, the location of the Mac OS-installed ruby binary is not the same for every version of Mac OS X. You may need to patch ffmpegX to fix that.
    Quote Quote  



Similar Threads

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