Newest 'ffmpeg' Questions - Stack Overflow

http://stackoverflow.com/questions/tagged/ffmpeg

Les articles publiés sur le site

  • ffmpeg : Endianness of audio samples

    19 octobre 2016, par PookyFan

    I use ffmpeg's avcodec to retrieve raw audio samples from music files in my c++ application. For files I test it on it appears that these files samples' endianness is little-endian, but I wonder if that will be always true for all files I'd try to decode (i.e. that comes from ffmpeg's implementation or at least it's architecture-specific since mine computer's architecture uses little endian). If not, I assume it would depend on particular file's encoding format. In that case how can I check which endianess applies for each file I'm decoding? I can't find any relevant information in the docs.

  • FFMPEG moov atom not found Invalid data found when processing input

    19 octobre 2016, par Mohit

    i am using FFMPEG and i got struct in this error can anyone help me to fix this issue,

    moov atom not found /storage/emulated/0/videokit/VID_20161019_121308.mp4: Invalid data found when processing input

  • issue with ffmpeg split mp3 file into ts file(s)

    19 octobre 2016, par KenKenKen

    So I'm trying to split the mp3 file I have into .ts files using ffmpeg. Here's the command I'm using:

    ffmpeg -i test.mp3 o1.ts
    

    The test.mp3 is a 28 seconds long audio. Then I created a m3u8 file, output.m3u8, with the following content:

    #EXTM3U
    #EXT-X-TARGETDURATION:30
    
    #EXTINF:28.000,
    http://localhost:8000/o1.ts
    

    Here's the folder structure folder structure

    Then from command I started a local http server to serve these files

    python -m SimpleHTTPServer 8000
    

    I entered http://localhost:8000/output.m3u8 into the vlc player, but it doesn't play it. So what's the problem with my steps here?

    Thanks

  • How to use AMF(AMD SDK) with FFMPEG ?

    19 octobre 2016, par Vic

    I find AMF is not based on FFMPEG, after reserch. And some guys said could use integrating DXVA, But how does the detail way work out? Any answer is appreciated!

  • ffmpeg : Very High Frame Rate Values with -r option

    19 octobre 2016, par HewwoCraziness

    Please don't mark this as a duplicate just because it mentions "ffmpeg frame rate". My question is not just a simple "How do I set the frame rate?"

    I have set the output framerate of my video to a standard 30fps using the -r option, however, FFMPEG's output values are closer to 250 for some reason.

    Here's my syntax: ffmpeg.exe -y -i "C:\some\long\path.mp4" -f mp4 -r "30" -vcodec libx264 -preset slow -filter:v scale=320:240 -b:v 1000k -aspect 16:9 -flags +loop -cmp chroma -b:v 1250k -maxrate 1500k -bufsize 4M -bt 256k -refs 1 -bf 3 -coder 1 -me_method umh -me_range 16 -subq 7 -partitions +parti4x4+parti8x8+partp8x8+partb8x8 -g 250 -keyint_min 25 -level 30 -qmin 10 -qmax 51 -qcomp 0.6 -trellis 2 -sc_threshold 40 -i_qfactor 0.71 -acodec libvo_aacenc -b:a 112k -ar 48000 -ac 2 "C:\some\long\path-output.mp4"

    Note the -r "30" on the first line.

    Thanks,

    HewwoCraziness