LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   FFMPEG - test.mp4: unknown format (https://www.linuxquestions.org/questions/linux-software-2/ffmpeg-test-mp4-unknown-format-769312/)

kingkashif 11-15-2009 12:42 PM

FFMPEG - test.mp4: unknown format
 
Hello all,

Well i've installed ffmpeg and it's working quite well
but whenever i try to convert mp4 to flv then i get
following error.

Quote:

FFmpeg version SVN-r14473, Copyright (c) 2000-2008 Fabrice Bellard, et al.
configuration: --prefix=/usr/local/ffmpeg --enable-shared --enable-nonfree --enable-gpl --enable-pthreads --enable-liba52 --enable-libamr-nb --enable-libamr-wb --enable-libfaac --enable-libfaad --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --extra-cflags=-I/usr/local/ffmpeg/include/ --extra-ldflags=-L/usr/local/ffmpeg/lib --enable-cross-compile
libavutil version: 49.7.0
libavcodec version: 51.62.0
libavformat version: 52.18.0
libavdevice version: 52.0.0
built on Sep 26 2009 20:50:46, gcc: 4.1.2 20080704 (Red Hat 4.1.2-44)
test.mp4: Unknown format
what could be the problem here?

Any help will be greatly appreciated.. :)

Thanks

unSpawn 11-15-2009 05:04 PM

Did you use something like 'ffmpeg -i test.mp4 -vcodec flv test.flv'? You didn't post your actual commandline. What does 'mediainfo' say about your "test.mp4"?

kingkashif 11-16-2009 02:02 PM

"ffmpeg -i test.mp4 -vcodec flv test.flv" gives same output that I wrote first.

and "mediainfo -f test.mp4" gives following

Quote:

General
Count : 259
Count of stream of this kind : 1
Kind of stream : General
Kind of stream : General
Stream identifier : 0
Complete name : test.mp4
File name : test.mp4
File extension : mp4
File size : 387404578
File size : 369 MiB
File size : 369 MiB
File size : 369 MiB
File size : 369 MiB
File size : 369.5 MiB
Stream size : 387404578
Stream size : 369 MiB
Stream size : 369 MiB
Stream size : 369 MiB
Stream size : 369 MiB
Stream size : 369.5 MiB
File last modification date : UTC 2009-11-16 15:58:27
File last modification date (loc : 2009-11-16 09:58:27
any idea ?

rc nai 11-16-2009 04:05 PM

Can you post the output of:
Code:

ffmpeg -i test.mp4
Maybe this can give us some ideas.

kingkashif 11-17-2009 08:11 AM

well the error I wrote in the main thread .. That's exactly I get.


All times are GMT -5. The time now is 07:38 PM.