Opened 13 years ago

Closed 12 years ago

Last modified 12 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 by Carl Eugen Hoyos, 13 years ago

Component: FFmpegundetermined
Priority: importantnormal

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

comment:2 by baoky, 13 years ago

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 13 years ago by Carl Eugen Hoyos (previous) (diff)

comment:3 by Carl Eugen Hoyos, 13 years ago

Keywords: avisynth added
Status: newopen
Version: unspecifiedgit-master

comment:4 by Elon Musk, 12 years ago

Does this still happens?

comment:5 by Elon Musk, 12 years ago

Resolution: needs_more_info
Status: openclosed

Please reopen if bug is still reproducible.

comment:6 by taur, 12 years ago

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

with:
ffmpeg -loglevel debug -i "C:\test.avs" -s 800x600 -vcodec copy C:\out.avi
it says:
[avisynth @ 000000000212aca0] AVIFileOpen failed with error -2147221164
[AVIOContext @ 0000000002137d80] Statistics: 185 bytes read, 0 seeks
C:\test.avs: Operation not permitted

Last edited 12 years ago by taur (previous) (diff)

comment:7 by Elon Musk, 12 years ago

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.