Property:Has user first name
From ProWiki - Demo and Test Wiki
(Difference between pages)
(new) |
(add) |
||
Line 1: | Line 1: | ||
== File creation info == | |||
Concatenated from [[:File:Sample-Video-File-For-Testing.mp4]]: | |||
<syntaxhighlight lang=console> | |||
me@client:~/path/to/video/$ ffmpeg -f concat -safe 0 -i myfiles.txt -c copy Sample-Video-File-For-Testing-862mb.mp4 | |||
</syntaxhighlight> | |||
; myfiles.txt | |||
<syntaxhighlight lang=bash> | |||
file '/path/to/video/Sample-Video-File-For-Testing-0.mp4' | |||
file '/path/to/video/Sample-Video-File-For-Testing-1.mp4' | |||
file '/path/to/video/Sample-Video-File-For-Testing-2.mp4' | |||
file '/path/to/video/Sample-Video-File-For-Testing-3.mp4' | |||
file '/path/to/video/Sample-Video-File-For-Testing-4.mp4' | |||
file '/path/to/video/Sample-Video-File-For-Testing-5.mp4' | |||
file '/path/to/video/Sample-Video-File-For-Testing-6.mp4' | |||
file '/path/to/video/Sample-Video-File-For-Testing-7.mp4' | |||
file '/path/to/video/Sample-Video-File-For-Testing-8.mp4' | |||
</syntaxhighlight> | |||
== File data == | |||
; Command | |||
<syntaxhighlight lang=console> | |||
me@client:~/path/to/video/$ ffprobe -v quiet -print_format json -show_format -show_streams /path/to/video/Sample-Video-File-For-Testing-862mb.mp4 | |||
</syntaxhighlight> | |||
; Output | |||
<syntaxhighlight lang=json> | |||
{ | |||
"streams": [ | |||
{ | |||
"index": 0, | |||
"codec_name": "h264", | |||
"codec_long_name": "H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10", | |||
"profile": "High", | |||
"codec_type": "video", | |||
"codec_tag_string": "avc1", | |||
"codec_tag": "0x31637661", | |||
"width": 1920, | |||
"height": 1080, | |||
"coded_width": 1920, | |||
"coded_height": 1080, | |||
"closed_captions": 0, | |||
"has_b_frames": 2, | |||
"sample_aspect_ratio": "1:1", | |||
"display_aspect_ratio": "16:9", | |||
"pix_fmt": "yuv420p", | |||
"level": 40, | |||
"chroma_location": "left", | |||
"refs": 1, | |||
"is_avc": "true", | |||
"nal_length_size": "4", | |||
"r_frame_rate": "30/1", | |||
"avg_frame_rate": "18245250/618631", | |||
"time_base": "1/90000", | |||
"start_pts": 6750, | |||
"start_time": "0.075000", | |||
"duration_ts": 148471440, | |||
"duration": "1649.682667", | |||
"bit_rate": "4373097", | |||
"bits_per_raw_sample": "8", | |||
"nb_frames": "48654", | |||
"disposition": { | |||
"default": 1, | |||
"dub": 0, | |||
"original": 0, | |||
"comment": 0, | |||
"lyrics": 0, | |||
"karaoke": 0, | |||
"forced": 0, | |||
"hearing_impaired": 0, | |||
"visual_impaired": 0, | |||
"clean_effects": 0, | |||
"attached_pic": 0, | |||
"timed_thumbnails": 0 | |||
}, | |||
"tags": { | |||
"language": "und", | |||
"handler_name": "VideoHandler", | |||
"vendor_id": "[0][0][0][0]" | |||
} | |||
}, | |||
{ | |||
"index": 1, | |||
"codec_name": "aac", | |||
"codec_long_name": "AAC (Advanced Audio Coding)", | |||
"profile": "LC", | |||
"codec_type": "audio", | |||
"codec_tag_string": "mp4a", | |||
"codec_tag": "0x6134706d", | |||
"sample_fmt": "fltp", | |||
"sample_rate": "48000", | |||
"channels": 2, | |||
"channel_layout": "stereo", | |||
"bits_per_sample": 0, | |||
"r_frame_rate": "0/0", | |||
"avg_frame_rate": "0/0", | |||
"time_base": "1/48000", | |||
"start_pts": 0, | |||
"start_time": "0.000000", | |||
"duration_ts": 79211488, | |||
"duration": "1650.239333", | |||
"bit_rate": "2276", | |||
"nb_frames": "77355", | |||
"disposition": { | |||
"default": 1, | |||
"dub": 0, | |||
"original": 0, | |||
"comment": 0, | |||
"lyrics": 0, | |||
"karaoke": 0, | |||
"forced": 0, | |||
"hearing_impaired": 0, | |||
"visual_impaired": 0, | |||
"clean_effects": 0, | |||
"attached_pic": 0, | |||
"timed_thumbnails": 0 | |||
}, | |||
"tags": { | |||
"language": "und", | |||
"handler_name": "SoundHandler", | |||
"vendor_id": "[0][0][0][0]" | |||
} | |||
} | |||
], | |||
"format": { | |||
"filename": "/path/to/video/Sample-Video-File-For-Testing-904mb.mp4", | |||
"nb_streams": 2, | |||
"nb_programs": 0, | |||
"format_name": "mov,mp4,m4a,3gp,3g2,mj2", | |||
"format_long_name": "QuickTime / MOV", | |||
"start_time": "0.000000", | |||
"duration": "1650.240000", | |||
"size": "904042582", | |||
"bit_rate": "4382599", | |||
"probe_score": 100, | |||
"tags": { | |||
"major_brand": "isom", | |||
"minor_version": "512", | |||
"compatible_brands": "isomiso2avc1mp41", | |||
"encoder": "Lavf58.76.100" | |||
} | |||
} | |||
} | |||
</syntaxhighlight> | |||
Note that the expected difference between 905 MB and 862 MB comes from an ERROR 504 which stopped the upload at that poing. |
Latest revision as of 11:25, 4 May 2023
File creation info
Concatenated from File:Sample-Video-File-For-Testing.mp4:
me@client:~/path/to/video/$ ffmpeg -f concat -safe 0 -i myfiles.txt -c copy Sample-Video-File-For-Testing-862mb.mp4
- myfiles.txt
file '/path/to/video/Sample-Video-File-For-Testing-0.mp4'
file '/path/to/video/Sample-Video-File-For-Testing-1.mp4'
file '/path/to/video/Sample-Video-File-For-Testing-2.mp4'
file '/path/to/video/Sample-Video-File-For-Testing-3.mp4'
file '/path/to/video/Sample-Video-File-For-Testing-4.mp4'
file '/path/to/video/Sample-Video-File-For-Testing-5.mp4'
file '/path/to/video/Sample-Video-File-For-Testing-6.mp4'
file '/path/to/video/Sample-Video-File-For-Testing-7.mp4'
file '/path/to/video/Sample-Video-File-For-Testing-8.mp4'
File data
- Command
me@client:~/path/to/video/$ ffprobe -v quiet -print_format json -show_format -show_streams /path/to/video/Sample-Video-File-For-Testing-862mb.mp4
- Output
{
"streams": [
{
"index": 0,
"codec_name": "h264",
"codec_long_name": "H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10",
"profile": "High",
"codec_type": "video",
"codec_tag_string": "avc1",
"codec_tag": "0x31637661",
"width": 1920,
"height": 1080,
"coded_width": 1920,
"coded_height": 1080,
"closed_captions": 0,
"has_b_frames": 2,
"sample_aspect_ratio": "1:1",
"display_aspect_ratio": "16:9",
"pix_fmt": "yuv420p",
"level": 40,
"chroma_location": "left",
"refs": 1,
"is_avc": "true",
"nal_length_size": "4",
"r_frame_rate": "30/1",
"avg_frame_rate": "18245250/618631",
"time_base": "1/90000",
"start_pts": 6750,
"start_time": "0.075000",
"duration_ts": 148471440,
"duration": "1649.682667",
"bit_rate": "4373097",
"bits_per_raw_sample": "8",
"nb_frames": "48654",
"disposition": {
"default": 1,
"dub": 0,
"original": 0,
"comment": 0,
"lyrics": 0,
"karaoke": 0,
"forced": 0,
"hearing_impaired": 0,
"visual_impaired": 0,
"clean_effects": 0,
"attached_pic": 0,
"timed_thumbnails": 0
},
"tags": {
"language": "und",
"handler_name": "VideoHandler",
"vendor_id": "[0][0][0][0]"
}
},
{
"index": 1,
"codec_name": "aac",
"codec_long_name": "AAC (Advanced Audio Coding)",
"profile": "LC",
"codec_type": "audio",
"codec_tag_string": "mp4a",
"codec_tag": "0x6134706d",
"sample_fmt": "fltp",
"sample_rate": "48000",
"channels": 2,
"channel_layout": "stereo",
"bits_per_sample": 0,
"r_frame_rate": "0/0",
"avg_frame_rate": "0/0",
"time_base": "1/48000",
"start_pts": 0,
"start_time": "0.000000",
"duration_ts": 79211488,
"duration": "1650.239333",
"bit_rate": "2276",
"nb_frames": "77355",
"disposition": {
"default": 1,
"dub": 0,
"original": 0,
"comment": 0,
"lyrics": 0,
"karaoke": 0,
"forced": 0,
"hearing_impaired": 0,
"visual_impaired": 0,
"clean_effects": 0,
"attached_pic": 0,
"timed_thumbnails": 0
},
"tags": {
"language": "und",
"handler_name": "SoundHandler",
"vendor_id": "[0][0][0][0]"
}
}
],
"format": {
"filename": "/path/to/video/Sample-Video-File-For-Testing-904mb.mp4",
"nb_streams": 2,
"nb_programs": 0,
"format_name": "mov,mp4,m4a,3gp,3g2,mj2",
"format_long_name": "QuickTime / MOV",
"start_time": "0.000000",
"duration": "1650.240000",
"size": "904042582",
"bit_rate": "4382599",
"probe_score": 100,
"tags": {
"major_brand": "isom",
"minor_version": "512",
"compatible_brands": "isomiso2avc1mp41",
"encoder": "Lavf58.76.100"
}
}
}
Note that the expected difference between 905 MB and 862 MB comes from an ERROR 504 which stopped the upload at that poing.