Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#1410 closed defect (needs_more_info)

Need Help Using FFMPEG with AVISYNTH

Reported by: baoky Owned by:
Priority: normal Component: undetermined
Version: git-master Keywords: avisynth
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Need Help Using FFMPEG with AVISYNTH

I installed avisynth and i created a file call video.avs

DirectShowSource?("C:\video\ft133.mkv")
TextSub?("C:\video\ft133_track3_und.ass")

I trying to convert this mkv file with it subtitle extracted into mp4 or avi video with the subtitle re-encode in.

Command i use is

C:\ffmpeg\ffmpeg-20120601-git-8a0efa9-win64-static\bin>ffmpeg -i "C:\video\video.avs" -acodec copy -vcodec copy "C:\video\output.mp4"

However i receive this error
[avs @ 0000000001daa9a0] AVIFileOpen failed with error -2147221164C:\video\video.avs: Operation not permitted

anyone can help me?

Change History (7)

comment:1 Changed 4 years ago by cehoyos

  • Component changed from FFmpeg to undetermined
  • Priority changed from important to normal

Please provide complete, uncut console output together with the command line.

comment:2 Changed 4 years ago by baoky

Command i use is

C:\ffmpeg\ffmpeg-20120601-git-8a0efa9-win64-static\bin>ffmpeg -i "C:\video\video.avs" -acodec copy -vcodec copy "C:\video\output.mp4"

ffmpeg version N-41195-g8a0efa9 Copyright (c) 2000-2012 the FFmpeg developers
  built on May 31 2012 20:08:24 with gcc 4.6.3
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-ru
ntime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r --enable-libass
 --enable-libcelt --enable-libopencore-amrnb --enable-libopencore-amrwb --enable
-libfreetype --enable-libgsm --enable-libmp3lame --enable-libnut --enable-libope
njpeg --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libth
eora --enable-libutvideo --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-
libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --e
nable-zlib
  libavutil      51. 55.100 / 51. 55.100
  libavcodec     54. 23.100 / 54. 23.100
  libavformat    54.  6.101 / 54.  6.101
  libavdevice    54.  0.100 / 54.  0.100
  libavfilter     2. 77.100 /  2. 77.100
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0. 15.100 /  0. 15.100
  libpostproc    52.  0.100 / 52.  0.100
[avs @ 0000000001e1a9c0] AVIFileOpen failed with error -2147221164C:\video\video
.avs: Operation not permitted

my video.avs is this content

DirectShowSource??("C:\video\ft133.mkv")
TextSub??("C:\video\ft133_track3_und.ass")

Last edited 4 years ago by cehoyos (previous) (diff)

comment:3 Changed 4 years ago by cehoyos

  • Keywords avisynth added
  • Status changed from new to open
  • Version changed from unspecified to git-master

comment:4 Changed 4 years ago by richardpl

Does this still happens?

comment:5 Changed 4 years ago by richardpl

  • Resolution set to needs_more_info
  • Status changed from open to closed

Please reopen if bug is still reproducible.

comment:6 Changed 4 years ago by taur

I can confirm this bug still persists,
I am using ffmpeg-20130209-git-969039e-win64-static on windows xp x64

ffmpeg -i "C:\test.avs" -s 800x600 -vcodec copy C:\out.avi

Version 1, edited 4 years ago by taur (previous) (next) (diff)

comment:7 Changed 4 years ago by richardpl

And it happens in any directory? like your Desktop?
It looks to me permission requested in demuxer are wrong.

Note: See TracTickets for help on using tickets.