I created a video clip using ffmpeg (vcodec: mpeg2video, acodec: AC3 5.1).
The file can be played normally on Ubuntu, but when I play it on an XP machine, there is no sound. I can play AC3 files and other movies with AC3 sound. I already tried many codec packs and many players.
When I compare the MediaInfo tab of the Properties window of the file with another playable movie, I see that the Audio Identifier of the audio stream in my file is 0x80 while it is 0x02 in the other movie.
So I guess that's why players on XP can't recognize the audio codec. When I use an MKV container instead of MPEG (still mpeg2video codec), then the result is OK on both Ubuntu and XP (with the correct Audio ID). I really need MPEG though.
Any idea?
This is the command I used:
~/ffmpeg/ffmpeg/ffmpeg -loop_input \
-t 97 -r 30000/1001 -i v%4d.tga -i final.ac3 \
-vcodec mpeg2video -qscale 1 -s 400x400 -r 30000/1001 \
-acodec copy -y out6.mpeg 2
This is the output of mediainfo (on Ubuntu):
General
Complete name : out6.mpeg
Format : MPEG-PS
File size : 6.86 MiB
Duration : 1mn 37s
Overall bit rate : 593 Kbps
Video
ID : 224 (0xE0)
Format : MPEG Video
Format version : Version 2
Format profile : Main@Main
Format settings, BVOP : No
Format settings, Matrix : Default
Format_Settings_GOP : M=1, N=12
Duration : 1mn 37s
Bit rate mode : Variable
Bit rate : 122 Kbps
Width : 400 pixels
Height : 400 pixels
Display aspect ratio : 1.000
Frame rate : 29.970 fps
Resolution : 8 bits
Colorimetry : 4:2:0
Scan type : Progressive
Bits/(Pixel*Frame) : 0.025
Stream size : 1.41 MiB (21%)
Audio
ID : 128 (0x80)
Format : AC-3
Format/Info : Audio Coding 3
Duration : 1mn 36s
Bit rate mode : Constant
Bit rate : 448 Kbps
Channel(s) : 6 channels
Channel positions : Front: L C R, Side: L R, LFE
Sampling rate : 44.1 KHz
Stream size : 5.18 MiB (75%)