VideoHelp Forum

Try DVDFab and download streaming video, copy, convert or make Blu-rays,DVDs! Download free trial !
+ Reply to Thread
Results 1 to 3 of 3
Thread
  1. Member
    Join Date
    Dec 2005
    Location
    Canada
    Search Comp PM
    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
    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:

    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
    Quote Quote  
  2. video is not sync, but I got sound here,.. using lav filters and MPC-HC
    (ffplay and 'mplayer -demuxer lavf' also play the file with audio)
    Quote Quote  
  3. Member
    Join Date
    Dec 2005
    Location
    Canada
    Search Comp PM
    OK, thank you;it must be the delay that's doing it.
    Quote Quote  



Similar Threads