Hi

I am trying to compile ffmpeg libraries for my arm926ejs in my ST
nomadik processor.

I made a recording of 8 seconds on the processor via its internal
audio accelerator (SAA). The output file is encoded in a AAC ADTS
format and can be played as is, with vlc.

I downloaded the latest ffmpeg via svn and made two instances of it
called ffmpeg_pc and ffmpeg_arm. I configured and ran make in both
directories but obviously I used a cross compiler for the arm. My
configuration command is: "./configure
--cross-prefix=arm-926ejs-linux-gnueabi- --enable-cross-compile
--enable-nonfree --enable-libfaac
--extra-ldflags=-L../faac_arm/libfaac/.libs/
--extra-cflags=-I../faac_arm/include --arch=arm --cpu=armv5te".

On my PC i ran the follwowing command line: "./ffmpeg -i raw_adts.aac
-f mp4 -acodec copy out-pc.mp4", only to contain the aac input file in
a mpeg4 container, and it works. But if I run the same command on my
arm platform using a nfs "./ffmpeg -i raw_adts.aac -f mp4 -acodec copy
out-arm.mp4" it generate the file but when I play it back via vlc
there is no audio. I checked the file via a hex-viewer and 90% of the
file is a true copy to the one converted on my PC, it is just the last
party that differ.

How can I get this working on the arm platform? I already wrote an
application using the ffmpeg libraries to make a recording of video
and audio based on the output-example.c, the video works fine but I
get the same audio problem. So I figured if I can get the command-line
ffmpeg to work I should get my app to work.

Please any help would be greatly appreciated!!! I can send you my
sample audio file. Below is the output of "./ffmpeg -v 9 -loglevel
99/ffplay":

FFmpeg version SVN-r20073, Copyright (c) 2000-2009 Fabrice Bellard, et al.
  built on Sep 29 2009 11:21:37 with gcc 4.1.1
(STMicroelectronics/Linux Base 4.1.1-27)
  configuration: --cross-prefix=arm-926ejs-linux-gnueabi-
--enable-cross-compile --enable-nonfree --enable-libfaac
--extra-ldflags=-L../faac_arm/libfaac/.libs/
--extra-cflags=-I../faac_arm/include --arch=arm --disable-armvfp
--cpu=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
Invalid loglevel "99/ffplay". Possible levels are numbers or:
"quiet"
"panic"
"fatal"
"error"
"warning"
"info"
"verbose"
"debug"

-- 
Thanks
Jeff Shemmans
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to