VideoHelp Forum




+ Reply to Thread
Results 1 to 5 of 5
  1. Member
    Join Date
    Oct 2006
    Location
    United States
    Search Comp PM
    NO SOUND

    I'M USING
    /usr/bin/ffmpeg -i input.divx -y -f flv -ar 22050 -ac 1 -acodec mp3 videos/movie.flv"

    OUTPUT:
    Array ( [0] => Input #0, avi, from 'videos/815276375.divx': [1] => Duration: 00:00:05.0, start: 0.000000, bitrate: 756 kb/s [2] => Stream #0.0: Video: mpeg4, 320x240, 25.00 fps [3] => Stream #0.1: Audio: mp3, 24000 Hz, stereo, 64 kb/s [4] => Output #0, flv, to 'videos/815276375.flv': [5] => Stream #0.0: Video: flv, 320x240, 25.00 fps, q=2-31, 200 kb/s [6] => Stream #0.1: Audio: mp3, 22050 Hz, mono, 64 kb/s [7] => Stream mapping: [8] => Stream #0.0 -> #0.0 [9] => Stream #0.1 -> #0.1 [10] => Press [q] to stop encoding [11] => frame= 83 q=0.0 size= 249kB time=3.3 bitrate= 615.1kbits/s frame= 125 q=0.0 Lsize= 333kB time=5.0 bitrate= 546.2kbits/s [12] => video:289kB audio:40kB global headers:0kB muxing overhead 1.521807% [13] => ffmpeg version 0.4.9-pre1, build 4730, Copyright (c) 2000-2004 Fabrice Bellard [14] => configuration: --host=i686-pc-linux-gnu --build=i686-pc-linux-gnu --target=i386-redhat-linux --program-prefix= --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/usr/com --mandir=/usr/share/man --infodir=/usr/share/info --extra-cflags=-O2 -march=i386 -mcpu=i686 --enable-mp3lame --enable-vorbis --enable-faad --enable-faac --enable-xvid --enable-pp --enable-shared-pp --enable-shared --enable-gpl --disable-strip [15] => built on Jan 15 2005 15:04:50, gcc: 3.3.2 20031022 (Red Hat Linux 3.3.2-1) )
    Quote Quote  
  2. Member steveryan's Avatar
    Join Date
    Jan 2003
    Location
    Manchester
    Search Comp PM
    This is just a guess - have you tried changing the .divx extension to .avi?
    He's a liar and a murderer, and I say that with all due respect.
    Quote Quote  
  3. Member
    Join Date
    Dec 2004
    Location
    Australia
    Search Comp PM
    ffmpeg shouldn't care, esp. not under linux. Since divx is supposed to be backwards compatible with avi, I am not sure what is going on. Don't have any divx files here either. What features does the file use anyway? Subs? Tags? Menu?
    Quote Quote  
  4. Member
    Join Date
    Oct 2006
    Location
    United States
    Search Comp PM
    This file doesn't use any of the special .divx features. I just wanted to test (i'm running ffmpeg from a PHP call via user-video-upload script). I obviously need to be able to handle .divx. I made the file in Dr. Divx (which is free) if you want to give it a go. I would be INCREDIBLY grateful.
    Quote Quote  
  5. Member
    Join Date
    Oct 2006
    Location
    United States
    Search Comp PM
    Got it, but now I don't have any sound.
    i'm using
    /usr/bin/ffmpeg -i input.divx -y -f flv -ar 22050 -ac 1 -acodec mp3 videos/movie.flv"

    OUTPUT:
    Array ( [0] => Input #0, avi, from 'videos/815276375.divx': [1] => Duration: 00:00:05.0, start: 0.000000, bitrate: 756 kb/s [2] => Stream #0.0: Video: mpeg4, 320x240, 25.00 fps [3] => Stream #0.1: Audio: mp3, 24000 Hz, stereo, 64 kb/s [4] => Output #0, flv, to 'videos/815276375.flv': [5] => Stream #0.0: Video: flv, 320x240, 25.00 fps, q=2-31, 200 kb/s [6] => Stream #0.1: Audio: mp3, 22050 Hz, mono, 64 kb/s [7] => Stream mapping: [8] => Stream #0.0 -> #0.0 [9] => Stream #0.1 -> #0.1 [10] => Press [q] to stop encoding [11] => frame= 83 q=0.0 size= 249kB time=3.3 bitrate= 615.1kbits/s frame= 125 q=0.0 Lsize= 333kB time=5.0 bitrate= 546.2kbits/s [12] => video:289kB audio:40kB global headers:0kB muxing overhead 1.521807% [13] => ffmpeg version 0.4.9-pre1, build 4730, Copyright (c) 2000-2004 Fabrice Bellard [14] => configuration: --host=i686-pc-linux-gnu --build=i686-pc-linux-gnu --target=i386-redhat-linux --program-prefix= --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/usr/com --mandir=/usr/share/man --infodir=/usr/share/info --extra-cflags=-O2 -march=i386 -mcpu=i686 --enable-mp3lame --enable-vorbis --enable-faad --enable-faac --enable-xvid --enable-pp --enable-shared-pp --enable-shared --enable-gpl --disable-strip [15] => built on Jan 15 2005 15:04:50, gcc: 3.3.2 20031022 (Red Hat Linux 3.3.2-1) )
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!