Video Conversion info

Moderator: Ken Berry

Post Reply
Shohreh
Posts: 57
Joined: Thu Jul 24, 2014 11:55 pm
operating_system: Windows 7 Ultimate
System_Drive: C
32bit or 64bit: 32 Bit

Video Conversion info

Post by Shohreh »

Thanks for the infos.

I'll piggy-back on the thread in case any NT expert is lurking around here.

I need to convert several MOV files into MP4, while converting the audio track as well, but the code I used from here doesn't seem to work:

Code: Select all

c:\>for %%A IN (*.mov) DO ffmpeg -i "%%A" -c:v copy -c:a libmp3lame -ab 128000 -ar 44100 -ac 2 -shortest -f mp4 "%%A.mp4"
%%A was unexpected at this time.

c:\>for "%%A" IN (*.mov) DO ffmpeg -i "%%A"-c:v copy -c:a libmp3lame -ab 128000 -ar 44100 -ac 2 -shortest -f mp4 "%%A.mp4"
"%%A" was unexpected at this time.
Any idea?

Thank you.
canuck
Posts: 2037
Joined: Wed Mar 14, 2012 3:28 pm
operating_system: Windows 8.1
System_Drive: C
32bit or 64bit: 64 Bit
Location: Deep River, Ontario, Canada

Re: [X5] Removing all deleted files from thumbnails?

Post by canuck »

Shohreh wrote:Thanks for the infos.

I'll piggy-back on the thread in case any NT expert is lurking around here.

I need to convert several MOV files into MP4, while converting the audio track as well, but the code I used from here doesn't seem to work:

Code: Select all

c:\>for %%A IN (*.mov) DO ffmpeg -i "%%A" -c:v copy -c:a libmp3lame -ab 128000 -ar 44100 -ac 2 -shortest -f mp4 "%%A.mp4"
%%A was unexpected at this time.

c:\>for "%%A" IN (*.mov) DO ffmpeg -i "%%A"-c:v copy -c:a libmp3lame -ab 128000 -ar 44100 -ac 2 -shortest -f mp4 "%%A.mp4"
"%%A" was unexpected at this time.
Any idea?

Thank you.
Poor idea to piggy-back to a non-topic related post.

You would have been better off to start a new thread.
Shohreh
Posts: 57
Joined: Thu Jul 24, 2014 11:55 pm
operating_system: Windows 7 Ultimate
System_Drive: C
32bit or 64bit: 32 Bit

Re: [X5] Removing all deleted files from thumbnails?

Post by Shohreh »

Yes.

Problem solved:

Code: Select all

for %A IN (*.mov) DO ffmpeg -i "%A" -c:v copy -c:a libmp3lame -ab 128000 -ar 44100 -ac 2 -shortest -f mp4 "%A.mp4"
(source)
BrianCee
Posts: 5487
Joined: Sat Jan 21, 2012 1:04 pm
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
ram: 8GB
Hard_Drive_Capacity: 4TB
Monitor/Display Make & Model: HP
Corel programs: VS X4,X5,X6,X7,X8, X9, X10, 2018 , 2019
Location: London England UK

Re: Video Conversion info

Post by BrianCee »

I do not know why you appended all this info about converting files to a topic about deleting thumbnails - I see no sense or reason for it.

Why can it not go in the MOV file topic - ?
Post Reply