Hello,
I'm a newbie with ffmpeg and I use Avanti GUI. I try to convert a video from my Canon IXUS to flv without success. The program tell me the following :
Can someone tell me what I do wrong and how can I do well ?Code:9:29:06 - Process started using FFmpeg 0.5 [ffmpeg]. ====================================================================================== Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'C:/Documents and Settings/CEG/Bureau/U2 Photos/2009-07-07 - U2 Milan/U2-Milan 140.MOV': Duration: 00:04:58.36, start: 0.000000, bitrate: 23829 kb/s Stream #0.0(eng): Video: h264, yuv420p, 1280x720, 30 tbr, 30 tbn, 60 tbc Stream #0.1(eng): Audio: pcm_s16le, 44100 Hz, mono, s16, 705 kb/s -------------------------------------------------------------------------- Output #0, flv, to 'nul.flv': Stream #0.0(eng): Video: mpeg4, yuv420p, 1280x720 [PAR 3:4 DAR 4:3], q=2-31, pass 1, 780 kb/s, 90k tbn, 25 tbc Stream #0.1(eng): Audio: libmp3lame, 44100 Hz, stereo, s16, 128 kb/s -------------------------------------------------------------------------- Stream mapping: Stream #0.0 -> #0.0 Stream #0.1 -> #0.1 ====================================================================================== +--------------------+ | | Source [1] --> | FFmpeg | --> Destination [1] | | +--------------------+ ====================================================================================== 9:29:06 - Free space on destination disk at start 135,268 Mb. 9:29:06 - Processing pass 1 (writing log file). FFmpeg messages/warnings: Seems stream 0 codec frame rate differs from container frame rate: ... 60.00 (60/1) -> 30.00 (30/1) [mpeg4 @ 0x1759810]video codec not compatible with flv Could not write header for output file #0 (incorrect codec parameters ?) 9:29:07 - Process canceled by FFmpeg with messages/warnings.
Thanx.
+ Reply to Thread
Results 1 to 9 of 9
-
-
Try change to h264/x264 codec and you might have to change to a mp4 container(mp4 also works in flash!).[mpeg4 @ 0x1759810]video codec not compatible with flv
-
.
Your source is 30 fps but your destination is set to 25 fps. FFmpeg can't do such frame rate conversions.Code:9:29:06 - Process started using FFmpeg 0.5 [ffmpeg]. ====================================================================================== Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'C:/Documents and Settings/CEG/Bureau/U2 Photos/2009-07-07 - U2 Milan/U2-Milan 140.MOV': Duration: 00:04:58.36, start: 0.000000, bitrate: 23829 kb/s Stream #0.0(eng): Video: h264, yuv420p, 1280x720, 30 tbr, 30 tbn, 60 tbc Stream #0.1(eng): Audio: pcm_s16le, 44100 Hz, mono, s16, 705 kb/s -------------------------------------------------------------------------- Output #0, flv, to 'nul.flv': Stream #0.0(eng): Video: mpeg4, yuv420p, 1280x720 [PAR 3:4 DAR 4:3], q=2-31, pass 1, 780 kb/s, 90k tbn, 25 tbc Stream #0.1(eng): Audio: libmp3lame, 44100 Hz, stereo, s16, 128 kb/s -------------------------------------------------------------------------- Stream mapping: Stream #0.0 -> #0.0 Stream #0.1 -> #0.1
Your source is most likely also interlaced.
You can load a template for x264 (top left button menu). "NTSC / H264 in AVI container" comes the most close.
Then change the bitrate and frame size and set the container to flv (or mp4).
But converting to 1280x720 with a bitrate setting of 780 kbps isn't very realistic.
Your source is already h264 so depending on what you need it for, you can also remux it into another container. -
Thanx Chris K,
first of all I'm really sorry for this thread but I'm a really newbie in this domain. I tried with x264 with putting every parameter the same as the source except for the container where I put (mp4). It seems to convert well excepted for the sound if we look at the logs :
But if I try to watch it with VLC, Quicktime or even Mediaplayer Classic it won't show anything...Code:14:36:02 - Process started using FFmpeg 0.5 [ffmpeg]. ====================================================================================== Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'C:/Documents and Settings/CEG/Bureau/U2 Photos/2009-07-07 - U2 Milan/U2-Milan 140.MOV': Duration: 00:04:58.36, start: 0.000000, bitrate: 23829 kb/s Stream #0.0(eng): Video: h264, yuv420p, 1280x720, 30 tbr, 30 tbn, 60 tbc Stream #0.1(eng): Audio: pcm_s16le, 44100 Hz, mono, s16, 705 kb/s -------------------------------------------------------------------------- Output #0, mp4, to 'C:/Documents and Settings/CEG/Bureau/test.mp4': Stream #0.0(eng): Video: libx264, yuv420p, 1280x720, q=2-31, 200 kb/s, 90k tbn, 30 tbc Stream #0.1(eng): Audio: libmp3lame, 44100 Hz, stereo, s16, 128 kb/s -------------------------------------------------------------------------- Stream mapping: Stream #0.0 -> #0.0 Stream #0.1 -> #0.1 ====================================================================================== +--------------------+ | | Source [1] --> | FFmpeg + user opts | --> Destination [1] | | +--------------------+ ====================================================================================== 14:36:03 - FFmpeg user VIDEO option(s) included. 14:36:03 - Free space on destination disk at start 136,102 Mb. FFmpeg messages/warnings: Seems stream 0 codec frame rate differs from container frame rate: ... 60.00 (60/1) -> 30.00 (30/1) [libx264 @ 0x1759b80] ... using cpu capabilities: MMX2 SSE2Fast SSSE3 PHADD SSE4.1 Cache64 [libx264 @ 0x1759b80]profile Main, level 3.1 [libmp3lame @ 0x3ef780] ... lame: output buffer too small (buffer index: 9195, free bytes: 597) ... Audio encoding failed 14:51:35 - bitrate: min 3290, max 4283, avg 3586 kbit/s 14:51:35 - Q-scale: min 28.0, max 31.0, avg 31.0 14:51:35 - Process finished after 00:15:32 hms with messages/warnings. ... Console processing <Ctrl><S> possibly shows more details.
Another question about what you say here :
Can you tell me how to do this ???Your source is already h264 so depending on what you need it for, you can also remux it into another container.
Thanx in advance -
You probably mean this message...Originally Posted by zigune
It's kind of a "false positive" from FFmpeg. Everything should be fine with the audio. Current FFmpeg Win32 builds don't show it anymore. You can download a beta release from here http://videohelp.com/tools/ffmpegCode:[libmp3lame @ 0x3ef780] ... lame: output buffer too small (buffer index: 9195, free bytes: 597) ... Audio encoding failed
BTW: It's more common for h264 in mp4 container to use AAC audio instead of mp3. If you want to try this with the latest beta release select the "aac" option at the audio codecs, not "aac (Lib)".
Are you able to play the original mov clip with one of the players you mention ?But if I try to watch it with VLC, Quicktime or even Mediaplayer Classic it won't show anything...
Keep the audio codec settings as they are but set the video codec to "Copy Video".Another question about what you say here :
Can you tell me how to do this ???Your source is already h264 so depending on what you need it for, you can also remux it into another container.
For me both re-encoding and re-muxing works but I use FFdshow as decoder for h264 playback. -
Thanx again Chris K,
Yes the original file plays with the 3 players...Are you able to play the original mov clip with one of the players you mention ?
Thank you for your suggestion. It's now allright with aac audio (but "aac lib", aac doesn't work for encoding...) with h264 reeconding and with "copy video" option too.BTW: It's more common for h264 in mp4 container to use AAC audio instead of mp3. If you want to try this with the latest beta release select the "aac" option at the audio codecs, not "aac (Lib)".
Thank you for your help, my videos plays very well !!!
By the way, do you have an idea of an ideal bitrate to put to have a descent video for streaming ??? -
Not really! I would take a look at youtube which bitrates are in general used for HD clips.Originally Posted by zigune
Similar Threads
-
Converting .mov to .flv with ffmpegX_0.0.9y, An installation problem
By bartsher in forum Video ConversionReplies: 1Last Post: 12th Aug 2010, 11:45 -
FFMPEG AVI to FLV Converting Help!
By sp0oon in forum Video ConversionReplies: 6Last Post: 20th Jan 2010, 12:48 -
ffmpeg | How can i get the best quality / filezise ratio converting to FLV
By landuchi in forum Video ConversionReplies: 2Last Post: 26th Oct 2009, 14:33 -
FFMPEG FLV from MOV RED5 flowplayer streaming issues
By Brandon Grossutti in forum Video ConversionReplies: 2Last Post: 7th Aug 2009, 17:02 -
Need a little help here (wmv/mov to flv with ffmpeg)
By yeauxyo in forum Video ConversionReplies: 1Last Post: 10th Jul 2007, 00:08



Quote