Mercurial > mplayer.hg
comparison mencoder.c @ 14757:7a2adc5e8928
initial, extremely experimental, libavformat muxer; don't expect anything to work yet
author | nicodvb |
---|---|
date | Mon, 21 Feb 2005 23:18:31 +0000 |
parents | 4b02f759f529 |
children | b2cb91b9b4e0 |
comparison
equal
deleted
inserted
replaced
14756:0c755d34ce18 | 14757:7a2adc5e8928 |
---|---|
744 force_fourcc[2], force_fourcc[3]); | 744 force_fourcc[2], force_fourcc[3]); |
745 mp_msg(MSGT_FIXME, MSGL_FIXME, MSGTR_ForcingOutputFourcc, | 745 mp_msg(MSGT_FIXME, MSGL_FIXME, MSGTR_ForcingOutputFourcc, |
746 mux_v->bih->biCompression, (char *)&mux_v->bih->biCompression); | 746 mux_v->bih->biCompression, (char *)&mux_v->bih->biCompression); |
747 } | 747 } |
748 | 748 |
749 if(muxer->fix_stream_parameters) | |
750 muxer_stream_fix_parameters(muxer,mux_v); | |
749 //if(demuxer->file_format!=DEMUXER_TYPE_AVI) pts_from_bps=0; // it must be 0 for mpeg/asf! | 751 //if(demuxer->file_format!=DEMUXER_TYPE_AVI) pts_from_bps=0; // it must be 0 for mpeg/asf! |
750 | 752 |
751 // ============= AUDIO =============== | 753 // ============= AUDIO =============== |
752 if(sh_audio){ | 754 if(sh_audio){ |
753 | 755 |
1060 | 1062 |
1061 if(audio_delay!=0.0){ | 1063 if(audio_delay!=0.0){ |
1062 mux_a->h.dwStart=audio_delay*mux_a->h.dwRate/mux_a->h.dwScale; | 1064 mux_a->h.dwStart=audio_delay*mux_a->h.dwRate/mux_a->h.dwScale; |
1063 mp_msg(MSGT_FIXME, MSGL_FIXME, MSGTR_SettingAudioDelay,mux_a->h.dwStart*mux_a->h.dwScale/(float)mux_a->h.dwRate); | 1065 mp_msg(MSGT_FIXME, MSGL_FIXME, MSGTR_SettingAudioDelay,mux_a->h.dwStart*mux_a->h.dwScale/(float)mux_a->h.dwRate); |
1064 } | 1066 } |
1067 if(muxer->fix_stream_parameters) | |
1068 muxer_stream_fix_parameters(muxer,mux_a); | |
1065 | 1069 |
1066 } // if(sh_audio) | 1070 } // if(sh_audio) |
1067 | 1071 |
1068 mp_msg(MSGT_FIXME, MSGL_FIXME, MSGTR_WritingAVIHeader); | 1072 mp_msg(MSGT_FIXME, MSGL_FIXME, MSGTR_WritingAVIHeader); |
1069 if (muxer->cont_write_header) muxer_write_header(muxer); | 1073 if (muxer->cont_write_header) muxer_write_header(muxer); |