Quantcast
Channel: VideoHelp Forum
Viewing all articles
Browse latest Browse all 45649

ffmpeg conversion:audio is listed - but it doesn't playback

$
0
0
Using ffmpeg to select and map the video and one audio stream from .ts file.
Adding gain to the audio and saving the new file.
MediaInfo lists the audio stream, but WMP, MPC, VLC can't play it.
Open the file in VirtualDub and it plays ok.???

Map information - I'm using 0:0 and 0:4
Quote:

ffmpeg -i football.ts

Input #0, mpegts, from 'football.ts':
Duration: 00:00:04.59, start: 53883.156100, bitrate: 17834 kb/s
Program 2
Stream #0:0[0x21]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p
, 1280x720 [SAR 1:1 DAR 16:9], 59.94 fps, 59.94 tbr, 90k tbn, 119.88 tbc
Stream #0:1[0x24]: Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, 5.1(side), fltp
, 384 kb/s
Program 3
Stream #0:3[0x31]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p
, 704x480 [SAR 10:11 DAR 4:3], 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc
Stream #0:4[0x34]: Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, stereo, fltp, 2
56 kb/s
Program 4
Stream #0:2[0x41]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p
, 704x480 [SAR 10:11 DAR 4:3], 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc
At least one output file must be specified
Here's the bat file I'm using:

Quote:

FOR %%A IN (*.ts) DO ffmpeg -i %%A -map 0:0 -map 0:4 -vcodec copy -acodec ac3 -ab 256k -af volume=9.0 %%A-loud.ts
Here's the output file with the audio that refuses to play:

http://www.mediafire.com/?hcgkcika30m18gx

Viewing all articles
Browse latest Browse all 45649

Trending Articles