Part of Slepp's ProjectsPastebinTURLImagebinFilebin
Feedback -- English French German Japanese
Create Upload Newest Tools Donate
Sign In | Create Account

Someone
Friday, December 29th, 2006 at 11:32:58pm UTC 

  1. @echo off
  2.  
  3. rem To use, simply drag and drop a video onto this .bat file, and it will
  4. rem be transcoded to a file with the same filename with .m2v appended.
  5.  
  6. rem Some files will not be successfully transcoded. This is due to the
  7. rem fact that mpeg2 video only allows several specific framerates.
  8. rem If your source file frame rate doesn't comply, try adding fps=25
  9. rem or fps=29.97 in #transcode{...,<add it here>}:es{...}
  10.  
  11. rem Set width and height below to match your player and the file
  12.  
  13. set WIDTH=176
  14. set HEIGHT=128
  15.  
  16. rem Recommended sizes for various players and video aspects:
  17.  
  18. rem Players                        LCD Size     4:3 Video     16:9 Video
  19. rem iriver H300 & ipod Color/Photo 220x176      224x176       224x128
  20. rem ipod Nano                      176x132      176x128       176x96
  21. rem ipod Video                     320x240      320x240       320x176
  22. rem iaudio X5                      160x128      160x128       160x96
  23.  
  24. rem You may want to change the path to vlc.exe below if it is not installed
  25. rem in this location
  26.  
  27. "C:\Progra~1\VideoLAN\VLC\vlc.exe" %1  --sout=#transcode{vcodec=mp2v,acodec=mp3,vb=256,fps=25,ab=128,samplerate=44100,width=%WIDTH%,height=%HEIGHT%}:std{access=file,mux=ps,dst=%1.mpg}

Update the Post

Either update this post and resubmit it with changes, or make a new post.

You may also comment on this post.

update paste below
details of the post (optional)

Note: Only the paste content is required, though the following information can be useful to others.

Save name / title?

(space separated, optional)



Please note that information posted here will expire by default in one month. If you do not want it to expire, please set the expiry time above. If it is set to expire, web search engines will not be allowed to index it prior to it expiring. Items that are not marked to expire will be indexable by search engines. Be careful with your passwords. All illegal activities will be reported and any information will be handed over to the authorities, so be good.

comments powered by Disqus
worth-right
worth-right
worth-right