Results 1 to 3 of 3

Thread: converting videos/audio with ffmpeg/winff

  1. #1
    Join Date
    Mar 2009
    Location
    Adelaide, Australia
    Posts
    62

    Default converting videos/audio with ffmpeg/winff

    I have been trying to convert a mpg video with ffmpeg/winff and I keep getting the "Invalid data found when processing input" error message. I have tryed ffmpeg from packman as well as the opensuse repo's and get the same error message. I have tryed using just ffmpeg at the terminal without using winff as well. It does not matter if it's a video or just an audio file ffmpeg gives me the same error message. The video I'm trying to convert from mpg to avi is playable and same with the audio files I've tryed to convert (as a test of ffmpeg), I have never had this problem with ffmpeg before. I have all of the dependency's installed for ffmpeg, so I don't understand why it refuses to convert? I have cut & pasted the following from the terminal/Konsole:

    ffmpeg -y -i "/multimedia1/Videos/temp/TheDissociatives-SomewhereDownTheBarrel.mpg" -acodec libmp3lame -vcodec msmpeg4 -b:a 192k -b:v 1000k -vf scale=640:480 -ar 44100 "/multimedia1/Videos/temp/TheDissociatives-SomewhereDownTheBarrel.avi"
    ffmpeg version 2.8 Copyright (c) 2000-2015 the FFmpeg developers
    built with gcc 4.8 (SUSE Linux)
    configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64
    --incdir=/usr/include/ffmpeg --extra-cflags='-fmessage-length=0 -grecord-
    gcc-switches -fstack-protector -O2 -Wall -D_FORTIFY_SOURCE=2 -funwind-
    tables -fasynchronous-unwind-tables' --optflags='-fmessage-length=0
    -grecord-gcc-switches -fstack-protector -O2 -Wall -D_FORTIFY_SOURCE=2
    -funwind-tables -fasynchronous-unwind-tables' --enable-pic --disable-
    stripping --enable-shared --disable-static --enable-runtime-cpudetect
    --enable-gpl --disable-openssl --enable-avresample --enable-frei0r
    --enable-gnutls --enable-libbluray --enable-libcdio --enable-libdc1394
    --enable-libfreetype --enable-libgsm --enable-libopenjpeg --enable-libopus
    --enable-libpulse --enable-libschroedinger --enable-libspeex --enable-
    libtheora --enable-libvorbis --enable-libvpx --enable-pic --enable-
    pthreads --enable-vaapi --enable-vdpau --disable-encoders --disable-
    decoders --disable-muxers --disable-demuxers --enable-libschroedinger
    --enable-
    encoder=',012v,ansi,apng,bmp,flac,exr,ffv1,ffvhuff,gif,huffyuv,jpegls,libopenjpeg,libtheora,libvpx,pam,pbm,pcx,pgm,png,pgmyuv,ppm,sgi,sunrast,targa,tiff,v210,v308,v408,v410,webp,xbm,xwd,y41p,yuv4,celt,flac,ilbc,opus,pcm_alaw,pcm_bluray,pcm_dvd,pcm_f32be,pcm_f32le,pcm_f64be,pcm_f64le,pcm_mulaw,pcm_s16be,pcm_s16be_planer,pcm_s16le,pcm_s16le_planar,pcm_s24be,pcm_s24le,pcm_s24le_planar,pcm_s32be,pcm_s32le,pcm_s32le_planar,pcm_s8,pcm_s8_planar,pcm_u16be,pcm_u16le,pcm_u24be,pcm_u24le,pcm_u32be,pcm_u32le,pcm_u8,speex,libvorbis'
    --enable-
    decoder=',012v,ansi,apng,bmp,flac,exr,ffv1,ffvhuff,gif,huffyuv,jpegls,libopenjpeg,libtheora,libvpx,pam,pbm,pcx,pgm,png,pgmyuv,ppm,sgi,sunrast,targa,tiff,v210,v308,v408,v410,webp,xbm,xwd,y41p,yuv4,celt,flac,ilbc,opus,pcm_alaw,pcm_bluray,pcm_dvd,pcm_f32be,pcm_f32le,pcm_f64be,pcm_f64le,pcm_mulaw,pcm_s16be,pcm_s16be_planer,pcm_s16le,pcm_s16le_planar,pcm_s24be,pcm_s24le,pcm_s24le_planar,pcm_s32be,pcm_s32le,pcm_s32le_planar,pcm_s8,pcm_s8_planar,pcm_u16be,pcm_u16le,pcm_u24be,pcm_u24le,pcm_u32be,pcm_u32le,pcm_u8,speex,ljpeg,v210x,vorbis,vp3,vp5,vp6,vp6a,vp6f,vp8,vp9,otf,ttf,ass,srt,ssa,text'
    --enable-
    muxer='flac,gif,image2,image2pipe,matroska,matroska_audio,null,webm'
    --enable-demuxer='flac,gif,image2,image2pipe,matroska' --enable-x11grab
    libavutil 54. 31.100 / 54. 31.100
    libavcodec 56. 60.100 / 56. 60.100
    libavformat 56. 40.101 / 56. 40.101
    libavdevice 56. 4.100 / 56. 4.100
    libavfilter 5. 40.101 / 5. 40.101
    libavresample 2. 1. 0 / 2. 1. 0
    libswscale 3. 1.101 / 3. 1.101
    libswresample 1. 2.101 / 1. 2.101
    libpostproc 53. 3.100 / 53. 3.100
    /multimedia1/Videos/temp/TheDissociatives-SomewhereDownTheBarrel.mpg:
    Invalid data found when processing input

  2. #2
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: converting videos/audio with ffmpeg/winff

    On 2015-09-15 21:56, jsbjsb001 wrote:
    >
    > I have been trying to convert a mpg video with ffmpeg/winff and I keep
    > getting the "Invalid data found when processing input" error message. I
    > have tryed ffmpeg from packman as well as the opensuse repo's and get
    > the same error message. I have tryed using just ffmpeg at the terminal
    > without using winff as well. It does not matter if it's a video or just
    > an audio file ffmpeg gives me the same error message. The video I'm
    > trying to convert from mpg to avi is playable and same with the audio
    > files I've tryed to convert (as a test of ffmpeg), I have never had this
    > problem with ffmpeg before.


    Does it happen with any video you try?
    If it worked in the past, and you still have those files you processed,
    try with them.


    > /multimedia1/Videos/temp/TheDissociatives-SomewhereDownTheBarrel.mpg:
    > Invalid data found when processing input


    It seems not to like the input file.

    --
    Cheers / Saludos,

    Carlos E. R.

    (from 13.1 x86_64 "Bottle" (Minas Tirith))

  3. #3
    Join Date
    Mar 2009
    Location
    Adelaide, Australia
    Posts
    62

    Default Re: converting videos/audio with ffmpeg/winff

    Quote Originally Posted by robin_listas View Post
    On 2015-09-15 21:56, jsbjsb001 wrote:
    >
    > I have been trying to convert a mpg video with ffmpeg/winff and I keep
    > getting the "Invalid data found when processing input" error message. I
    > have tryed ffmpeg from packman as well as the opensuse repo's and get
    > the same error message. I have tryed using just ffmpeg at the terminal
    > without using winff as well. It does not matter if it's a video or just
    > an audio file ffmpeg gives me the same error message. The video I'm
    > trying to convert from mpg to avi is playable and same with the audio
    > files I've tryed to convert (as a test of ffmpeg), I have never had this
    > problem with ffmpeg before.


    Does it happen with any video you try?
    If it worked in the past, and you still have those files you processed,
    try with them.


    > /multimedia1/Videos/temp/TheDissociatives-SomewhereDownTheBarrel.mpg:
    > Invalid data found when processing input


    It seems not to like the input file.

    --
    Cheers / Saludos,

    Carlos E. R.

    (from 13.1 x86_64 "Bottle" (Minas Tirith))
    I have reinstalled ffmpeg from packman repo and it works now, it was not using the right avcodecs lib's/ffmpeg program. But thanks for your help all the same.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •