Newest 'ffmpeg' Questions - Stack Overflow

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

Les articles publiés sur le site

  • How to populate avcC box when encoding fmp4 file with H264 data ?

    3 janvier 2019, par YuanDa.Yu

    my h264 frame just have I/P frame.

    The avcC box I filled in is as follows, but it cannot play with the VLC player (the timestamp runs but there is no image).

    AVC Decoder Configuration Record :

    Start offset 511 (0X000001FF)

    Box size 39 (0X00000027)

    Box type avcC (0X61766343)

    Detailed-Information :

    Configuration version 1 (0X00000001)

    AVC profile indication Main = 77 (0X0000004D)

    AVC profile compatibility 0 (0X00000000)

    AVC level indication 42 (0X0000002A)

    NAL Unit length size 3 (0X00000003)

    Num sequence parameter sets 1 (0X00000001)

    Sequence parameter set (0) 0x67 0x4d 0x00 0x2a 0x96 0x35 0xc0 0xf0 0x04 0x4f 0xcb 0x37 0x01 0x01 0x01 0x02

    Num picture parameter sets 1 (0X00000001)

    Picture parameter set (0) 0x68 0xee 0x3c 0x80

    H264 IDR FRAME( SPS PPS SEI):

    unsigned char IDR_NALU[] = { 0x00,0x00,0x00,0x01, 0x67,0x4D,0x00,0x2A, 0x96,0x35,0xC0,0xF0, 0x04,0x4F,0xCB,0x37, 0x01,0x01,0x01,0x02, 0x00,0x00,0x00,0x01, 0x68,0xEE,0x3C,0x80, 0x00,0x00,0x00,0x01, 0x06,0xE5,0x01,0x2E, 0x80/I frame data is omitted/ };

    I think my avcC box is wrongly filled, but I don't know how to fill it correctly. Which master can help me

  • libavcodec 56 not found even though it is installed

    3 janvier 2019, par hegerber

    I keep getting this error message when I try to compile an Intel OpenVino project in Ubuntu 18.04: warning: libavcodec-ffmpeg.so.56, needed by /opt/intel/computer_vision_sdk_2018.3.343/opencv/lib/libopencv_videoio.so.3.4.3, not found

    I also get similar error messages for: libavformat-ffmpeg.so.56, libavutil-ffmpeg.so.54, and libswscale-ffmpeg.so.3.

    However, when I type ffmpeg in the terminal, I get:

    ffmpeg version 2.7.7 Copyright (c) 2000-2016 the FFmpeg developers built with gcc 7 (Ubuntu 7.3.0-27ubuntu1~18.04) configuration:
        libavutil 54. 27.100 / 54. 27.100
        libavcodec 56. 41.100 / 56. 41.100
        libavformat 56. 36.100 / 56. 36.100
        libavdevice 56. 4.100 / 56. 4.100
        libavfilter 5. 16.101 / 5. 16.101
        libswscale 3. 1.101 / 3. 1.101
        libswresample 1. 2.100 / 1. 2.100 Hyper fast Audio and Video encoder
    

    I have all the correct versions. The ffmpeg is in /usr/local/bin. Why can't OpenVino see it? Any advice will be appreciated, thanks in advance!

    Here's the project I'm trying to compile: https://github.com/intel-iot-devkit/intruder-detector

  • ffmpeg, how to concat two streams, one with and one without audio

    3 janvier 2019, par chasep255

    I have one clip filmed at 240 FPS. I want to slow it down 8x and concat the slow motion version of it to the fast version. The fast version has audio but the slow does not. When I open the finished movie using totem in Ubuntu I get no sound. However, the sound appears to be correct when I use VLC. I think this is an issue with the sound not being the same length as the final movie. I think I somehow need to pad the sound to the length of the final movie. Anyone know how to pad the audio or a better way to do this?

    ffmpeg -hwaccel cuda -i GX010071_1.MP4 -filter_complex "[0:v]setpts=8*PTS[s];[0:v]framerate=30[f]; [f] [s] concat=n=2 [c]" -map '[c]' -map 0:a -c:v hevc_nvenc SLOW.MP4
    
  • How to make doppler effect on audio with ffmpeg [duplicate]

    3 janvier 2019, par Adam Estel

    This question already has an answer here:

    How can i make the doppler effect on audio with ffmpeg.I mean: Sound run from left to right and opposite, just like this video: https://www.youtube.com/watch?v=j35K4QC_9bM I research ffmpeg for a while but I can't firgure the audio filter i can start with Thank you for helping me Have a nice day.

  • How to stream Windows desktop audio as RTSP/HTTP with ffmpeg ?

    3 janvier 2019, par Valya

    I'd love to stream desktop audio so I could listen to it in AIMP Android app. The app understands "http" links and I could successfully stream it with VLC HTTP streaming, however I could not get latency lower than 3 seconds.

    How can I do the same thing with ffmpeg with lowest latency possible?