Jump to content

Ams 8'de Video Çevirme


turkoglu98
 Share

Recommended Posts

[color="#8B0000"]18 yaş altı arkadaşların hayal dünyası çok genişmiş. AMS'yi C dili sanmışlar. Bağımsız FFMpeg kütüphanesini yoklayın, onunla yapılabiliyordu sanki.[/color]

Edited by DivaneTR
Link to comment
Share on other sites

[codebox]create = function()

if(sys.file == "" or sys.output == "") then
Dialog.Message("Hata!", "Dosya yada klasör seçmediniz!!");
else
local imgSay = Dialog.Input("Oluştur", "Oluşturulacak resim sayısı", "", MB_ICONQUESTION);
if (imgSay ~= "") or (imgSay ~= "CANCEL") then
local fileName = String.SplitPath(sys.file);
for i=1,imgSay do
local args = "-vframes 1 -ss "..Math.Random(10, 999)..".001 -i "..sys.file.." "..sys.output.."\\"..fileName.Filename.."-"..i..".jpg";
File.Run("AutoPlay\\Docs\\ffmpeg.exe", args, "", SW_HIDE, true);
Progress.SetCurrentPos("Progress1", (100 / imgSay) * i);
end
Dialog.Message("Başarılı", "Resimler klasöre çıkarıldı!");
end
end

end[/codebox]


Üstadlarım bu kodu jpg değilde mp3 kodlarına göre uyarlarsak videodan mp3 çıkarır bence.

Link to comment
Share on other sites

[quote name='pairs' date='19 July 2012 - 20:28 ' timestamp='1342718920' post='1222737']
ffmpeg in commandline komutlarına bakarsanız video bile dönüştürebilirsiniz arkadaşlar :D
[/quote]

Abi onlara nsaıl bakıcaz? :D DivaneTR abinin bi çalışması vardı ama başka bir programla nsıl bulabiliriz?

Link to comment
Share on other sites

  • 1 ay sonra...

Üstadlarım ben denedim yaptım ama cmd de kendimiz elle yazmamız gerekiyor

öncelikle videonun bulunduğu dizini

cd "videonun bulunduğu dizin"
sonra birkaç yazı çıkacak sonra
ffmpeg -i dosyaadi.avi
sonra
ffmpeg -i dosyaadi.avi dosyaadi.mp3

olarak yazınca oluyor denedim ama bunu ams ye uyarlamak lazım çok denedim ama olmadı..

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...