Welcome Guest ( Log In | Register )


Important

The forums will be closing permanently the weekend of March 15th. Please see the notice in the announcements forum for details.

 
Mpg External Codec Problem, ffmpeg output has bad audio
« Next Oldest | Next Newest » Track this topic | Email this topic | Print this topic
malky
Posted: Feb 24 2013, 04:38 PM


Advanced Member


Group: Members
Posts: 290
Member No.: 22386
Joined: 6-November 07



Converting an avi to mpg using the external codec (ffmpeg), the muxed audio doesn't play in WMP or VLC.
The audio will play in MPC and VirtualDub.
MediaInfo lists the audio, but when the mpg is run through DGIndex, it lists multiple DTS files.
Here are the settings used (Video,Audio,Muxer) and a link to the output and source.


-f rawvideo -s %(width)x%(height) -r %(fpsnum)/%(fpsden) -i - -vcodec mpeg2video -bf 2 -b 3000k "%(tempvideofile)"

-i - "%(tempaudiofile)" -vn -f ac3_fixed -ar %(samplingrate) -ac %(channels) -ab 192k

-i "%(tempvideofile)" -i "%(tempaudiofile)" -vcodec copy -acodec copy "%(outputname)"

http://www.mediafire.com/?maedqgamsbdezdh
http://www.mediafire.com/download.php?5k2n8gn95ypb1ln
Note that if only the audio is output there is no problem.
Only when it gets muxed.
 
    Top
malky
Posted: Feb 24 2013, 08:13 PM


Advanced Member


Group: Members
Posts: 290
Member No.: 22386
Joined: 6-November 07



Resolved;added -f vob to muxer command line after -acodec copy.
 
    Top
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
1 replies since Feb 24 2013, 04:38 PM Track this topic | Email this topic | Print this topic

<< Back to Codec Discussion