[an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive]
 
[an error occurred while processing this directive] [an error occurred while processing this directive]
Skåne Sjælland Linux User Group - http://www.sslug.dk Home   Subscribe   Mail Archive   Forum   Calendar   Search
MhonArc Date: [Date Prev] [Date Index] [Date Next]   Thread: [Date Prev] [Thread Index] [Date Next]   MhonArc
 

Re: [TEKNIK] SOLVED Script virker pludselig ikke mere....



Hej igen.

Jeg holdt stædigt på at jeg ikke ville kompilere, jeg mente at det måtte kunne lade sig 
gøre uden.
Det holdt hårdt, men løsninger var faktisk ret simpel.

Ubuntu har, sikkert under en opdatering, skiftet "libavcodec-extra-53" ud med 
"libavcodec53".
Denne indeholder ikke libx264 men kun h264.
h264 kan kun decode.

:-)
Danjel

On 9 Sep 2014 at 13:35, Doc Nielsen wrote:

> hej Danjel
> Jeg havde samme problem for nogle måneder siden, og har i stedet for
> at kæmpe mod strømmen, compilet min egen version af ffmpeg, libx264
> og libfaac, så jeg kan (ned)konvertere mkv til mp4 filer.
> 
> Måske mangler du -c:v libx264 ? eller -vc libx264 ? Jeg kan ikke helt
> huske avconv syntax
> 
> 2014-09-05 12:13 GMT+02:00 Jungersen, Danjel - Jungersen Grafisk ApS
> <sslug@sslug>: > Hejsa. > > Jeg har lavet følgende lille
> script til at konvertere .mov filer til de 3 nødvendige for at lave >
> html5 videoer (ogv, mp4 og webm). > > Jeg har konverteret 100-vis af
> videoer, og det virker perfekt. > Ellere rettere, virkede. > >
> Scriptet: > ***************** > mkdir -p out > > for f in *.mov; > do
> > > # Section for converting to .ogv files > >
> FILE="out/${f%.mov}.ogv" > > if [ -f $FILE ]; > then >    echo "File
> $FILE exists, skipping .ogv conversion for this file." > else >   
> avconv -i $f out/${f%.mov}.ogv; > fi > > # Section for converting to
> .webm files > > FILE="out/${f%.mov}.webm" > > if [ -f $FILE ]; > then
> >    echo "File $FILE exists, skipping .webm conversion for this
> file." else >    avconv -i $f out/${f%.mov}.webm; > fi > > # Section
> for converting to .mp4 files > > FILE="out/${f%.mov}.mp4" > > if [ -f
> $FILE ]; > then >    echo "File $FILE exists, skipping .mp4 conversion
> for this file." > else >    avconv -i $f out/${f%.mov}.mp4; > fi > >
> done > ************************ > Jeg skrulle konvertere en stak igen
> i går, men fik at vide at avconv ikke var tilgængelig... > Jeg har
> opdateret systemet (kubuntu 12.04), men ikke til ny version. > > Efter
> lidt graven, fandt jeg ud af at jeg skulle bruge libav-tools. > Den
> installerede jeg. > Så virkede de 2 af filtyperne. > mp4-erne spytter
> denne fejl ud, og producerer ubrugelige filer på 0 byte > > Output: >
> ********************* > avconv version
> 0.8.15-4:0.8.15-0ubuntu0.12.04.1, Copyright (c) 2000-2014 > the Libav
> developers >   built on Aug 10 2014 18:16:51 with gcc 4.6.3 > Input
> #0, mov,mp4,m4a,3gp,3g2,mj2, from 'Tek1Var1.mov': >   Metadata: >    
> creation_time   : 2001-08-16 00:47:34 >   Duration: 00:00:04.80,
> start: 0.000000, bitrate: 2829 kb/s >     Stream #0.0(eng): Video:
> cinepak, yuv420p, 320x240, 2473 kb/s, PAR 1:1 >     DAR > 4:3, 25 fps,
> 25 tbr, 25 tbn, 25 tbc >     Metadata: >       creation_time   :
> 2001-08-16 00:47:34 >     Stream #0.1(eng): Audio: pcm_s16be, 22050
> Hz, 1 channels, s16, 352 >     kb/s Metadata: >       creation_time  
> : 2001-08-16 00:47:34 > [buffer @ 0xd4a560] w:320 h:240 pixfmt:yuv420p
> > [aac @ 0xd4fbc0] Too many bits per frame requested > Output #0, mp4,
> to 'out/Tek1Var1.mp4': >   Metadata: >     creation_time   :
> 2001-08-16 00:47:34 >     Stream #0.0(eng): Video: mpeg4, yuv420p,
> 320x240 [PAR 1:1 DAR 4:3], > q=2-31, 200 kb/s, 90k tbn, 25 tbc >    
> Metadata: >       creation_time   : 2001-08-16 00:47:34 >     Stream
> #0.1(eng): Audio: aac, 22050 Hz, 1 channels, s16, 200 kb/s >    
> Metadata: >       creation_time   : 2001-08-16 00:47:34 > Stream
> mapping: >   Stream #0:0 -> #0:0 (cinepak -> mpeg4) >   Stream #0:1 ->
> #0:1 (pcm_s16be -> aac) > Error while opening encoder for output
> stream #0:1 - maybe incorrect > parameters such as bit_rate, rate,
> width or height > *************************' > > Jeg har med vilje
> ikke defineret bitrate m.m., da det kun skal være en filformat >
> konvertering, alle andre ting skal forblive som de er. > Så vidt jeg
> kan læse mig til bruger den "source" hvis jeg ikke definerer noget,
> og det har > virket perfekt tidligere. > > Er der måske en anden
> lille stump der er forsvundet i forbindelse med en opdatering, som >
> jeg ikke lige kan gennemskue?? > Eller andre forslag? > > De venligste
> hilsener > Danjel > >
> 
> 
> 
> -- 
> No trees were killed in the sending of this message
> However, a large number of electrons were terribly inconvenienced.




 
Home   Subscribe   Mail Archive   Index   Calendar   Search

 
 
Questions about the web-pages to <www_admin>. Last modified 2014-10-01, 02:05 CEST [an error occurred while processing this directive]
This page is maintained by [an error occurred while processing this directive]MHonArc [an error occurred while processing this directive] # [an error occurred while processing this directive] *