View Full Version : problems creating avc mp4 from appended avi files
molinacabaleiro
23rd January 2006, 14:41
I'm trying to get the video from an AVI file.
I extract it to .h264.
Then I mux it to .mp4.
The movie looks ok until it reaches the part of the credits (diff quant). Looks like the reference frame was missing.
?
bond
23rd January 2006, 14:50
I'm trying to get the video from an AVI file.
I extract it to .h264.
Then I mux it to .mp4.
The movie looks ok until it reaches the part of the credits (diff quant). Looks like the reference frame was missing.
?have you appended different .avi files together?
molinacabaleiro
23rd January 2006, 14:54
yes I have
bond
23rd January 2006, 15:01
yes I havedo the following:
1) run the h264_parse tool from here (http://www.aziendeassociate.it/./cd//mpeg4iptools/mpeg4iptools-1.4.4cvs.7z) over the .264, that was extracted from the .avi
use the commandline:
h264_parse raw.264 > log.txt
2) than run the same tool over the .264 that you get when you extract the stream out of the .mp4 that was created by yamb
3) than upload the two files somewhere plz
my assumption is that you have appended two incompatible streams together, but i am not sure so i would like to look at the h264_parse output
molinacabaleiro
23rd January 2006, 15:20
will try tomorrow
thanx
molinacabaleiro
24th January 2006, 13:06
well, so much for that
runing the tool generates a log of 5583k, but I don't know if it's valid, since i got the following message:
couldn't find start code in buffer from 0
and the option to extract the video from the .mp4 was greyed :(=
but before that, something else
I've noticed that uninstalling Nero Express makes mpc (the only player I'm willing to use) unable to render mp4 files at all. Since I don't plan on using Nero forever, I wonder what is it that gets installed with it and wich other ways are there to make mp4's playable under mpc.
Kurtnoise
24th January 2006, 13:08
Haali splitter + FFdshow.
molinacabaleiro
24th January 2006, 13:24
would Haali splitter + CoreAVCDecoder also work?
Kurtnoise
24th January 2006, 13:26
if you have an avc video stream in your mp4, yes.
molinacabaleiro
24th January 2006, 13:32
thanx
will try that
bond
24th January 2006, 13:37
well, so much for that
runing the tool generates a log of 5583k, but I don't know if it's valid, since i got the following message:
couldn't find start code in buffer from 0 i assume you are talking about h264_parse?
such a big log can indeed be the case, this error message is ignoreable
and the option to extract the video from the .mp4 was greyed :( you mean you were running h264_parse over the .mp4? that wont work
molinacabaleiro
24th January 2006, 13:56
no, I mean Yamb didn't allow me to extract the video estream from the mp4 file
bond
24th January 2006, 14:00
no, I mean Yamb didn't allow me to extract the video estream from the mp4 fileare you meaning the "extract video from avi files" option?
its greyed out as its for avi files, not mp4 files
for extracting streams from mp4 files you need the "extract trackid in raw format" option
i assume your video track has the id 1
molinacabaleiro
25th January 2006, 11:41
not having an internet connection home (not broadband anyway) I've made a short cut of the end of the movie + the begining of the credits. Instead of uploading it to a ftp folder (no server around) I've created a new mail account at yahoo. You can acces it with
username: j25lto9
password: g6tt9oc3
you'll find two zips in the draft folder
one with the logs; and the other with the avi, mp4, and h264 (both) files
I really don't know what makes the segments incompatible, the only difference is that the movie is a two-pass encode, whereas the credits are single-quantizer.
good hunt
bond
26th January 2006, 20:43
not having an internet connection home (not broadband anyway) I've made a short cut of the end of the movie + the begining of the credits. thats not enough
do it as i said
molinacabaleiro
28th January 2006, 11:08
just wanted you to have ALL files
but if what you need is the complete logs, there you have them now
remember, yahoo mail, draft messages:
username: j25lto9
password: g6tt9oc3
bond
28th January 2006, 14:11
i have no idea on how to get to this yahoo thingie
simply attach the two .txt files created by h264_parse on your post ;)
and as i said i dont need the h264_parse results for the last part of the movie, i need the beginning and the last part (aka the full movie)
molinacabaleiro
28th January 2006, 20:34
that's one
molinacabaleiro
28th January 2006, 20:36
and this is the other
bond
28th January 2006, 21:04
it seems you didnt append the credit part correctly.
as you said you have encoded credits and movie seperately and than attached the two
if you have encoded the credits seperately than there would need to be the SEI at the beginning of the credits (as its there at the beginning of the movie), but its not there
molinacabaleiro
29th January 2006, 15:50
I deleted the dropped frames from the begining of the avi segments and used VitualDubMod to get the final file.
Was I supossed to leave the dropped frames?
Or what?
BTW, no idea what SEI is
bond
29th January 2006, 16:39
I deleted the dropped frames from the begining of the avi segments and used VitualDubMod to get the final file.
Was I supossed to leave the dropped frames?
Or what?
BTW, no idea what SEI isi guess removing the drop frames also removed the important header at the beginning of the stream
if you still have the unjoined avi files, try again without removing the drop frames
molinacabaleiro
30th January 2006, 17:10
not those, but I have others with the same problem
I'll keep you posted
molinacabaleiro
1st February 2006, 14:15
I finally sorted it out, the dropped frames were not the thing
it was the fact that they were 2-pass and 1-pass encodes mixed
as long as the credits are aslo a 2-pass encode, no problem
bond
1st February 2006, 20:11
very strange that this makes a difference
can you upload the h264_parse output from the new appended avi and the new mp4 created from it?
molinacabaleiro
4th February 2006, 10:34
can't do right now, because the movie is not home at this time
i will when it comes back ;)
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.