Some FLV parsing functionality has been lost since 0.7.64. For the file attached, the entire audio stream, and two video details are missing, unlike earlier builds.
Here is some output from 0.7.61 for the audio portion and two video fields:
- audio.channel_position "Front C"
audio.channels 1
audio.codec_id 10
audio.format AAC
audio.profile LC
audio.sample_rate 22050
video.bitrate 500000
video.frame_rate 15
*
** The output from 0.7.64+ for all those fields is null. **
When viewing with the GUI, there is just the stream section "Audio", but nothing displayed within.
This is the output from FFprobe (for comparison):
- Stream #0:0: Video: h264 (Main), yuv420p, 1280x720, 15 tbr, 1k tbn, 30 tbc
Stream #0:1: Audio: aac, 22050 Hz, mono, fltp
nb_streams=2
format_name=flv
format_long_name=FLV (Flash Video)
start_time=0.000000
duration=1625.957000
size=256000
bit_rate=1259
TAG:moovPosition=40
TAG:avcprofile=77
TAG:avclevel=31
TAG:aacaot=2
TAG:videoframerate=15
TAG:audiochannels=1
*
I have attached a truncated version of the file (first 250k), because it was not created by me, but reproduces the issue just the same as the full file.
Due to improved analysis of validity of the file, but the file is not valid:
PreviousTagSize1 UI32 Size of previous tag, including its header. For FLV version 1, this value is 11 plus the DataSize of the previous tag.
"11" is forgotten by the muxer.
Anyway, it may happens, I adapted the code
20140310+