On Sat, 30 Jan 2016 17:43:39 -0500, nospam wrote:
> because it's not fully compliant to the spec.
I appreciate that, and figured as much (as I knew "something" was wrong
with the audio stream). But what?
From the information I can gather from the file itself, how do I figure
out what is "wrong" with the audio stream?
Here's the information I have about the file:
****************************************************************************
Results of the following commands:
$ exiftool movie.mp4
$ tovid id movie.mp4
$ mplayer -vo null -ao null -frames 0 -identify movie.mp4
$ ffmpeg -i movie.mp4
****************************************************************************
$ exiftool movie.mp4
****************************************************************************
ExifTool Version Number : 9.46
File Name : movie.mp4
Directory : .
File Size : 947 MB
File Modification Date/Time : 2016:01:30 00:32:41-08:00
File Access Date/Time : 2016:01:30 00:48:59-08:00
File Inode Change Date/Time : 2016:01:30 14:18:54-08:00
File Permissions : rw-------
File Type : MP4
MIME Type : video/mp4
Major Brand : MP4 v2 [ISO 14496-14]
Minor Version : 0.2.0
Compatible Brands : isom, iso2, avc1, mp41
Movie Data Size : 988095590
Movie Data Offset : 48
Movie Header Version : 0
Create Date : 0000:00:00 00:00:00
Modify Date : 0000:00:00 00:00:00
Time Scale : 1000
Duration : 2:18:24
Preferred Rate : 1
Preferred Volume : 100.00%
Preview Time : 0 s
Preview Duration : 0 s
Poster Time : 0 s
Selection Time : 0 s
Selection Duration : 0 s
Current Time : 0 s
Next Track ID : 4
Track Header Version : 0
Track Create Date : 0000:00:00 00:00:00
Track Modify Date : 0000:00:00 00:00:00
Track ID : 1
Track Duration : 2:18:24
Track Layer : 0
Track Volume : 0.00%
Image Width : 1280
Image Height : 546
Graphics Mode : srcCopy
Op Color : 0 0 0
Compressor ID : avc1
Source Image Width : 1280
Source Image Height : 546
X Resolution : 72
Y Resolution : 72
Bit Depth : 24
Video Frame Rate : 23.976
Balance : 0
Audio Channels : 2
Audio Bits Per Sample : 16
Audio Sample Rate : 48000
Track 2 Name : English
Matrix Structure : 1 0 0 0 1 0 0 0 1
Media Header Version : 0
Media Create Date : 0000:00:00 00:00:00
Media Modify Date : 0000:00:00 00:00:00
Media Time Scale : 90000
Media Duration : 2:16:48
Media Language Code : eng
Handler Description : SubtitleHandler
Other Format : tx3g
Handler Type : Metadata
Handler Vendor ID : Apple
Encoder : HandBrake 0.10.
1 2015030800
Avg Bitrate : 952 kbps
Image Size : 1280x546
Rotation : 0
****************************************************************************
$ tovid id movie.mp4
****************************************************************************
--------------------------------
tovid id
Identify video files
Version 0.33
http://tovid.wikia.com
--------------------------------
Analyzing file: 'movie.mp4'...
=========================================================
File: movie.mp4
Width: 1280 pixels
Height: 546 pixels
Aspect ratio: 2.34:1
Frames: 199104
Duration: 02:18:24 hours/mins/secs
Framerate: 23.976 frames per second
Video format: H264
Video bitrate: 791840 bits per second
---------------------------
Audio track 1 (Stream 0.1, AID 0):
---------------------------
Codec: ac3
Bitrate: 160000 bits per second
Sampling rate: 48000 Hz
=========================================================
Audio is compliant with the following formats:
160000 bps 48khz AC3 DVD (Dolby Digital)
Video is compliant with the following formats:
Not compliant with (S)VCD or DVD
This video does not seem to be compliant with (S)VCD or DVD
standards. If you burn it to a video disc, it may not work.
=========================================================
Read options from /home/paul/g.tovid/tovid.ini:
****************************************************************************
$ ffmpeg -i movie.mp4
****************************************************************************
ffmpeg version 2.5.git Copyright (c) 2000-2015 the FFmpeg developers
built on Jul 1 2015 01:54:25 with gcc 4.8 (Ubuntu 4.8.2-19ubuntu1)
configuration: --prefix=/home/foo/ffmpeg_build --extra-cflags=-I/home/foo/ffmpeg_build/include --extra-ldflags=-L/home/foo/ffmpeg_build/lib --bindir=/home/foo/bin --enable-gpl --enable-libass --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-nonfree
libavutil 54. 18.100 / 54. 18.100
libavcodec 56. 21.101 / 56. 21.101
libavformat 56. 19.100 / 56. 19.100
libavdevice 56. 4.100 / 56. 4.100
libavfilter 5. 9.103 / 5. 9.103
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 1.100 / 1. 1.100
libpostproc 53. 3.100 / 53. 3.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'movie.mp4':
Metadata:
major_brand : mp42
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : HandBrake 0.10.
1 2015030800
Duration: 02:18:24.32, start: 0.000000, bitrate: 956 kb/s
Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709), 1280x546, 791 kb/s, 23.98 fps, 23.98 tbr, 90k tbn, 47.95 tbc (default)
Metadata:
handler_name : VideoHandler
Stream #0:1(eng): Audio: ac3 (ac-3 / 0x332D6361), 48000 Hz, stereo, fltp, 160 kb/s (default)
Metadata:
handler_name : English
Side data:
[0;33munknown side data type 7 (4 bytes)
Stream #0:2(eng): Subtitle: mov_text (tx3g / 0x67337874), 1280x60, 0 kb/s (default)
Metadata:
handler_name : SubtitleHandler
****************************************************************************
$ mplayer -vo null -ao null -frames 0 -identify movie.mp4
****************************************************************************
MPlayer2 2.0-701-gd4c5b7f-2ubuntu2 (C) 2000-2012 MPlayer Team
Playing movie.mp4.
Detected file format: QuickTime / MOV (libavformat)
ID_VIDEO_ID=0
[lavf] stream 0: video (h264), -vid 0
ID_AUDIO_ID=0
ID_AID_0_LANG=eng
[lavf] stream 1: audio (ac3), -aid 0, -alang eng
ID_SUBTITLE_ID=0
ID_SID_0_LANG=eng
[lavf] stream 2: subtitle (movtext), -sid 0, -slang eng
Clip info:
major_brand: mp42
ID_CLIP_INFO_NAME0=major_brand
ID_CLIP_INFO_VALUE0=mp42
minor_version: 512
ID_CLIP_INFO_NAME1=minor_version
ID_CLIP_INFO_VALUE1=512
compatible_brands: isomiso2avc1mp41
ID_CLIP_INFO_NAME2=compatible_brands
ID_CLIP_INFO_VALUE2=isomiso2avc1mp41
encoder: HandBrake 0.10.
1 2015030800
ID_CLIP_INFO_NAME3=encoder
ID_CLIP_INFO_VALUE3=HandBrake 0.10.
1 2015030800
ID_CLIP_INFO_N=4
Load subtitles in .
ID_FILENAME=movie.mp4
ID_DEMUXER=lavfpref
ID_VIDEO_FORMAT=H264
ID_VIDEO_BITRATE=791840
ID_VIDEO_WIDTH=1280
ID_VIDEO_HEIGHT=546
ID_VIDEO_FPS=23.976
ID_VIDEO_ASPECT=0.0000
ID_AUDIO_FORMAT=8192
ID_AUDIO_BITRATE=160000
ID_AUDIO_RATE=48000
ID_AUDIO_NCH=2
ID_START_TIME=0.00
ID_LENGTH=8304.32
ID_SEEKABLE=1
ID_CHAPTERS=0
[ass] auto-open
Selected video codec: H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 [libavcodec]
ID_VIDEO_CODEC=ffh264
Selected audio codec: ATSC A/52A (AC-3) [libavcodec]
AUDIO: 48000 Hz, 2 ch, floatle, 160.0 kbit/5.21% (ratio: 20000->384000)
ID_AUDIO_BITRATE=160000
ID_AUDIO_RATE=48000
ID_AUDIO_NCH=2
AO: [null] 48000Hz 2ch floatle (4 bytes per sample)
ID_AUDIO_CODEC=ffac3
Starting playback...
Exiting... (End of file)
ID_EXIT=EOF
****************************************************************************