Hi
I've just learned how to use VCDGear to extract MPEG-1 from DAT. I did it one by one. It was painful. I couldn't find how to do batch processing. Is it available? Can you show me how?
+ Reply to Thread
Results 1 to 21 of 21
-
-
I don't know about VCDGear but you can easily do this with ffmpeg. Install ffmpeg. Put the bat file in the attached ZIP file in a folder full of DAT files. Double click on it and it will remux them all of them to MPG.
Code:for %%F in (*.dat) do "c:\program files\ffmpeg\bin\ffmpeg.exe" -i %%F -vcodec copy -acodec copy "%%~dF%%~pF%%~nF.mpg" pause
-
Thanks for your solution. However, there is a problem. File name of my .DAT file is non English character (Unicode) and your script work only with English name. Any solution? See example for detail.
D:\1.RHM Mini Album>"d:\ffmpeg\bin\ffmpeg.exe" -i 07. ????? ????????????????????
? - ?? ???????????.DAT -vcodec copy -acodec copy "D:\1.RHM Mi
ni Album\07. ????? ????????????????????? - ?? ???????????.mpg
"
ffmpeg version N-58099-g9244a68 Copyright (c) 2000-2013 the FFmpeg developers
built on Nov 14 2013 18:01:43 with gcc 4.8.2 (GCC)
configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-av
isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enab
le-iconv --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetyp
e --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --ena
ble-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-l
ibopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libsp
eex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-aa
cenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavp
ack --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib
libavutil 52. 53.100 / 52. 53.100
libavcodec 55. 43.100 / 55. 43.100
libavformat 55. 21.100 / 55. 21.100
libavdevice 55. 5.100 / 55. 5.100
libavfilter 3. 91.100 / 3. 91.100
libswscale 2. 5.101 / 2. 5.101
libswresample 0. 17.104 / 0. 17.104
libpostproc 52. 3.100 / 52. 3.100
07.: No such file or directory
---------------------------
Sorry, It's not because of non English name but space. No space is allow.Last edited by Rexkh; 14th Nov 2013 at 19:24. Reason: Check the last line
-
Are you running XP? Try putting quotes around %%F:
Code:for %%F in (*.dat) do "g:\program files\ffmpeg\bin\ffmpeg.exe" -i "%%F" -vcodec copy -acodec copy "%%~dF%%~pF%%~nF.mpg"
-
There is another problem. Some conversion has problem and I didn't get full length of video. For example, 5 minute DAT but only 2 minute mpg. Is there parameter to fix the error. See attachment for detail.
-
1) In VCDGear click on Load button
2) Navigate to folder with DAT files
3) Select 1 dat file and select all files by Ctrl+A, click OPEN
4) Select output folder
5) Click Start -
Did you try it if it work? I did it from the beginning but it didn't work. I'm able select all files and it show batch processing dialog. As soon as I press start it doesn't work. It's complicated to explain. Please try once and you will understand.
-
What message error?
I upload video how I tested -
-
-
I'm sure all files are DAT. I'm using WinRAR 5 beta2. What does it has to do with WinRAR? It suppose to do conversion. Not compression.
Could you please confirm that you did success doing batch conversion from DAT to MPEG-1 with VCDGear? -
Last edited by jagabo; 15th Nov 2013 at 18:34.
-
It does to do with WinRAR
Please install WinRAR 4.20 and check VCDGear setting that directory of WinRAR correct then try again:
Did you see video file I uploaded?
Yes I confirm. -
Yes I have Teamviewer,
but its very simple:
1) Uninstall Winrar 5 by Control Panel -> Add or Remove Programs -> Winrar (usual its last in the list)
2)Download and Install Winrar 4.20 from link by clicking Download This Version : http://www.filehippo.com/download_winrar_32/12564/
that's itLast edited by roma_turok; 17th Nov 2013 at 03:26.
-
Newer WinRAR causes problem. I didn't expect that, but it did cause this problem. Thank, it work now. However, there is another problem. 100 of my DAT file name is in non English characters and VCDGear doesn't work with Unicode characters. It would be pain to rename all the file name back and forth. Any better suggestion?
-
Last edited by roma_turok; 16th Nov 2013 at 11:40.
Similar Threads
-
software for batch conversion with different filters?
By shokan22 in forum Newbie / General discussionsReplies: 0Last Post: 20th Oct 2013, 07:36 -
Batch Conversion with Different Settings
By Johnbil in forum Video ConversionReplies: 3Last Post: 9th Feb 2013, 08:56 -
Building a Batch Conversion Machine
By dj4monie in forum DVD RippingReplies: 11Last Post: 3rd Jun 2011, 22:29 -
Photoshop 7 Batch Conversion Questions..
By greenstrat in forum Video ConversionReplies: 2Last Post: 12th May 2011, 11:22 -
3ivx Batch Conversion Available? Possible Script?
By fitch.j in forum Newbie / General discussionsReplies: 2Last Post: 12th Jun 2009, 05:24