![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 850 Pomógł: 120 Dołączył: 15.02.2007 Skąd: Łódź Ostrzeżenie: (10%) ![]() ![]() |
Korzystając z konsoli SSH chciałbym przekonwertowac filmy z avi do flv.
Przy mniejszych filmach jest dobrze ale przy większych filmikach jest już probleem: Could not write header for output file #0 (incorrect codec parameters ?) Kod DiskStation> /usr/syno/bin/ffmpeg -i c.avi -f flv -vcodec flv c.flv FFmpeg version SVN-r20167-snapshot, Copyright (c) 2000-2009 Fabrice Bellard, et al. built on May 8 2010 00:09:44 with gcc 4.2.1 configuration: --arch=i686 --cross-prefix=/usr/local/i686-linux-gnu/bin/i686-linux-gnu- --extra-cflags= --enable-cross-compile --enable-shared --disable-static --disable-network --disable-devices --disable-filters --disable-swscale-alpha --disable-altivec --disable-ffserver --disable-ffplay --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-version3 --enable-optimizations --disable-armvfp --disable-armv5te libavutil 50. 3. 0 / 50. 3. 0 libavcodec 52.36. 0 / 52.36. 0 libavformat 52.39. 0 / 52.39. 0 libavdevice 52. 2. 0 / 52. 2. 0 libswscale 0. 7. 1 / 0. 7. 1 [NULL @ 0x8072710]Invalid and inefficient vfw-avi packed B frames detected Input #0, avi, from 'c.avi': Duration: 01:39:54.24, start: 0.000000, bitrate: 979 kb/s Stream #0.0: Video: mpeg4, yuv420p, 640x272 [PAR 1:1 DAR 40:17], 25 tbr, 25 tbn, 25 tbc Stream #0.1: Audio: mp3, 48000 Hz, 2 channels, s16, 123 kb/s File 'c.flv' already exists. Overwrite ? [y/N] y [libmp3lame @ 0x8074fa0]flv does not support that sample rate, choose from (44100, 22050, 11025). Output #0, flv, to 'c.flv': Stream #0.0: Video: flv, yuv420p, 640x272 [PAR 1:1 DAR 40:17], q=2-31, 512 kb/s, 1k tbn, 30 tbc Stream #0.1: Audio: libmp3lame, 48000 Hz, 2 channels, s16, 64 kb/s Stream mapping: Stream #0.0 -> #0.0 Stream #0.1 -> #0.1 Could not write header for output file #0 (incorrect codec parameters ?) Ma ktoś może większe doświadczenie i mi pomoże z tym? |
|
|
![]() |
![]()
Post
#2
|
|
Grupa: Zarejestrowani Postów: 850 Pomógł: 120 Dołączył: 15.02.2007 Skąd: Łódź Ostrzeżenie: (10%) ![]() ![]() |
Kod [code]Chciałem zainstalować sobie jeszcze raz ffmpeg. Pobrałem ze strony internetowej i umieściłem na dysku. Niestety dostaje taki błąd: [code] DiskStation> ./configure --enable-libmp3lame --enable-libvorbis --disable-mmx --enable-shared --enable-libamr-nb --enable-libamr-wb --enable-nonfree --enable-libtheora -ash: ./configure: Permission denied Dzięki Jabol spróbowałbym tak ale póki co nadal mi nie działa to polecenie. Kod DiskStation> /usr/syno/bin/ffmpeg -i c.avi -f flv -vcodec flv c.flv DiskStation> Pisze też na forum tego urządzenia ale tam niestety nie odpowiadają. Ok wycofuje tym razem pomogli. Nie ustawiłem po prosty chmod ale ... problem teraz taki Kod DiskStation> ./configure --enable-libmp3lame --enable-libvorbis --disable-mmx --enable-shared --enable-libamr-nb --enable-libamr-wb --enable-nonfree --enable-libtheora ./configure: ./configure: 1186: tr: not found Unknown C compiler gcc ./configure: ./configure: 1408: pr: not found gcc is unable to create an executable file. If gcc is a cross-compiler, use the --enable-cross-compile option. Only do this if you know what cross compiling means. C compiler test failed. If you think configure made a mistake, make sure you are using the latest version from SVN. If the latest version fails, report the problem to the ffmpeg-user@mplayerhq.hu mailing list or IRC #ffmpeg on irc.freenode.net. Include the log file "config.err" produced by configure as this will help solving the problem. Dowiedziałęm się czemu instalacja żadna nie szła. Nie miałem zainstalowanego bootstrapa. Teraz tylko ten ffmpeg.... Ten post edytował Lion_87 2.07.2010, 09:26:00 |
|
|
![]() ![]() |
![]() |
Aktualny czas: 18.10.2025 - 02:07 |