theophile
14th April 2009, 06:37
First of all, I did not encode this file. The source is a streaming website. Also, I am using Ubuntu Linux, with versions of x264 and ffmpeg built from source.
If I try to play the file with mplayer or ffmpeg, I get this error and the player process dies:
[h264 @ 0x8d8bd80]AVC: Consumed only 1 bytes instead of 7714
[h264 @ 0x8d8bd80]no frame!
[h264 @ 0x8d8bd80]AVC: Consumed only 1 bytes instead of 7573
[h264 @ 0x8d8bd80]no frame!
[h264 @ 0x8d8bd80]AVC: Consumed only 1 bytes instead of 7487
[h264 @ 0x8d8bd80]no frame!
[h264 @ 0x8d8bd80]AVC: Consumed only 1 bytes instead of 8533
[h264 @ 0x8d8bd80]no frame!
[h264 @ 0x8d8bd80]AVC: Consumed only 1 bytes instead of 8325
[h264 @ 0x8d8bd80]no frame!
[h264 @ 0x8d8bd80]AVC: Consumed only 1 bytes instead of 7656
[h264 @ 0x8d8bd80]no frame!
[h264 @ 0x8d8bd80]AVC: Consumed only 1 bytes instead of 8213
[h264 @ 0x8d8bd80]no frame!
Using mediainfo, the file looks like this:
General
Complete name : 720pA.flv
Format : Flash Video
File size : 413 MiB
_width : 800.000
_height : 450.000
_framerate : 29.970
_videocodecid : 7.000
_videodatarate : 2100.000
_audiodatarate : 48.000
Video
Format : AVC
Format/Info : Advanced Video Codec
Format profile : Main@L3.1
Format settings, CABAC : No
Format settings, ReFrames : 1 frame
Muxing mode : Container profile=Unknown@3.1
Width : 800 pixels
Height : 450 pixels
Display aspect ratio : 16/9
Frame rate mode : Variable
Frame rate : 29.970 fps
Standard : Component
Resolution : 24 bits
Colorimetry : 4:2:0
Scan type : Progressive
Audio
Format : AAC
Format/Info : Advanced Audio Codec
Format version : Version 4
Format profile : Main
Channel(s) : 1 channel
Channel positions : C
Sampling rate : 48.0 KHz
Resolution : 16 bits
If I play using the -novideo option in mplayer, I get sound.
Now, if I use the Windows program FLV Extract on the file, I can demux it into .264 and .aac streams. Played individually, these files work perfectly. In addition, FlowPlayer can play the original .flv file without a problem.
One thing I notice is the difference in how ffmpeg identifies the video stream of the original .flv as compared to the extracted .264. First, here's the info from the original .flv:
Seems stream 0 codec frame rate differs from container frame rate: 2000.00 (2000/1) -> 29.97 (30000/1001)
Input #0, flv, from '720pA.flv':
Duration: N/A, start: 71376.321000, bitrate: N/A
Stream #0.0: Video: h264, yuv420p, 29.97 tbr, 1k tbn, 2k tbc
Stream #0.1: Audio: aac, 48000 Hz, mono, s16
And here it is form the extracted .264:
Seems stream 0 codec frame rate differs from container frame rate: 59.94 (60000/1001) -> 29.97 (60000/2002)
Input #0, h264, from '720pA.264':
Duration: N/A, bitrate: N/A
Stream #0.0: Video: h264, yuv420p, 800x450 [PAR 1:1 DAR 16:9], 29.97 tbr, 1200k tbn, 59.94 tbc
I can see the differences but don't know what to make of it.
I've uploaded a smaller sample file (6.5MB) using the same container and producing the same errors as above. If it makes a difference, the original file extension on the server was .mp4. The file is located here:
http://monopedilos.com/testfile.flv
Can anyone help me figure out why mplayer, ffmpeg, and vlc all choke on this file? My end goal is to figure out a way to play this file without remuxing it because I would like to be able to play it "live" as it streams.
Any assistance much appreciated. Thanks!
If I try to play the file with mplayer or ffmpeg, I get this error and the player process dies:
[h264 @ 0x8d8bd80]AVC: Consumed only 1 bytes instead of 7714
[h264 @ 0x8d8bd80]no frame!
[h264 @ 0x8d8bd80]AVC: Consumed only 1 bytes instead of 7573
[h264 @ 0x8d8bd80]no frame!
[h264 @ 0x8d8bd80]AVC: Consumed only 1 bytes instead of 7487
[h264 @ 0x8d8bd80]no frame!
[h264 @ 0x8d8bd80]AVC: Consumed only 1 bytes instead of 8533
[h264 @ 0x8d8bd80]no frame!
[h264 @ 0x8d8bd80]AVC: Consumed only 1 bytes instead of 8325
[h264 @ 0x8d8bd80]no frame!
[h264 @ 0x8d8bd80]AVC: Consumed only 1 bytes instead of 7656
[h264 @ 0x8d8bd80]no frame!
[h264 @ 0x8d8bd80]AVC: Consumed only 1 bytes instead of 8213
[h264 @ 0x8d8bd80]no frame!
Using mediainfo, the file looks like this:
General
Complete name : 720pA.flv
Format : Flash Video
File size : 413 MiB
_width : 800.000
_height : 450.000
_framerate : 29.970
_videocodecid : 7.000
_videodatarate : 2100.000
_audiodatarate : 48.000
Video
Format : AVC
Format/Info : Advanced Video Codec
Format profile : Main@L3.1
Format settings, CABAC : No
Format settings, ReFrames : 1 frame
Muxing mode : Container profile=Unknown@3.1
Width : 800 pixels
Height : 450 pixels
Display aspect ratio : 16/9
Frame rate mode : Variable
Frame rate : 29.970 fps
Standard : Component
Resolution : 24 bits
Colorimetry : 4:2:0
Scan type : Progressive
Audio
Format : AAC
Format/Info : Advanced Audio Codec
Format version : Version 4
Format profile : Main
Channel(s) : 1 channel
Channel positions : C
Sampling rate : 48.0 KHz
Resolution : 16 bits
If I play using the -novideo option in mplayer, I get sound.
Now, if I use the Windows program FLV Extract on the file, I can demux it into .264 and .aac streams. Played individually, these files work perfectly. In addition, FlowPlayer can play the original .flv file without a problem.
One thing I notice is the difference in how ffmpeg identifies the video stream of the original .flv as compared to the extracted .264. First, here's the info from the original .flv:
Seems stream 0 codec frame rate differs from container frame rate: 2000.00 (2000/1) -> 29.97 (30000/1001)
Input #0, flv, from '720pA.flv':
Duration: N/A, start: 71376.321000, bitrate: N/A
Stream #0.0: Video: h264, yuv420p, 29.97 tbr, 1k tbn, 2k tbc
Stream #0.1: Audio: aac, 48000 Hz, mono, s16
And here it is form the extracted .264:
Seems stream 0 codec frame rate differs from container frame rate: 59.94 (60000/1001) -> 29.97 (60000/2002)
Input #0, h264, from '720pA.264':
Duration: N/A, bitrate: N/A
Stream #0.0: Video: h264, yuv420p, 800x450 [PAR 1:1 DAR 16:9], 29.97 tbr, 1200k tbn, 59.94 tbc
I can see the differences but don't know what to make of it.
I've uploaded a smaller sample file (6.5MB) using the same container and producing the same errors as above. If it makes a difference, the original file extension on the server was .mp4. The file is located here:
http://monopedilos.com/testfile.flv
Can anyone help me figure out why mplayer, ffmpeg, and vlc all choke on this file? My end goal is to figure out a way to play this file without remuxing it because I would like to be able to play it "live" as it streams.
Any assistance much appreciated. Thanks!