Newest 'ffmpeg' Questions - Stack Overflow

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

Les articles publiés sur le site

  • QT/VLC/Browser differences between flipped video

    12 juillet 2013, par NotaBene

    This is a weird one. I'm converting video from .mov to streaming formats such as .mp4, .ogv, and .webm. No problems there, using ffmpeg and everything is going fine.

    The problem is that when opening the video in VLC, it's the right way up. When it's converted and viewed in the browser (from the server), it's upside down!

    Ok, so I flipped it using the -vf "hflip,vflip" option in ffmpeg. Uploaded again, and IT'S STILL FLIPPED! Huh? I cleared my cache too, no dice.

    I'm thinking there must be some flag somewhere that keeps it flipped based on the recording of the movie and the orientation. Can I remove that somehow?

  • Convert 3gpp to mp3 using ffmpeg [migrated]

    12 juillet 2013, par Anup Baldawa

    I am trying to convert a recorded file on an Android device using Phonegap from .3gpp to .mp3 using ffmpeg libary.

    When I execute the code on the command line for conversion,

    enter image description here

    I get following errors:

    enter image description here

    Can any one please help me with this as I am novice in media conversion.

  • How to remove ffmpeg metadata "software lavf55.7.100"

    12 juillet 2013, par user2454777

    I'm using ffmpeg to extract audio from video files, then process the audio and cut it into smaller clip. But when i use ffmpeg to do the extraction, it adds a metadata "software lavf55.7.100" into my audio file, which screws my indexing of cutting. How can i get rid of this?
    In attached picture, in the middle "Metadata: ISFT : Lavf55.7.100"
    The string that i'm using is: ffmpeg -i steve.mp4 -map_metadata -1 steve14.wav

    enter image description here

  • ffserver — live streaming to iOS, Android, Flash

    12 juillet 2013, par Stanislav Saranchin

    I'm creating live streaming transcoding from IPTV to Web into several formats like WebM, Flash, HLS using FFServer and FFMpeg at once.

    ffserver.conf located at http://pastebin.com/hUky5Jsh

    Translating of source-stream to FFServer:

    ffmpeg -i udp://239.192.192.1:1234 -s 560x320 http://localhost:8090/feed.ffm
    

    FFServer's logs showing next:

    Fri Jul 12 11:39:50 2013 127.0.0.1 - - New connection: GET /feed.ffm
    Fri Jul 12 11:39:50 2013 127.0.0.1 - - [GET] "/feed.ffm HTTP/1.1" 200 4175
    Fri Jul 12 11:39:50 2013 127.0.0.1 - - New connection: POST /feed.ffm
    Fri Jul 12 11:39:50 2013 Feed '/tmp/feed.ffm' stream number does not match registered feed
    Fri Jul 12 11:39:50 2013 127.0.0.1 - - [POST] "/feed.ffm HTTP/1.1" 200 4096
    

    My brain is very hot after googling solution on the Internet.


    FFServer:

    ffserver version N-37738-g15cee5e Copyright (c) 2000-2013 the FFmpeg developers
      built on Jul 11 2013 17:01:41 with gcc 4.7 (Ubuntu/Linaro 4.7.3-1ubuntu1)
      configuration: --prefix=/root/ffmpeg_build --extra-cflags=-I/root/ffmpeg_build/include --extra-ldflags=-L/root/ffmpeg_build/lib --bindir=/root/bin --extra-libs=-ldl --enable-gpl --enable-libass --enable-libfdk-aac --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-nonfree
    

    FFMpeg:

    ffmpeg version N-37738-g15cee5e Copyright (c) 2000-2013 the FFmpeg developers
    built on Jul 11 2013 17:01:41 with gcc 4.7 (Ubuntu/Linaro 4.7.3-1ubuntu1)
    configuration: --prefix=/root/ffmpeg_build --extra-cflags=-I/root/ffmpeg_build/include     --extra-ldflags=-L/root/ffmpeg_build/lib --bindir=/root/bin --extra-libs=-ldl --enable-gpl     --enable-libass --enable-libfdk-aac --enable-libmp3lame --enable-libopus --enable-libtheora     --enable-libvorbis --enable-libvpx --enable-libx264 --enable-nonfree
    

    Source-stream is:

    Input #0, mpegts, from 'udp://239.192.192.1:1234':
      Duration: N/A, start: 80091.027433, bitrate: 192 kb/s
      Program 702
        Stream #0:0[0x322]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p, 544x576 [SAR 32:17 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc
        Stream #0:1[0x386](rus): Audio: mp2 ([4][0][0][0] / 0x0004), 48000 Hz, stereo, s16p, 192 kb/s
    
  • how can i stop my ffmpeg re-stream from crashing [on hold]

    12 juillet 2013, par James Barnes

    How can I stop my ffmpeg re-stream from crashing

    I'm running the following command in a .BAT file:

    :loop

    ffmpeg -i "RTMP://IPADDRESS:1935/LIVE/STREAMNAME.STREAM pageUrl=http://URL.COM swfurl=http://domain.com/licensed/player-licensed.swf live=1" -isync -vcodec copy -b:v 400k -acodec copy -b:a 128000 -ar 32000 -f flv "rtmp://IP:1935/LIVE/CHANNELNAME"

    goto loop

    Is there anything wrong with this line of code other than than the links i put for demonstration purposes?

    As it keeps crashing something about DTS codec is crashing. Maybe I should use something other than "copy" for audio codec?

    Im not sure.

    Please advise.

    Thanks