Recherche avancée

Médias (1)

Mot : - Tags -/bug

Autres articles (59)

  • Contribute to documentation

    13 avril 2011

    Documentation is vital to the development of improved technical capabilities.
    MediaSPIP welcomes documentation by users as well as developers - including : critique of existing features and functions articles contributed by developers, administrators, content producers and editors screenshots to illustrate the above translations of existing documentation into other languages
    To contribute, register to the project users’ mailing (...)

  • Contribute to a better visual interface

    13 avril 2011

    MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
    Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community.

  • Contribute to translation

    13 avril 2011

    You can help us to improve the language used in the software interface to make MediaSPIP more accessible and user-friendly. You can also translate the interface into any language that allows it to spread to new linguistic communities.
    To do this, we use the translation interface of SPIP where the all the language modules of MediaSPIP are available. Just subscribe to the mailing list and request further informantion on translation.
    MediaSPIP is currently available in French and English (...)

Sur d’autres sites (4156)

  • ffmpeg - transcoding.c - why the last packet is discard

    21 mai 2024, par itisyang

    Using ffmpeg examples transcoding.c. (https://github.com/FFmpeg/FFmpeg/blob/release/4.1/doc/examples/transcoding.c)

    


    This is read by ffprobe.exe (ffprobe.exe -i test.mp4 -show_packets)

    


    [PACKET]
codec_type=video
stream_index=0
pts=162000
pts_time=1.800000
dts=162000
dts_time=1.800000
duration=18000
duration_time=0.200000
size=238317
pos=2285176
flags=__
[/PACKET]
[PACKET]
codec_type=video
stream_index=0
pts=180000
pts_time=2.000000
dts=180000
dts_time=2.000000
duration=18000
duration_time=0.200000
size=24111
pos=2523493
flags=_D


    


    The ​last packet flags has AV_PKT_FLAG_DISCARD.

    


  • Android FFmpegMediaPlayer Error(0, 0) while playing it ?

    6 janvier 2017, par Jaydip Umaretiya

    I try to play Video with FFmpegMediaPlayer when I’m playing video I got Error(0,0) and for this I try FFmpegMediaPlayer for it. Here is my code.

    FFmpegMediaPlayer fFmpegMediaPlayer = new FFmpegMediaPlayer();
       try {
           fFmpegMediaPlayer.setAudioStreamType(AudioManager.STREAM_MUSIC);
           fFmpegMediaPlayer.setDataSource(videoPath);
           fFmpegMediaPlayer.prepareAsync();
       } catch (IllegalArgumentException | SecurityException | IllegalStateException | IOException e) {
           e.printStackTrace();
       }

    fFmpegMediaPlayer.setOnPreparedListener(new FFmpegMediaPlayer.OnPreparedListener() {

       @Override
       public void onPrepared(FFmpegMediaPlayer mp) {
           mp.start();
       }
    });

    fFmpegMediaPlayer.setOnErrorListener(new FFmpegMediaPlayer.OnErrorListener() {

       @Override
       public boolean onError(FFmpegMediaPlayer mp, int what, int extra) {
           mp.release();
           return false;
       }
    });

    Here is my Log

    I/AppCompatViewInflater: app:theme is now deprecated. Please move to using android:theme instead.
    V/FFmpegMediaPlayer-JNI: native_init
    V/FFmpegMediaPlayer-JNI: native_setup
    V/FFmpegMediaPlayer-JNI: setAudioStreamType: 3
    V/FFmpegMediaPlayer-JNI: setDataSource: path https://app.snapinfo.com/Areas/Museum/AppImages/SubCategory/290/11_14_16_13_21_39_Art%20Gallery%20Spheres-Mobile.mp4
    I/com.jagdeep.util.MyLifecycleHandler: still foreground
    E/EGL_emulation: tid 29418: eglSurfaceAttrib(1174): error 0x3009 (EGL_BAD_MATCH)
    W/OpenGLRenderer: Failed to set EGL_SWAP_BEHAVIOR on surface 0x7d55d5fcaf80, error=EGL_BAD_MATCH
    V/FFmpegMediaPlayer-JNI: notify: 100
    E/FFmpegMediaPlayer: Error (0,0)
    V/FFmpegMediaPlayer-JNI: release
  • FFMpeg on docker

    31 mai 2022, par user1765862

    I'm trying to run FFMpegCore library in the docker
Here is my Dockerfile

    


    FROM public.ecr.aws/lambda/dotnet:6 AS base

FROM mcr.microsoft.com/dotnet/sdk:6.0-bullseye-slim as build
WORKDIR /src
COPY ["AWSServerless.csproj", "AWSServerless/"]
RUN dotnet restore "AWSServerless/AWSServerless.csproj"

WORKDIR "/src/AWSServerless"
COPY . .
RUN dotnet build "AWSServerless.csproj" --configuration Release --output /app/build

FROM build AS publish

#fix for using System.Drawing.Common on docker
RUN apt-get update && apt-get install -y apt-utils libgdiplus libc6-dev

RUN apt-get install -y ffmpeg

RUN dotnet publish "AWSServerless.csproj" \
            --configuration Release \ 
            --runtime linux-x64 \
            --self-contained false \ 
            --output /app/publish \
            -p:PublishReadyToRun=true  

FROM base AS final
WORKDIR /var/task

CMD ["AWSServerless::AWSServerless.LambdaEntryPoint::FunctionHandlerAsync"]
COPY --from=publish /app/publish .


    


    When I try to use any of FFMpegCore commands I'm getting following error in the log

    


    


    System.ComponentModel.Win32Exception (2) : An error occurred trying to
start process 'ffmpeg' with working directory '/var/task'. No such
file or directory