Going to look with the Mediainfo GUI I found out that the files that looked like MP4 actually had TS format. The other mp4s I have all have the information (bitrate, etc). So it's like you said.
+ Reply to Thread
Results 31 to 36 of 36
-
-
The size difference with the original is totally normal, and it is also normal that there are differences between mkvmerge and ffmpeg, but in this case the difference is quite big. When I have tested it the difference was not more than 1 or 2MiB in files of similar size to yours. As they are very different programs they do everything differently. Normally generic utilities like ffmpeg are less efficient than specific ones like mkmerge.
-
No Worries, it would not have help much anyway, after testing the bitrate calculator myself a lil bit more it was apparently an file size calculator, ie. if adding 400 bitrate it was possible to calculate the file size of this video with the added bitrate of 400 (if converting into this). funnily the video i compared with had basicy same bitrate as the input! -
I wanted to calculate with this method to understand the size since the previous methods give substantial differences on the size. After 20 minutes of processing I had the csv file. But when I looked for the columns concerned, I found that they always had the same values. Looking more closely I realized that the header is different from the data.
Code:1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 entry,media_type,stream_index,key_frame,pkt_pts,pkt_pts_time,pkt_dts,pkt_dts_time,best_effort_timestamp,best_effort_timestamp_time,pkt_duration,pkt_duration_time,pkt_pos,pkt_size,width,height,pix_fmt,sample_aspect_ratio,pict_type,coded_picture_number,display_picture_number,interlaced_frame,top_field_first,repeat_pict,color_range,color_space,?,?,chroma_location > "%~n1.csv" 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 frame,video,0,1,97265,1.080722,97265,1.080722,97265,1.080722,1501,0.016678,1501,0.016678,99828,52138,3840,2160,0,0,0,0,yuv420p,1:1,I,0,0,0,0,0,tv,unknown,unknown,unknown,left,H.26[45] User Data Unregistered SEI message frame,video,0,0,98766,1.097400,98766,1.097400,98766,1.097400,1501,0.016678,1501,0.016678,316968,52135,3840,2160,0,0,0,0,yuv420p,1:1,B,0,0,0,0,0,tv,unknown,unknown,unknown,left frame,video,0,0,100268,1.114089,100268,1.114089,100268,1.114089,1501,0.016678,1501,0.016678,262636,52136,3840,2160,0,0,0,0,yuv420p,1:1,B,0,0,0,0,0,tv,unknown,unknown,unknown,left frame,video,0,0,101769,1.130767,101769,1.130767,101769,1.130767,1501,0.016678,1501,0.016678,371300,52135,3840,2160,0,0,0,0,yuv420p,1:1,B,0,0,0,0,0,tv,unknown,unknown,unknown,left frame,video,0,0,103271,1.147456,103271,1.147456,103271,1.147456,1501,0.016678,1501,0.016678,208492,52135,3840,2160,0,0,0,0,yuv420p,1:1,B,0,0,0,0,0,tv,unknown,unknown,unknown,left frame,video,0,0,104772,1.164133,104772,1.164133,104772,1.164133,1501,0.016678,1501,0.016678,479776,52136,3840,2160,0,0,0,0,yuv420p,1:1,B,0,0,0,0,0,tv,unknown,unknown,unknown,left frame,video,0,0,106274,1.180822,106274,1.180822,106274,1.180822,1501,0.016678,1501,0.016678,425444,52135,3840,2160,0,0,0,0,yuv420p,1:1,B,0,0,0,0,0,tv,unknown,unknown,unknown,left frame,video,0,0,107775,1.197500,107775,1.197500,107775,1.197500,1501,0.016678,1501,0.016678,154160,52135,3840,2160,0,0,0,0,yuv420p,1:1,P,0,0,0,0,0,tv,unknown,unknown,unknown,left frame,video,0,0,109277,1.214189,109277,1.214189,109277,1.214189,1501,0.016678,1501,0.016678,696916,52135,3840,2160,0,0,0,0,yuv420p,1:1,B,0,0,0,0,0,tv,unknown,unknown,unknown,left frame,video,0,0,110778,1.230867,110778,1.230867,110778,1.230867,1501,0.016678,1501,0.016678,642584,52136,3840,2160,0,0,0,0,yuv420p,1:1,B,0,0,0,0,0,tv,unknown,unknown,unknown,left frame,video,0,0,112280,1.247556,112280,1.247556,112280,1.247556,1501,0.016678,1501,0.016678,751060,52135,3840,2160,0,0,0,0,yuv420p,1:1,B,0,0,0,0,0,tv,unknown,unknown,unknown,left ...
-
This ffmpeg command saves in a csv file all the frame metadata, depending on the format they may be different. As you are only interested in some of them you can change the -show_entities parameter and save only the data you are interested in. This only extracts the size:
Code:-show_entries frame=pkt_size
You can also try using ffmpeg, if remux the file at the end it shows the size of the different streams types and the duration.
Code:ffmpeg -i file.mp4 -c copy -f null -
Code:video:169601kB audio:22800kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown size=N/A time=00:23:51.46 bitrate=N/A speed=1.85e+03x
-
First of all, thank you. At this point I surrender to the very big differences. I'll do all the methods and take the biggest bitrate. For the moment I think I have solved it thanks to your precious help. Now that I have the bitrate secured, I'll have to move on to re-encoding the video and audio and I'll open another thread.
Similar Threads
-
10-bit video and lower bitrate vs 8-bit video and higher bitrate
By Federico9827 in forum Newbie / General discussionsReplies: 5Last Post: 11th Oct 2022, 07:16 -
batch that calculate the total duration for a series of video file
By marcorocchini in forum Newbie / General discussionsReplies: 0Last Post: 15th Mar 2022, 16:25 -
how to do average bitrate h264 encoding with ffmpeg?
By Anonymous543 in forum Newbie / General discussionsReplies: 38Last Post: 15th Feb 2022, 07:02 -
Calculate width and height of rendered subtitles
By albfullsoft in forum SubtitleReplies: 0Last Post: 10th May 2020, 20:12 -
How to determine max min and average bitrates for video rendering?
By Bencuri in forum Video ConversionReplies: 4Last Post: 16th Oct 2019, 12:02