[FFmpeg-user] AVI format for huge V210 content
Roberto Cano
roberto.cano at gmail.com
Fri Feb 21 14:27:14 CET 2014
Hi all,
I'm using a custom compiled version of ffmpeg 2.0.2 to filter an original
v210 movie with pcm_s24le audio track with 10 channels. The transcoding is
done to v210 at the output and I'm using a custom video filter to overlay
some letters.
I use the following command:
ffmpeg -i orig.avi -map0 -c copy -c:v v210 -vf custom=text=sample output
*.avi*
The original file is a 1:36:00 movie in v210 at 1920x1080, so really huge.
The output file has around 700GB (similar to the input). The thing is that
the output file lacks the audio track. What I see during the transcoding is
the following:
ffmpeg version 2.0.2 Copyright (c) 2000-2013 the FFmpeg developers
built on Jan 21 2014 11:47:48 with gcc 4.6 (Ubuntu/Linaro 4.6.3-1ubuntu5)
configuration: --enable-libx264 --enable-gpl --extra-cflags=-Ix264/
--extra-ldflags=-Lx264
libavutil 52. 38.100 / 52. 38.100
libavcodec 55. 18.102 / 55. 18.102
libavformat 55. 12.100 / 55. 12.100
libavdevice 55. 3.100 / 55. 3.100
libavfilter 3. 79.101 / 3. 79.101
libswscale 2. 3.100 / 2. 3.100
libswresample 0. 17.102 / 0. 17.102
libpostproc 52. 3.100 / 52. 3.100
[avi @ 0x24318a0] Stream #0: not enough frames to estimate rate; consider
increasing probesize
[avi @ 0x24318a0] Stream #1: not enough frames to estimate rate; consider
increasing probesize
Input #0, avi, from orig.avi':
Duration: 01:36:15.18, start: 0.000000, bitrate: 1072272 kb/s
Stream #0:0: Video: v210 (v210 / 0x30313276), yuv422p10le, 1920x1080,
23.98 tbr, 23.98 tbn, 23.98 tbc
Stream #0:1: Audio: pcm_s24le ([1][0][0][0] / 0x0001), 48000 Hz, 10
channels (FL+FR+FC+LFE+BL+BR+FLC+FRC+BC+SL), s32, 11520 kb/s
Output #0, avi, to 'output.avi':
Metadata:
ISFT : Lavf55.12.100
Stream #0:0: Video: v210 (v210 / 0x30313276), yuv422p10le, 1920x1080,
q=2-31, 200 kb/s, 23.98 tbn, 23.98 tbc
Stream #0:1: Audio: pcm_s24le ([1][0][0][0] / 0x0001), 48000 Hz, 10
channels (FL+FR+FC+LFE+BL+BR+FLC+FRC+BC+SL), 11520 kb/s
Stream mapping:
Stream #0:0 -> #0:0 (v210 -> v210)
Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
frame= 5 fps=0.0 q=0.0 size= 10kB time=00:00:00.20 bitrate=
380.6kbits/s
Invalid riff index 257 > 256
Invalid riff index 258 > 256
Invalid riff index 259 > 256
Invalid riff index 260 > 256
......
Invalid riff index 718 > 256
frame=138466 fps=6.5 q=0.0 Lsize=755842213kB time=01:36:15.18
bitrate=1072148.9kbits/s
video:747716400kB audio:8121355kB subtitle:0 global headers:0kB muxing
overhead 0.000590%
When checking the output file with ffmpeg again the output is:
ffmpeg version 2.0.2 Copyright (c) 2000-2013 the FFmpeg developers
built on Jan 21 2014 11:47:48 with gcc 4.6 (Ubuntu/Linaro 4.6.3-1ubuntu5)
configuration: --enable-libx264 --enable-gpl --extra-cflags=-Ix264/
--extra-ldflags=-Lx264
libavutil 52. 38.100 / 52. 38.100
libavcodec 55. 18.102 / 55. 18.102
libavformat 55. 12.100 / 55. 12.100
libavdevice 55. 3.100 / 55. 3.100
libavfilter 3. 79.101 / 3. 79.101
libswscale 2. 3.100 / 2. 3.100
libswresample 0. 17.102 / 0. 17.102
libpostproc 52. 3.100 / 52. 3.100
Input #0, avi, from 'output.avi':
Metadata:
encoder : Lavf55.12.100
Duration: 01:36:15.18, start: 0.000000, bitrate: 1072149 kb/s
Stream #0:0: Video: v210 (v210 / 0x30313276), yuv422p10le, 1920x1080,
23.98 tbr, 23.98 tbn, 23.98 tbc
At least one output file must be specified
So no audio in it.
I see two things here:
- AVI container complains about RIFF index. This is because every GB of
file the container need to add a RIFF index to the file, but this file is
huge and the maximum number of indices is 256, so after 256GB of file it
starts complaining. Could this affect the audio track?
- Generated file is 700GB. Is this too big for ffmpeg to add the audio
track? Is the audio track added at the end, or interleaved?
If I generate small snippets, around 3.7GB each then the audio track is
there for the AVI files.
Thank you very much for the help.
Kind regards,
Roberto Sosa Cano
More information about the ffmpeg-user
mailing list