]> git.sesse.net Git - vlc/commitdiff
ffmpeg options were renamed
authorRafaël Carré <funman@videolan.org>
Tue, 17 Apr 2012 12:58:15 +0000 (08:58 -0400)
committerRafaël Carré <funman@videolan.org>
Tue, 17 Apr 2012 13:04:53 +0000 (09:04 -0400)
ffmpeg modules were renamed too some time ago

modules/gui/hildon/maemo_callbacks.c
modules/gui/macosx/simple_prefs.m
modules/stream_out/record.c
modules/stream_out/standard.c
projects/macosx/framework/Sources/VLCLibrary.m
share/lua/http/index.html
share/lua/http/mobile.html

index 831ce8c4b2e76f91781d01f02da12f858d722079..a26fed323cfa5be35251c58c22084ad7fc8d2cbe 100644 (file)
@@ -255,9 +255,9 @@ void dropframe_cb( GtkMenuItem *menuitem, gpointer user_data )
     intf_thread_t *p_intf = (intf_thread_t *)user_data;
 
     if( gtk_check_menu_item_get_active( GTK_CHECK_MENU_ITEM( menuitem ) ) )
-        config_PutInt( p_intf, "ffmpeg-skip-frame", 1 );
+        config_PutInt( p_intf, "avcodec-skip-frame", 1 );
     else
-        config_PutInt( p_intf, "ffmpeg-skip-frame", 0 );
+        config_PutInt( p_intf, "avcodec-skip-frame", 0 );
 }
 
 static int keyModifiersToVLC( GdkEventKey *event )
index f4b5152e9e7200ac12c86ff85a9f2259d50d589e..5fb4a1342f81f7d67eca74221814a40b45391b09 100644 (file)
@@ -618,7 +618,7 @@ static inline char * __config_GetLabel( vlc_object_t *p_this, const char *psz_na
     [self setupButton: o_input_avi_pop forIntList: "avi-index"];
 
     [self setupButton: o_input_rtsp_ckb forBoolValue: "rtsp-tcp"];
-    [self setupButton: o_input_skipLoop_pop forIntList: "ffmpeg-skiploopfilter"];
+    [self setupButton: o_input_skipLoop_pop forIntList: "avcodec-skiploopfilter"];
 
     [self setupButton: o_input_mkv_preload_dir_ckb forBoolValue: "mkv-preload-local-dir"];
 
@@ -955,7 +955,7 @@ static inline void save_module_list( intf_thread_t * p_intf, id object, const ch
         SaveIntList( o_input_avi_pop, "avi-index" );
 
         config_PutInt( p_intf, "rtsp-tcp", [o_input_rtsp_ckb state] );
-        SaveIntList( o_input_skipLoop_pop, "ffmpeg-skiploopfilter" );
+        SaveIntList( o_input_skipLoop_pop, "avcodec-skiploopfilter" );
 
         config_PutInt( p_intf, "mkv-preload-local-dir", [o_input_mkv_preload_dir_ckb state] );
 
index 2f31e9883e6da1dafca8ca2b484d2fdb62e35c79..d23d5212400773b203a1e691e1a363fe95df58ac 100644 (file)
@@ -276,7 +276,7 @@ static const muxer_properties_t p_muxers[] = {
     M( "wav", "wav", 1,         VLC_CODEC_U8,   VLC_CODEC_S16L,
                                 VLC_CODEC_S24L, VLC_CODEC_S32L, VLC_CODEC_FL32 ),
 
-    //M( "ffmpeg{mux=flac}", "flac", 1, VLC_CODEC_FLAC ), BROKEN
+    //M( "avformat{mux=flac}", "flac", 1, VLC_CODEC_FLAC ), BROKEN
 
     M( "ogg", "ogg", INT_MAX,   VLC_CODEC_VORBIS, VLC_CODEC_SPEEX,  VLC_CODEC_FLAC,
                                 VLC_CODEC_SUBT,   VLC_CODEC_THEORA, VLC_CODEC_DIRAC  ),
@@ -427,11 +427,11 @@ static void OutputStart( sout_stream_t *p_stream )
 #if 0
             // XXX ffmpeg sefault really easily if you try an unsupported codec
             // mov and avi at least segfault
-            { "ffmpeg{mux=avi}", "avi" },
-            { "ffmpeg{mux=mov}", "mov" },
-            { "ffmpeg{mux=mp4}", "mp4" },
-            { "ffmpeg{mux=nsv}", "nsv" },
-            { "ffmpeg{mux=flv}", "flv" },
+            { "avformat{mux=avi}", "avi" },
+            { "avformat{mux=mov}", "mov" },
+            { "avformat{mux=mp4}", "mp4" },
+            { "avformat{mux=nsv}", "nsv" },
+            { "avformat{mux=flv}", "flv" },
 #endif
             { NULL, NULL }
         };
index 8795afeb61e139e4830d851edad0357a9673d4a6..72efd209efe39f3c07e7f91a09bce8e01dc2f1f7 100644 (file)
@@ -227,9 +227,9 @@ static const char *getMuxFromAlias( const char *psz_alias )
         { "ps",  "ps" },
         { "mpeg1","mpeg1" },
         { "wav", "wav" },
-        { "flv", "ffmpeg{mux=flv}" },
-        { "mkv", "ffmpeg{mux=matroska}"},
-        { "webm", "ffmpeg{mux=webm}"},
+        { "flv", "avformat{mux=flv}" },
+        { "mkv", "avformat{mux=matroska}"},
+        { "webm", "avformat{mux=webm}"},
     };
 
     if( !psz_alias )
@@ -303,9 +303,9 @@ static void checkAccessMux( sout_stream_t *p_stream, char *psz_access,
         msg_Err( p_stream, "mov and mp4 mux are only valid with file output" );
     else if( !strncmp( psz_access, "udp", 3 ) )
     {
-        if( !strncmp( psz_mux, "ffmpeg", 6 ) )
+        if( !strncmp( psz_mux, "ffmpeg", 6 ) || !strncmp( psz_mux, "avformat", 8 ) )
         {   /* why would you use ffmpeg's ts muxer ? YOU DON'T LOVE VLC ??? */
-            char *psz_ffmpeg_mux = var_CreateGetString( p_stream, "ffmpeg-mux" );
+            char *psz_ffmpeg_mux = var_CreateGetString( p_stream, "sout-avformat-mux" );
             if( !psz_ffmpeg_mux || strncmp( psz_ffmpeg_mux, "mpegts", 6 ) )
                 msg_Err( p_stream, "UDP output is only valid with TS mux" );
             free( psz_ffmpeg_mux );
index a6787c636c781c98cc66758dec15fcb0750cc437..149746f217134bfb5619423e1571f3c5ad3c74ec 100644 (file)
@@ -61,8 +61,8 @@ static VLCLibrary * sharedLibrary = nil;
             [defaultParams addObject:@"--no-video-title-show"];                     // Don't show the title on overlay when starting to play
             [defaultParams addObject:@"--verbose=4"];                               // Let's not wreck the logs
 #if TARGET_OS_IPHONE
-            [defaultParams addObject:@"--ffmpeg-fast"];
-            [defaultParams addObject:@"--ffmpeg-skiploopfilter=all"];
+            [defaultParams addObject:@"--avcodec-fast"];
+            [defaultParams addObject:@"--avcodec-skiploopfilter=all"];
             [defaultParams addObject:@"--vout=vout_ios"];
             [defaultParams addObject:@"--aout=audioqueue"];
 #else
index 3538187fbc13de48983d6fc14886072dcf379f53..60ff53283fdb25eb030d9c9517fedbec97c8d28a 100644 (file)
                                                                if($('#viewContainer').css('display')=='none'){
                                                                        $('#buttonViewer').click();
                                                                }
-                                                               var defaultStream       =       'new Current broadcast enabled input "'+file+'" output #transcode{vcodec=FLV1,vb=4096,fps=25,scale=1,acodec=mp3,ab=512,samplerate=44100,channels=2}:std{access='+$('#stream_protocol').val()+',mux=ffmpeg{{mux=flv}},dst=0.0.0.0:'+$('#stream_port').val()+'/'+$('#stream_file').val()+'}';
+                                                               var defaultStream       =       'new Current broadcast enabled input "'+file+'" output #transcode{vcodec=FLV1,vb=4096,fps=25,scale=1,acodec=mp3,ab=512,samplerate=44100,channels=2}:std{access='+$('#stream_protocol').val()+',mux=avformat{{mux=flv}},dst=0.0.0.0:'+$('#stream_port').val()+'/'+$('#stream_file').val()+'}';
                                                                sendVLMCmd('del Current;'+defaultStream+';control Current play');
                                                                $('#player').attr('href',$('#stream_protocol').val()+'://'+$('#stream_host').val()+':'+$('#stream_port').val()+'/'+$('#stream_file').val());
                                                                current_que                     =       'stream';
index 9ad0b901d9c04aa6500d206f5adbfaa874c76a6e..d148eb67efab42f699b4b4092fd2ae0c1d92d5e9 100644 (file)
@@ -57,7 +57,7 @@
                                $('#buttonSout').click(function(){
                                        var file                        =         decodeURIComponent($('#buttonPlay').attr('mrl'));
                                        if(file){
-                                               var defaultStream       =       'new Current broadcast enabled input "'+file+'" output #transcode{vcodec=FLV1,vb=4096,fps=25,scale=1,acodec=mp3,ab=512,samplerate=44100,channels=2}:std{access='+$('#stream_protocol').val()+',mux=ffmpeg{{mux=flv}},dst=0.0.0.0:'+$('#stream_port').val()+'/'+$('#stream_file').val()+'}';
+                                               var defaultStream       =       'new Current broadcast enabled input "'+file+'" output #transcode{vcodec=FLV1,vb=4096,fps=25,scale=1,acodec=mp3,ab=512,samplerate=44100,channels=2}:std{access='+$('#stream_protocol').val()+',mux=avformat{{mux=flv}},dst=0.0.0.0:'+$('#stream_port').val()+'/'+$('#stream_file').val()+'}';
                                                sendVLMCmd('del Current;'+defaultStream+';control Current play','window.location="mobile_view.html"');
                                        }
                                        return false;