VideoHelp Forum




+ Reply to Thread
Results 1 to 10 of 10
  1. Member
    Join Date
    May 2002
    Location
    Germany
    Search Comp PM
    Converting from avi to flv, the first pass will convert the whole film, but the second pass only encodes 21 seconds of each individual fille. Very strange. here is the script I was playing with:

    Code:
    for %%a in ("*.avi") do ffmpeg -y -i "%%a" -s 1920x1080 -f flv -acodec libmp3lame -ab 128000 -ar 44100 -vcodec flv -pass 1 "%%a".a.flv"
    for %%a in ("*.avi") do ffmpeg -y -i "%%a" -s 1920x1080 -f flv -acodec libmp3lame -ab 128000 -ar 44100 -vcodec flv -pass 2 "%%a".flv"
    if exist *.a.flv del *.a.flv
    if exist *.log del *.log
    pause
    Quote Quote  
  2. I'm a MEGA Super Moderator Baldrick's Avatar
    Join Date
    Aug 2000
    Location
    Sweden
    Search Comp PM
    Have you just tried without the foor loop and see if you get same problem?


    And the flv codec is crap. Try instead x264. It's supported in flv or output as mp4. Both are supported in flash. YOu might need a newer ffmpeg though.
    Quote Quote  
  3. Member
    Join Date
    May 2002
    Location
    Germany
    Search Comp PM
    "foor loop"? hmm. I dont understand that. I do have the new ffmpeg. I have already tried encoding to x264 avi and have decreased the filesize in half, but have noticed that flv is smaller with the good quality.
    Quote Quote  
  4. I'm a MEGA Super Moderator Baldrick's Avatar
    Join Date
    Aug 2000
    Location
    Sweden
    Search Comp PM
    The for %% in. Just run the ffmpeg command in the command prompt and see if any erros

    But x264 is MUCH better than flv. Try google for ffmpeg x264 examples for some good settings to use.
    Quote Quote  
  5. Member
    Join Date
    Sep 2007
    Location
    Europe
    Search PM
    Originally Posted by zzyzx2 View Post
    I do have the new ffmpeg.
    If you insist on using flv, try an older FFmpeg version.

    This is my experience...

    version 30656 writes a log file at the first pass.
    version 31572 and higher writes a empty log file.

    I looks like flv 2-pass support is broken or perhaps deprecated.
    Quote Quote  
  6. Member
    Join Date
    May 2002
    Location
    Germany
    Search Comp PM
    Every time I try the x264 codec it keeps giving me an error abput presets. I have downloaded the ffmpeg obviously and cannot get the presets to work. Also, there are only around 10 presets and none of them match any of the presets that are in batch scripts that I have tried using.


    I have alot of video from when I was overseas, but its taking up too mush room. I want to compress it with excellent quality, but smaller filesize..
    Quote Quote  
  7. Member
    Join Date
    Mar 2008
    Location
    United States
    Search Comp PM
    If you don't mind using a GUI, give Staxrip 1171 a try. you can start with a preset and modify as necessary.

    Jagabo recently made a post where he had come up with some settings that he felt offered the best compromise
    between encoding speed, quality and file size.
    Quote Quote  
  8. Member
    Join Date
    May 2002
    Location
    Germany
    Search Comp PM
    Originally Posted by davexnet View Post
    If you don't mind using a GUI, give Staxrip 1171 a try. you can start with a preset and modify as necessary.

    Jagabo recently made a post where he had come up with some settings that he felt offered the best compromise
    between encoding speed, quality and file size.

    This requires a dgdecnv license file. also the trial that i downloaded says there is a dll missing. Thanks anyway
    Quote Quote  
  9. Member
    Join Date
    Mar 2008
    Location
    United States
    Search Comp PM
    Staxrip itself doesn't require any license. Staxrip attempts to use the Avisynth tool you mentioned (third party)
    which does require a license. Staxrip can be configured not to use it, problem solved.
    There is no trial, it's free software.

    Not sure about the dll, unless it's related to dgdecnv.

    See the comments on this page to disable the usage of dgdecnv:
    http://www.techsupportalert.com/best-free-video-encoder.htm
    Last edited by davexnet; 8th Oct 2011 at 20:47.
    Quote Quote  
  10. Member
    Join Date
    May 2002
    Location
    Germany
    Search Comp PM
    AHHHH, ok now I got it fixed. Thanks. Am trying it now alongside AVANTI.
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!