![]() ![]() With that in place, I was able to run a modification of the MediaInfo command specified in the previous post to get file-by-file duration information for each. (In a Windows 7 VM, I would instead have to make sure the exiting path ended with a semicolon ( ), and then type or paste the additional path after that.) Then OK out of there and reboot. I put that MediaInfo folder in the place where I wanted it, and then added MediaInfo.exe to the system’s PATH variable. To do that, I used Win-R > SystemPropertiesAdvanced > Advanced tab > Environment Variables button > System variables > select Path > Edit > New. I unzipped the download and saw that it contained, among other things, MediaInfo.exe. I didn’t see the command-line interface (CLI) version listed among the many versions of MediaInfo on the list of official Windows downloads, and the SourceForge page had an older version, so I got it from Softpedia instead. One way to do that would be to install MediaInfo and use its command line options. A better solution might leave the files where they are, and calculate their duration there. It could take a while to copy the files in question to a separate folder, if indeed you even have enough drive space to accommodate it. Of course, video files can become voluminous, and so can MP3s if you have enough of them. I wasn’t sure which media players might offer an option to output that information to a file. If not, I could run a Linux virtual machine, or boot a different computer with a Linux live USB drive, and give it access to that folder (housed, for instance, on a different USB drive). No doubt various Windows players would do the same. In Linux, I knew Audacious would do this, at least for audio files. This post describes how I found the answer.Ī simple solution was to put copies of those files, from different folders, into a single folder, and then add that folder to a playlist in a media player that showed duration of individual files and total duration of the playlist. I wondered how long they were, individually and collectively. Exiting.Ĭ:\Programs\MediaInfo_CLI\MediaInfo.exe -Inform=Video %%Format%% %1 > C:\TEMP\media.I had a bunch of audio files, in different folders on a Windows 10 system. : The original filename.flv will be used to create in the same directory.Įcho Source is not an. ![]() : abort WMP and play but will not transcode or stream in VLC. : These files from Hulu and YouTube etc do not play well with MPC, : This bat will convert AVC/AAC.flv files to AVC/AC3.mkv files. It is also possible that ffmpeg might repeatedly issue the message: xxxxxx]SBR not implemented for some files." This was fixed on May 5, 2010, so be sure to use ffmpeg release 23107 or later. Again you need the mediainfo.exe and ffmpeg.exe referenced in the above post. These files will then play and stream correctly. flv files to AVC/AC3.mkv format using the following BAT which only takes 2-3 minutes per hour of video. While VLC is OK, MPC-HC has problems jumping back and forth and WMP terminates! You may therefore want to permanently convert these. Note however that many players have problems with these avc/aac.flv files. To workaround a bug, the previous post includes the process to pre-transcode avc/aac.flv files prior issuing the streaming command. If exist C:\temp\VLCFlag.txt erase C:\temp\VLCFlag.txt : Remove Running Flag after first warning. If exist C:\TEMP\Video.mp4 erase C:\TEMP\Video.mp4 > nul If exist C:\TEMP\media.txt erase C:\TEMP\media.txt > nul "C:\Program Files (x86)\VideoLAN\VLC\vlc.exe" -vvv %1 -sout #transcode -sub-autodetect-fuzzy=4 mpg file with lower resolution 640 Mpeg-2 video and 5.1 AC-3 audio with embedded subtitles, you can use the following command: (Remove the (x86) if you are not on a 64 bit system) mp4 files where the video resolution can be up to 1280 and the audio up to 6 channels) In order to transcode and stream any video(including Hi-def AVC/AAC. Sometimes it is necessary, when a video player does not have the power to decode some video streams, as is the case with the WII, to use a more powerful server to transcode the files into a lesser format and stream the result to the player. It is now correct.įurther updated to add transcoding of. Note: This post has been rewritten a number of times, based on hours of testing. ![]()
0 Comments
Leave a Reply. |