I downloaded the files from a website with avi extension, the rest I download from youtube and other sources the encoding works, BUT the input file is working fine:
Code:
~$ ffprobe -show_format -show_streams -i Input.avi
avprobe version 0.8.5-6:0.8.5-0ubuntu0.12.10.1, Copyright (c) 2007-2012 the Libav developers
built on Jan 24 2013 14:49:20 with gcc 4.7.2
Unrecognized option 'i'
Failed to set value 'Input.avi' for option 'i'
~$ ffprobe -show_format -show_streams -i Output.mp4
avprobe version 0.8.5-6:0.8.5-0ubuntu0.12.10.1, Copyright (c) 2007-2012 the Libav developers
built on Jan 24 2013 14:49:20 with gcc 4.7.2
Unrecognized option 'i'
Failed to set value 'Output.mp4' for option 'i'
if I remove the option -i:
Input
Code:
~$ ffprobe -show_format -show_streams Input.avi
avprobe version 0.8.5-6:0.8.5-0ubuntu0.12.10.1, Copyright (c) 2007-2012 the Libav developers
built on Jan 24 2013 14:49:20 with gcc 4.7.2
[avi @ 0x1348b20] max_analyze_duration reached
Input #0, avi, from 'Input.avi':
Metadata:
encoder : MEncoder Sherpya-SVN-r33488-4.2.5
Duration: 00:25:29.76, start: 0.000000, bitrate: 612 kb/s
Stream #0.0: Video: h264 (High), yuv420p, 352x288 [PAR 1:1 DAR 11:9], 25 fps, 25 tbr, 25 tbn, 50 tbc
Stream #0.1: Audio: mp3, 48000 Hz, stereo, s16, 128 kb/s
[STREAM]
index=0
codec_name=h264
codec_long_name=H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
codec_type=video
codec_time_base=1/50
codec_tag_string=H264
codec_tag=0x34363248
width=352
height=288
has_b_frames=0
sample_aspect_ratio=1:1
display_aspect_ratio=11:9
pix_fmt=yuv420p
level=13
r_frame_rate=25/1
avg_frame_rate=25/1
time_base=1/25
start_time=0.000000
duration=1529.760000
nb_frames=38244
[/STREAM]
[STREAM]
index=1
codec_name=mp3
codec_long_name=MP3 (MPEG audio layer 3)
codec_type=audio
codec_time_base=1/48000
codec_tag_string=U[0][0][0]
codec_tag=0x0055
sample_rate=48000.000000
channels=2
bits_per_sample=0
r_frame_rate=0/0
avg_frame_rate=125/3
time_base=1/16000
start_time=0.000000
duration=N/A
nb_frames=24475296
[/STREAM]
[FORMAT]
filename=Input.avi
nb_streams=2
format_name=avi
format_long_name=AVI format
start_time=0.000000
duration=1529.760000
size=117142730.000000
bit_rate=612607.000000
TAG:encoder=MEncoder Sherpya-SVN-r33488-4.2.5
[/FORMAT]
Output:
Code:
~$ ffprobe -show_format -show_streams Output.mp4
avprobe version 0.8.5-6:0.8.5-0ubuntu0.12.10.1, Copyright (c) 2007-2012 the Libav developers
built on Jan 24 2013 14:49:20 with gcc 4.7.2
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'Output.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf53.21.1
Duration: 00:25:29.76, start: 0.000000, bitrate: 214 kb/s
Stream #0.0(und): Video: h264 (Main), yuv420p, 352x288 [PAR 1:1 DAR 11:9], 211 kb/s, 25 fps, 25 tbr, 25 tbn, 50 tbc
Stream #0.1(und): Audio: mp3, 48000 Hz, stereo, s16, 128 kb/s
[STREAM]
index=0
codec_name=h264
codec_long_name=H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
codec_type=video
codec_time_base=1/50
codec_tag_string=avc1
codec_tag=0x31637661
width=352
height=288
has_b_frames=1
sample_aspect_ratio=1:1
display_aspect_ratio=11:9
pix_fmt=yuv420p
level=13
r_frame_rate=25/1
avg_frame_rate=25/1
time_base=1/25
start_time=0.000000
duration=1529.760000
nb_frames=38244
TAG:language=und
[/STREAM]
[STREAM]
index=1
codec_name=mp3
codec_long_name=MP3 (MPEG audio layer 3)
codec_type=audio
codec_time_base=1/48000
codec_tag_string=mp4a
codec_tag=0x6134706d
sample_rate=48000.000000
channels=2
bits_per_sample=0
r_frame_rate=0/0
avg_frame_rate=0/0
time_base=1/48000
start_time=0.000000
duration=5.010000
nb_frames=208
TAG:language=und
[/STREAM]
[FORMAT]
filename=Output.mp4
nb_streams=2
format_name=mov,mp4,m4a,3gp,3g2,mj2
format_long_name=QuickTime/MPEG-4/Motion JPEG 2000 format
start_time=0.000000
duration=1529.760000
size=40997144.000000
bit_rate=214397.000000
TAG:major_brand=isom
TAG:minor_version=512
TAG:compatible_brands=isomiso2avc1mp41
TAG:encoder=Lavf53.21.1
[/FORMAT]
Bookmarks