[RESOLVED] 02/15/2009 SUN 22:14pm -- SEE POST BELOW THIS ONE
Hi all![]()
Ok. I'm in a pickle. I've been at this for a while now (over an hour so far) trying to figure this problem out.
I need to obtain the duration and/or total number of frames in an (raw) .264 I've encoded via x264 cli encoder. I tried to obtain it through mediainfo but that is no good in some of these "test" encodes I make. At best, it gives me resolution and aspect ration and filesize. No bitrate info or other common info one usually needs. But I think it used to give me bitrate info--I don't know what went wrong on that juncture. Anyway.
1. -- I tried dgavcdec but that is no use, unless I let it play through the whole encode--not a good idea if your source is lengthy. Actually, after checking again, it doesn't seem give you a direct duration: 1:22:05 for instance. (but I really need the total frames) Since there seems to be no way of finding out duration or total frames in this tool (unless I missed something) I need another method. At least it got the resolution correct
2. -- So, I tried ffmpeg -i testencode.264 but that just says, Duration: N/A, Bitrate: N/A
3. -- I tried txMuxerR GUI, but that doesn't give any details, plus, I found out that it gives the wrong resolution spec: ie, my .264 video was 704x360, but it reported 704x364 instead. Don't know where the extra 4 pixels came from![]()
4. -- And, mp4box -info testencode.264 give nothing, other than track and video but no actual details.
So I'm wondering, is there anything else I can try via command line tool: something that I can feed myself.
Thanks you in advance,
-vhelp 5036
+ Reply to Thread
Results 1 to 3 of 3
-
-
if it's something you've encoded, just check the x264 logfile
for other streams, you want a tool that scans thru frames, because tools like mediainfo just read the header info which isn't necessarily accurate and you can easily alter the header with a hex edit
dgavcdec does give you the framecount (coded number), and is frame accurate
you can use stream analyzing tools like elecard streameye, but it's not cli, nor is it free... but it is much more accurate and gives you a lot more information. Another option is h264visa (not cli, not free)
if you put it into a container, you can open it up in something like avidemux or vdub, and read the framecount there. You could also use an .avs script to do this (even use avsp). Some input filters are frame accurate, some are not so the actual framecount might be different depending on which one you use.
cheers -
[RESOLVED] 02/15/2009 SUN 10:14pm
SOLUTION: Well, actually, my last resort in obtaining a frame count: dgavcdec + avisynth + vdub, and I ended up going that route, unfortunately. I read through the file real quickly and got the frame count, plus duration/time code, manaully. Though I was hoping for something more accurate that I could just drag n drop into. But I got what I needed in the end.
In the mean time, I'll keep my eyes open for something more simpler. Until then, consider this resolved if not partially.
Thanks for assisting so quickly however,
-vhelp 5037
Similar Threads
-
encoded video duration different than vob duration
By fatcharlie in forum Video ConversionReplies: 9Last Post: 4th Dec 2011, 10:04 -
obtaining background audio in a video clip
By muffinman123 in forum AudioReplies: 7Last Post: 30th Oct 2011, 22:14 -
.AVI to H.264 Only Encodes the first frame.
By Kelly Lang in forum ffmpegX general discussionReplies: 2Last Post: 3rd Oct 2010, 06:49 -
kmplayer: how to configure it to play mpeg2, mp4, and 264 en .. [RESOLVED]
By vhelp in forum Software PlayingReplies: 3Last Post: 21st Feb 2009, 23:10 -
*RESOLVED* resetting password on a networked HP printer? *RESOLVED*
By Xylob the Destroyer in forum ComputerReplies: 3Last Post: 21st Nov 2008, 13:50