Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Capturing and Editing Video > New and alternative a/v containers
Register FAQ Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
Old 8th April 2007, 18:12   #1  |  Link
varunb
Registered User
 
Join Date: Dec 2005
Location: India
Posts: 200
Mux raw video & audio stream using FFMPEG

Can any1 guide me in this ? I just want to mux a raw h.264 stream(video.264) & aac audio file,both having frame rates of 23.976, to Quicktime compatible .mov file using ffmpeg ? Below is the command that I have been using:

ffmpeg -r 23.976 -i quicktime.264 -vcodec copy -flags +loop -cmp +chroma -partitions +parti4x4+partp8x8+partb8x8 -flags2 -8x8dct-wpred -refs 1 -i aud.aac -acodec copy out.mov

Every time I run this command, the output mov file produced has a frame rate of 25 whereas I want to have 23.976 output mov file. Moreover, the output is jerky & I see a lot of blocky artifacts in it. Can any1 tell me the proper commands ? The source files were produced using meGUI.
__________________
Intel Core i5 2500k OC'ed to 4.2GHz
MSI GTX 670
8GB RAM
GA-Z68XP-UD4 board
Dell U2312HM monitor
varunb is offline   Reply With Quote
Old 9th April 2007, 00:53   #2  |  Link
Blue_MiSfit
Derek Prestegard IRL
 
Blue_MiSfit's Avatar
 
Join Date: Nov 2003
Location: Los Angeles
Posts: 5,989
Well, just a sanity check:

Your H.264 stream is QuickTime compliant, right?

~MiSfit
__________________
These are all my personal statements, not those of my employer :)
Blue_MiSfit is offline   Reply With Quote
Old 9th April 2007, 03:53   #3  |  Link
varunb
Registered User
 
Join Date: Dec 2005
Location: India
Posts: 200
Yeah it is 100% quicktime-compliant. I have checked it thoroughly.
__________________
Intel Core i5 2500k OC'ed to 4.2GHz
MSI GTX 670
8GB RAM
GA-Z68XP-UD4 board
Dell U2312HM monitor
varunb is offline   Reply With Quote
Old 9th April 2007, 10:11   #4  |  Link
bond
Registered User
 
Join Date: Nov 2001
Posts: 9,770
Quote:
Originally Posted by varunb View Post
ffmpeg -r 23.976 -i quicktime.264 -vcodec copy -flags +loop -cmp +chroma -partitions +parti4x4+partp8x8+partb8x8 -flags2 -8x8dct-wpred -refs 1 -i aud.aac -acodec copy out.mov
this commandline doesnt make sense. you are muxing the raw stream (with vcodec copy), so you cant define all the encoding options, as you are not encoding

try the following:
Code:
ffmpeg -f h264 -i quicktime.264 -r 23.976 -vcodec copy -i aud.aac -acodec copy out.mov
moved
__________________
Between the weak and the strong one it is the freedom which oppresses and the law that liberates (Jean Jacques Rousseau)
I know, that I know nothing (Socrates)

MPEG-4 ASP FAQ | AVC/H.264 FAQ | AAC FAQ | MP4 FAQ | MP4Menu stores DVD Menus in MP4 (guide)
Ogg Theora | Ogg Vorbis
use WM9 today and get Micro$oft controlling the A/V market tomorrow for free
bond is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 03:36.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.