![]() |
linux ffmpeg gurus - inside please
OK, I've officially spent 24 hours pulling my hair out trying to understand why whenever I transcode an mpg video to mpeg-4 with ffmpeg I have no sound.
input file: ffmpeg -i input.mpg gives Code:
ffmpeg version 0.4.9-pre1, build 4718, Copyright (c) 2000-2004 Fabrice Bellard ffmpeg -i input.mpg -acodec aac -ab 224 -ar 44100 output.mov gives Code:
fmpeg version 0.4.9-pre1, build 4718, Copyright (c) 2000-2004 Fabrice Bellard Code:
ffmpeg version 0.4.9-pre1, build 4718, Copyright (c) 2000-2004 Fabrice Bellard Now if I split the audio from the input using -vn: ffmpeg -i input.mpg -vn -acodec aac -ab 224 -ar 44100 output.mp4 the audio track is fine, showing the mpeg4aac codec for ffmpeg is fine. WTF gives??? plus, no matter what I set the bitrate to, it never encodes at that rate - it just does it's own thing. Any help would be appreciated!! |
Oh for the frikkin love of god.
Can you believe it - just writing it out in a post, I saw what was going on... the .mov codec is obviously borked, since a simple encode: ffmpeg -i input.mpg output.mp4 gives video and sound Aaaaaaaaaarggggggggg!! I went through everything today to understand that, even spending 3 hours trying to install mpeg4ip.... thx for looking! |
I havnt played with FFMpeg for ages - have they got it working with the new Flash video format yet?
|
That happens alot to me...
Once I type out the problem to someone else, I immediately see where the problem is after I hit "Send" :1orglaugh |
Quote:
not sure if it's the 'new' flv format... all new to me |
Quote:
|
Quote:
The FLV V8 codec was made by On2 (On2 VP6) - and is only on licence to Adobe - so they are making a killing selling the licence to sites like YouTube, Google etc. So I doubt FFMpeg will ever fully support it. |
Quote:
(My sound problem was mp4 to flv.) Still, from what I've seen encoded so far, there isn't a huge difference in filesize between mp4 and flv encodings, although mp4 is a bit crap for streaming w/r to user base compatability. I'm just getting into this encoding game, so I'm a bit behind, but mp4 embedding in pdf looks to be a winner - shame damn Adobe are guarding flv embedding to pdf close to their chest. Looks like flv is going very much commercial, but not for the end user. |
All times are GMT -7. The time now is 06:45 PM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123