Quicktime (.mov) Conversion to .FLV Issues
Hello, Can anyone tell me why certain quicktime (.mov) formats do not seem to convert to FLV. Do I need to flag --enable-x264 when I complile ffmpeg for Quicktime support? If anyone can let me know what config options I need to focus on to get Quicktime codec support in ffmpeg - I would really appreciate it. Thank you, Ryan
Ryan, Quicktime (.mov) is just a container format that can have various iterations of video and audio formats inside. As for h.264 decoding, ffmpeg will do that by default, but you probably need to enable faac and faad to be able to get your audio out of most mp4s and movs. I would also enable mp3 support as well. Enabling x264 only will let you encode h.264 files. Cheers, David Ryan Capers wrote:
Hello,
Can anyone tell me why certain quicktime (.mov) formats do not seem to convert to FLV. Do I need to flag --enable-x264 when I complile ffmpeg for Quicktime support?
If anyone can let me know what config options I need to focus on to get Quicktime codec support in ffmpeg - I would really appreciate it.
Thank you, Ryan _______________________________________________ ffmpeg-user mailing list ffmpeg-user at mplayerhq.hu http://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-user
Thanks David, This is the specific error I'm getting if it sheds any light on my issue. Thanks so much for taking the time to respond - I really appreciate it. FFmpeg version SVN-r5953, Copyright (c) 2000-2004 Fabrice Bellard configuration: --prefix=/home/iseestar/ffmpeg --enable-mp3lame --extra-cflags=-I/home/iseestar/ffmpeg/lame/include --extra-ldflags=-L/home/iseestar/ffmpeg/lame/lib libavutil version: 49.0.0 libavcodec version: 51.11.0 libavformat version: 50.5.0 built on Aug 7 2006 23:30:42, gcc: 3.4.5 20051201 (Red Hat 3.4.5-2) [mov,mp4,m4a,3gp,3g2,mj2 @ 0x82e9bb4]negative ctts, ignoring Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/home/thebizbo/public_html/vid_convert/convert_flv/converted/bizvideo_31_378657822.mov': Duration: 00:00:45.7, start: 0.000000, bitrate: 656 kb/s Stream #0.0(eng): Audio: mp4a / 0x6134706D, 32000 Hz, stereo Stream #0.1(eng): Video: h264, yuv420p, 320x240, 14.98 fps(r) Output #0, flv, to '/home/thebizbo/public_html/vid_convert/convert_flv/converted/bizvideo_31_378657822.flv': Stream #0.0: Video: flv, yuv420p, 320x240, q=2-31, 600 kb/s, 14.98 fps(c) Stream #0.1: Audio: mp3, 44100 Hz, mono, 32 kb/s Stream mapping: Stream #0.1 -> #0.0 Stream #0.0 -> #0.1 Unsupported codec (id=86018) for input stream #0.0 On 11/30/06, David Grantham <dwgranth at gmail.com> wrote:
Ryan,
Quicktime (.mov) is just a container format that can have various iterations of video and audio formats inside. As for h.264 decoding, ffmpeg will do that by default, but you probably need to enable faac and faad to be able to get your audio out of most mp4s and movs. I would also enable mp3 support as well. Enabling x264 only will let you encode h.264 files.
Cheers, David
Ryan Capers wrote:
Hello,
Can anyone tell me why certain quicktime (.mov) formats do not seem to convert to FLV. Do I need to flag --enable-x264 when I complile ffmpeg for Quicktime support?
If anyone can let me know what config options I need to focus on to get Quicktime codec support in ffmpeg - I would really appreciate it.
Thank you, Ryan _______________________________________________ ffmpeg-user mailing list ffmpeg-user at mplayerhq.hu http://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-user
_______________________________________________ ffmpeg-user mailing list ffmpeg-user at mplayerhq.hu http://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-user
On Thu, 30 Nov 2006 12:43:44 -0500, "Ryan Capers" <rcapers at gmail.com> wrote:
This is the specific error I'm getting if it sheds any light on my issue.
Please don't top-post. The output of ffmpeg confirms that you need at least faac and probably faad too to be able to get at what's inside your QT file. -- G. Stewart - godwin.stewart at gmail.com Don't some of these fortunes just drive you nuts?! Wouldn't you like to see some of them deleted from the system? You can! Just mail to "fortune" with the fortune you hate most, and we MIGHT make sure it gets expunged.
On 11/30/06, Godwin Stewart <godwin.stewart at gmail.com> wrote:
On Thu, 30 Nov 2006 12:43:44 -0500, "Ryan Capers" <rcapers at gmail.com> wrote:
This is the specific error I'm getting if it sheds any light on my issue.
Please don't top-post.
The output of ffmpeg confirms that you need at least faac and probably faad too to be able to get at what's inside your QT file.
-- G. Stewart - godwin.stewart at gmail.com
Don't some of these fortunes just drive you nuts?! Wouldn't you like to see some of them deleted from the system? You can! Just mail to "fortune" with the fortune you hate most, and we MIGHT make sure it gets expunged.
_______________________________________________ ffmpeg-user mailing list ffmpeg-user at mplayerhq.hu http://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-user
Thanks David - sorry, about the top-post. Last question and then I promise I'll leave you alone... :) when I go to compile ffmpeg with the appropriate flags that you mentioned, I am getting the following errors. Is this as simple as finding these libraries and including them somewhere in the appropriate source directory prior to compiling? ERROR: libfaad not found ERROR: libfaac not found Again, thanks so much.
On Thu, 30 Nov 2006 12:52:41 -0500, "Ryan Capers" <rcapers at gmail.com> wrote:
Is this as simple as finding these libraries and including them somewhere in the appropriate source directory prior to compiling?
ERROR: libfaad not found
ERROR: libfaac not found
You'll have to install these libraries and, depending on which distro you're using, the "-devel" packages too. Once that's done, rebuild ffmpeg. -- G. Stewart - godwin.stewart at gmail.com A grammarian's life is always intense.
On 11/30/06, Godwin Stewart <godwin.stewart at gmail.com> wrote:
On Thu, 30 Nov 2006 12:52:41 -0500, "Ryan Capers" <rcapers at gmail.com> wrote:
Is this as simple as finding these libraries and including them somewhere in the appropriate source directory prior to compiling?
ERROR: libfaad not found
ERROR: libfaac not found
You'll have to install these libraries and, depending on which distro you're using, the "-devel" packages too. Once that's done, rebuild ffmpeg.
-- G. Stewart - godwin.stewart at gmail.com
A grammarian's life is always intense.
_______________________________________________ ffmpeg-user mailing list ffmpeg-user at mplayerhq.hu http://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-user
I finally have ffmpeg all built correctly and working WONDERFUL from the command line, however I cannot for the life of me get it to work from within PHP
I am using the following command <? $action = "/usr/local/bin/ffmpeg -i /var/www/vhosts/thebizbox.com/httpdocs/videos/bizvideo_31_283322178.mpg -acodec mp3 -ar 44100 -ab 32 -ac 1 -f flv -b 600 /var/www/vhosts/thebizbox.com/httpdocs/videos/bizvideo_31_203704377846.flv"; exec($action); ?> Can anyone tell me why this is not executing? Here's my configuration ffmpeg compiled with options: FFmpeg version SVN-r7131, Copyright (c) 2000-2006 Fabrice Bellard, et al. configuration: --enable-shared --enable-xvid --enable-vorbis --enable-libogg --enable-mp3lame --enable-gpl --enable-faad --enable-faac --enable-a52 --enable-x264 --enable-pthreads ffmpeg installed in /usr/local/bin
On Thu, 30 Nov 2006 22:41:00 -0500, "Ryan Capers" <rcapers at gmail.com> wrote:
I am using the following command
<? $action = "/usr/local/bin/ffmpeg -i /var/www/vhosts/thebizbox.com/httpdocs/videos/bizvideo_31_283322178.mpg -acodec mp3 -ar 44100 -ab 32 -ac 1 -f flv -b 600 /var/www/vhosts/thebizbox.com/httpdocs/videos/bizvideo_31_203704377846.flv"; exec($action); ?>
Can anyone tell me why this is not executing?
Not without seeing the output of the command, no - although most likely is the video codec in the original .mpg file being incompatible with the .flv output. Have you tried adding an appropriate -vcodec option? BTW, do you really want a movie at 600 bits/s video bitrate? -- G. Stewart - godwin.stewart at gmail.com If you don't pay your exorcist, do you get repossessed?
On 12/1/06, Godwin Stewart <godwin.stewart at gmail.com> wrote:
On Thu, 30 Nov 2006 22:41:00 -0500, "Ryan Capers" <rcapers at gmail.com> wrote:
I am using the following command
<? $action = "/usr/local/bin/ffmpeg -i /var/www/vhosts/thebizbox.com/httpdocs/videos/bizvideo_31_283322178.mpg -acodec mp3 -ar 44100 -ab 32 -ac 1 -f flv -b 600
/var/www/vhosts/thebizbox.com/httpdocs/videos/bizvideo_31_203704377846.flv";
exec($action); ?>
Can anyone tell me why this is not executing?
Not without seeing the output of the command, no - although most likely is the video codec in the original .mpg file being incompatible with the .flv output. Have you tried adding an appropriate -vcodec option?
BTW, do you really want a movie at 600 bits/s video bitrate?
-- G. Stewart - godwin.stewart at gmail.com
If you don't pay your exorcist, do you get repossessed?
_______________________________________________ ffmpeg-user mailing list ffmpeg-user at mplayerhq.hu http://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-user
What is a better bitrate to use for conversion to flv? Thanks by the way :)
On Fri, 1 Dec 2006 01:55:12 -0500, "Ryan Capers" <rcapers at gmail.com> wrote:
BTW, do you really want a movie at 600 bits/s video bitrate?
What is a better bitrate to use for conversion to flv? Thanks by the way :)
Something a lot higher than under 1 kilobit per second! My point was, the argument to the "-b" option is expressed in bits/s, not in kbit/s as it used to be in much older versions of ffmpeg. Also, thanks for no longer top-posting, but please learn to trim out unneccessary material (including everything under the signature delimiter if your mailer can't do it automatically) as well. -- G. Stewart - godwin.stewart at gmail.com All parts should go together without forcing. You must remember that the parts you are reassembling were disassembled by you. Therefore, if you can't get them together again, there must be a reason. By all means, do not use a hammer. -- IBM maintenance manual, 1925
participants (3)
-
dwgranth@gmail.com -
godwin.stewart@gmail.com -
rcapers@gmail.com